Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8356087

Problematic KeyInfo check using key algorithm in P11SecretKeyFactory class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • 25
    • security-libs

      Recent changes of JDK-8348732 introduces a regression below:

      Caused by: java.security.InvalidKeyException: Unknown algorithm HKDF-Salt
      at jdk.crypto.cryptoki/sun.security.pkcs11.P11SecretKeyFactory.convertKey(P11SecretKeyFactory.java:405)
      at jdk.crypto.cryptoki/sun.security.pkcs11.P11SecretKeyFactory.convertKey(P11SecretKeyFactory.java:385)
      at jdk.crypto.cryptoki/sun.security.pkcs11.P11Mac.engineInit(P11Mac.java:224)
      at java.base/javax.crypto.Mac.init(Mac.java:435)
      at java.base/sun.security.ssl.HKDF.extract(HKDF.java:90)

            valeriep Valerie Peng
            fguallini Fernando Guallini
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: