Bug 783007
Summary: | Un-deprecate previously deprecated methods in JSS 4.2.6 . . . | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Matthew Harmsen <mharmsen> | ||||||
Component: | jss | Assignee: | Matthew Harmsen <mharmsen> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 16 | CC: | alee, awnuk, cfu, edewata, jdennis, jmagne, kwright, mharmsen, nkinder, rmeggins, rrelyea | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | jss-4.2.6-24.fc17 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 797352 797353 (view as bug list) | Environment: | |||||||
Last Closed: | 2012-04-11 03:49:52 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 797352, 797353 | ||||||||
Attachments: |
|
Description
Matthew Harmsen
2012-01-19 03:41:28 UTC
Un-deprecate NSS classes that were originally deprecated in favor of JCA: ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/tests/SigTest.java ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/tests/all.pl (Add back the following test:) $testname = "Mozilla-JSS NSS Signature "; $command = "$java -cp $jss_classpath org.mozilla.jss.tests.SigTest $testdir $pwfile"; run_test($testname, $command); ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/KeyPairGenerator.java ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/JSSMessageDigest.java (CURRENTLY UNUSED?) ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/Signature.java ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/JSSSecureRandom.java (CURRENTLY UNUSED?) ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/KeyGenerator.java ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/KeyWrapper.java ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/Cipher.java Un-deprecate NSS methods that were originally deprecated in favor of JCA: ./jss-4.2.6/mozilla/security/jss/org/mozilla/jss/crypto/CryptoToken.java public abstract org.mozilla.jss.crypto.Signature getSignatureContext(SignatureAlgorithm algorithm) throws java.security.NoSuchAlgorithmException, TokenException; public abstract JSSMessageDigest getDigestContext(DigestAlgorithm algorithm) throws java.security.NoSuchAlgorithmException, DigestException; public abstract Cipher getCipherContext(EncryptionAlgorithm algorithm) throws java.security.NoSuchAlgorithmException, TokenException; public abstract KeyWrapper getKeyWrapper(KeyWrapAlgorithm algorithm) throws java.security.NoSuchAlgorithmException, TokenException; public abstract KeyGenerator getKeyGenerator(KeyGenAlgorithm algorithm) throws java.security.NoSuchAlgorithmException, TokenException; public SymmetricKey cloneKey(SymmetricKey key) throws SymmetricKey.NotExtractableException, InvalidKeyException, TokenException; public abstract KeyPairGenerator getKeyPairGenerator(KeyPairAlgorithm algorithm) throws java.security.NoSuchAlgorithmException, TokenException; This patch will include changes agreed to in Dogtag TRAC Ticket #109 (https://fedorahosted.org/pki/ticket/109). Created attachment 571869 [details]
Removal of JCA Deprecations from JSS
Previously, in 'Bugzilla Bug #804257 - Replace deprecated JSS method/class calls in PKI 'master' GIT repo . . .', it had been suggested to replace calls to 'BadPaddingException' with 'javax.crypto.BadPaddingException'. After further investigation, it appears that 'javax.crypto.BadPaddingException' is related to JCA, and subsequently, we have determined that this JSS class should be un-deprecated as well. Created attachment 574107 [details]
Removal of BadPaddingException Class Deprecation from JSS
jss-4.2.6-24.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/jss-4.2.6-24.fc15 jss-4.2.6-24.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/jss-4.2.6-24.fc16 jss-4.2.6-24.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/jss-4.2.6-24.fc17 Package jss-4.2.6-24.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing jss-4.2.6-24.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-5114/jss-4.2.6-24.fc17 then log in and leave karma (feedback). jss-4.2.6-24.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. jss-4.2.6-24.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. jss-4.2.6-24.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. jss-4.2.6-24.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. jss-4.2.6-24.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |