BSD Ports

security/p5-Crypt-DSA 1.24 OpenBSD

DSA signatures and key generation

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
7446cc1b1f
Categories
security, perl5

Description

Crypt::DSA is an implementation of the DSA (Digital Signature Algorithm) signature verification system. The implementation itself is pure Perl, although the heavy-duty mathematics underneath are provided by the Math::Pari library.

This package provides DSA signing, signature verification, and key generation.

It is deprecated.

In the other systems

SystemPortVersion
OpenBSDsecurity/p5-Crypt-DSA1.24
FreeBSDsecurity/p5-Crypt-DSA1.19
DragonFlysecurity/p5-Crypt-DSA1.19
HardenedBSDsecurity/p5-Crypt-DSA1.19
GhostBSDsecurity/p5-Crypt-DSA1.19

Install

Binary package:

pkg_add p5-Crypt-DSA

From the ports tree:

cd /usr/ports/security/p5-Crypt-DSA && make install

Dependencies

Build dependencies 3
Run dependencies 5

No port depends on this one.

Commit history 2

DateCommitCreditsLog message
7446cc1b1f bluhm update p5-Crypt-DSA to 1.24
8221602bf8 sthen update to p5-Crypt-DSA-1.22, fixes key generation issue with previous versions:
"Crypt::DSA::Util::makerandom forces the high bit of every value it returns to obtain an exactly N-bit integer for prime search. The signing nonce and the private key are drawn from makerandom. Because the high bit is always set, the result is not uniform: its top bit is fixed, producing insecure values." Keys used to sign with an affected version should be considered compromised and new keys should be generated.