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

PKCS#12 KeyStore support for RFC 9579: Use of Password-Based Message Authentication Code 1 (PBMAC1)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • 25
    • None
    • security-libs
    • None

      There is a new stronger MAC algorithm for PKCS#12 defined in RFC 9579: https://www.rfc-editor.org/rfc/rfc9579.html. We should add support for it to our PKCS#12 KeyStore implementation.

      There is also an Internet Draft that is close to finished that will obsolete it. It is actually just some DER encoding format changes to an RFC that was already published:

      https://datatracker.ietf.org/doc/draft-ietf-lamps-rfc9579bis/

      Quoting from that draft:

      9. Changes since RFC 9579

         This document changes the specified format of password passed to the
         key derivation function. Previously it was a BMPString, now it's
         declared as a UTF8String. It should be noted that the test vectors
         attached to [RFC9579] use UTF8String encoding. This resolves
         [Err7974].

            mpowers Mark Powers
            youlguo Youliang Guo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: