JDK-8285389 : EdDSA trimming zeros
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Affected Version: 17,18,19
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2022-04-21
  • Updated: 2022-08-04
  • Resolved: 2022-04-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 19
19 b20Fixed
Related Reports
Relates :  
Description
ed25519 and ed448 internally will trim extra zeros off the end of the signature before processing.  This can result in some verify testing failures which are strict about the signature length passed into the operation.
Comments
Changeset: 414918d9 Author: Anthony Scarpino <ascarpino@openjdk.org> Date: 2022-04-25 15:31:49 +0000 URL: https://git.openjdk.java.net/jdk/commit/414918d9113b447c9ae774cdfd087f1636b8e5a0
25-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/8372 Date: 2022-04-22 21:04:58 +0000
22-04-2022