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

    • Bug
    • Resolution: Not an Issue
    • P3
    • None
    • None
    • security-libs
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: