JDK-8244073 : Evaluate regression tests for removal of OracleUCrypto provider
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.security
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2020-04-29
  • Updated: 2020-05-05
  • Resolved: 2020-05-05
Description
JDK-8235769 will remove the OracleUCrypto provider. This task is created to evaluate impact on test coverage we have.

Evaluation will identify which tests can be safely removed but will also identify if any of those tests can be updated to test against other providers. It could be possible that a test scenario was added using OracleUCrypto provider but also applies to other providers.
Comments
Closing this task as the JEP implementation addressed test updates.
05-05-2020

Analysis from John: 1. The following files should be removed. com/oracle/security/ucrypto/ReadConfInUTF16Env.sh com/oracle/security/ucrypto/TestRSA.java com/oracle/security/ucrypto/TestAES.java com/oracle/security/ucrypto/TestMalformedRSA.java com/oracle/security/ucrypto/UcryptoTest.java com/oracle/security/ucrypto/TestDigest.java com/oracle/security/ucrypto/TestAlias.java com/oracle/security/ucrypto/TestGCMKeyAndIvCheck.java com/oracle/security/ucrypto/CipherSignNotSupported.java com/oracle/security/ucrypto/TestCICOWithGCMAndAAD.java com/oracle/security/ucrypto/TestGCMKeyWrap.java com/oracle/security/ucrypto/TestGCMWithSBE.java com/oracle/security/ucrypto/TestKATForGCM.java com/oracle/security/ucrypto/Test8004873.java com/oracle/security/ucrypto/TestCICOWithGCM.java com/oracle/security/ucrypto/ReadConfInUTF16Env.java 2. The following files should be updated to remove/reword Solaris/SunOS/Sparc/OracleUCrypto related test summary/comments/codes. com/sun/crypto/provider/Cipher/AEAD/GCMLargeDataKAT.java com/sun/crypto/provider/Mac/MacSameTest.java com/sun/security/auth/module/AllPlatforms.java com/sun/security/auth/login/ConfigFile/InconsistentError.java java/security/KeyPairGenerator/SolarisShortDSA.java java/security/KeyStore/TestKeyStoreBasic.java java/security/KeyStore/TestKeyStoreEntry.java java/security/SecureRandom/DefaultProvider.java java/security/Security/signedfirst/Static.sh java/security/Security/signedfirst/Dyn.sh java/security/Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh java/security/Security/ClassLoaderDeadlock/Deadlock.sh java/security/Provider/DefaultPKCS11.java java/security/MessageDigest/TestSameLength.java java/security/MessageDigest/TestSameValue.java java/security/MessageDigest/UnsupportedProvider.java java/security/MessageDigest/TestDigestIOStream.java java/security/MessageDigest/ThreadSafetyTest.java java/security/KeyRep/Serial.java java/security/KeyRep/SerialDSAPubKey.java javax/crypto/SecretKeyFactory/FailOverTest.sh javax/crypto/CryptoPermissions/TestExemption.sh javax/net/ssl/SSLEngine/FinishedPresent.java javax/net/ssl/templates/SSLEngineTemplate.java javax/security/auth/Subject/doAs/Test.sh jdk/security/JavaDotSecurity/raw_java_security jdk/security/JavaDotSecurity/ifdefs.sh jdk/security/JavaDotSecurity/final_java_security sun/security/ssl/SSLSocketImpl/NewSocketMethods.java sun/security/ssl/SSLSocketImpl/NotifyHandshakeTest.sh sun/security/ssl/EngineArgs/DebugReportsOneExtraByte.sh sun/security/tools/keytool/fakegen/DefaultSignatureAlgorithm.java sun/security/tools/keytool/fakegen/PSS.java sun/security/tools/keytool/KeyToolTest.java sun/security/util/Resources/Format.config sun/security/ec/TestEC.java sun/security/provider/KeyStore/DKSTest.sh sun/security/provider/PolicyFile/GrantAllPermToExtWhenNoPolicy.sh sun/security/provider/PolicyFile/getinstance/getinstance.sh sun/security/provider/PolicyParser/PrincipalExpansionError.java sun/security/provider/PolicyParser/PrincipalExpansionError.policy sun/security/provider/MessageDigest/TestSHAClone.java sun/security/smartcardio/TestConnect.java sun/security/smartcardio/README.txt sun/security/krb5/BadKdcDefaultValue.java sun/security/krb5/ccache/DefaultFile.java sun/security/krb5/auto/ReplayCacheTestProc.java sun/security/krb5/runNameEquals.sh sun/security/jca/PreferredProviderTest.java sun/security/jca/PreferredProviderNegativeTest.java sun/security/pkcs11/KeyGenerator/TestKeyGenerator.java sun/security/pkcs11/KeyStore/Basic.java sun/security/pkcs11/KeyStore/Basic.sh sun/security/pkcs11/KeyStore/ClientAuth.sh sun/security/pkcs11/KeyStore/Solaris.sh sun/security/pkcs11/KeyStore/Basic.policy sun/security/pkcs11/KeyStore/BasicData/p11-solaris.txt sun/security/pkcs11/KeyStore/BasicData/README sun/security/pkcs11/KeyStore/SecretKeysBasic.java sun/security/pkcs11/KeyStore/SecretKeysBasic.sh sun/security/pkcs11/Signature/TestDSA.java sun/security/pkcs11/Signature/TestDSAKeyLength.java sun/security/pkcs11/Signature/ReinitSignature.java sun/security/pkcs11/Signature/ByteBuffers.java sun/security/pkcs11/Signature/TestRSAKeyLength.java sun/security/pkcs11/Config/ReadConfInUTF16Env.java sun/security/pkcs11/rsa/TestCACerts.java sun/security/pkcs11/rsa/TestSignatures.java sun/security/pkcs11/ec/TestECDSA.java sun/security/pkcs11/ec/TestCurves.java sun/security/pkcs11/Cipher/TestGCMKeyAndIvCheck.java sun/security/pkcs11/Cipher/TestKATForGCM.java sun/security/pkcs11/Cipher/JNICheck.java sun/security/pkcs11/Provider/ConfigShortPath.java sun/security/pkcs11/Provider/Login.sh sun/security/pkcs11/Provider/ConfigQuotedString.sh sun/security/pkcs11/Provider/Absolute.cfg sun/security/pkcs11/Mac/MacSameTest.java sun/security/pkcs11/tls/TestPRF.java sun/security/pkcs11/tls/TestKeyMaterial.java sun/security/pkcs11/PKCS11Test.java sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java sun/security/pkcs/pkcs8/PKCS8Test.java
29-04-2020