Uploaded image for project: 'OpenJDK'
  1. OpenJDK
  2. OPENJDK-2135

Reanalyze import/export of cleartext keys from the NSS PKCS#11 software token in FIPS

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      This task is to find a solution to a group of downstream patches, identified as the patches that allow importing and exporting cleartext key from the NSS PKCS#11 software token.

      Even when other FIPS-certified libraries allow cleartext import/export of key material (see OpenSSL and Bouncy Castle PoCs in the comments), NSS' FIPS security policy seems to rely on this self-imposed restriction. This doesn't seem something easy to change, so, among the alternatives we considered, we are currently leaning towards re-implementing the importer/exporter code as part of a helper native library. This library would wrap around NSS, redirecting almost everything except the scenarios handled by the current Java importer/exporter.

      Every patch is listed as a sub-task, to be closed once we are able to remove this patch in a future OpenJDK 22 build, and in a OpenJDK 21 build assuming the work referred in this task is applicable. You can refer the full fips-21u-75ffdc48eda.patch list of included commits, which corresponds to java-21-openjdk-21.0.0.0.35-1.el8.

              fferrari@redhat.com Francisco Ferrari Bihurriet
              fferrari@redhat.com Francisco Ferrari Bihurriet
              Francisco Ferrari Bihurriet, Martin Balao Alonso
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: