NIXPKGS-2026-1925
GitHub issue
published 9 hours ago
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse accepted
- @LeSuisse published on GitHub
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery
Crypt::DSA versions before 1.21 for Perl reused the nonce across signatures, leading to private-key recovery. Crypt::DSA::sign caches the per-signature nonce material in the Key object without ever clearing it. The first sign() on a Key object picks a nonce, and every later sign() on that same object reuses it, producing an identical "r". Keys used to sign more than once with an affected version should be considered compromised.
References
Affected products
Crypt-DSA
- <1.21
Matching in nixpkgs
pkgs.perlPackages.CryptDSA
DSA Signatures and Key Generation
Package maintainers
-
@stigtsp Stig Palmquist <stig@stig.io>