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

EdDSA verification should fail when the default context value is different than used one.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: security-libs
    • Labels:
      None

      Description

      To reproduce:
      - Create EdDSAParameterSpec where context value is empty array.
      - Sign a message
      - Verify the message with the signature object with null context value used. The verification will success instead fail.

      Sample code attached to verify.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ascarpino Anthony Scarpino
              Reporter:
              ssahoo Sibabrata Sahoo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: