diff options
author | he <he@pkgsrc.org> | 2017-08-23 13:41:22 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2017-08-23 13:41:22 +0000 |
commit | 2a1e713a3b64b3d27141c935da753749cf95ed48 (patch) | |
tree | 5445c3ea54421fa8af50a8c5ccbc2ec0919d4a8e /security | |
parent | 441528cd426d67aa03c01fd28e20f780d56f1d1d (diff) | |
download | pkgsrc-2a1e713a3b64b3d27141c935da753749cf95ed48.tar.gz |
Add p5-Crypt-Curve25519 version 0.06.
Curve25519 is a state-of-the-art Diffie-Hellman function suitable
for a wide variety of applications.
Given a user's 32-byte secret key, Curve25519 computes the user's
32-byte public key. Given the user's 32-byte secret key and another
user's 32-byte public key, Curve25519 computes a 32-byte secret
shared by the two users. This secret can then be used to authenticate
and encrypt messages between the two users.
Diffstat (limited to 'security')
-rw-r--r-- | security/p5-Crypto-Curve25519/DESCR | 8 | ||||
-rw-r--r-- | security/p5-Crypto-Curve25519/Makefile | 25 | ||||
-rw-r--r-- | security/p5-Crypto-Curve25519/distinfo | 6 |
3 files changed, 39 insertions, 0 deletions
diff --git a/security/p5-Crypto-Curve25519/DESCR b/security/p5-Crypto-Curve25519/DESCR new file mode 100644 index 00000000000..bf3d4eee6a8 --- /dev/null +++ b/security/p5-Crypto-Curve25519/DESCR @@ -0,0 +1,8 @@ +Curve25519 is a state-of-the-art Diffie-Hellman function suitable +for a wide variety of applications. + +Given a user's 32-byte secret key, Curve25519 computes the user's +32-byte public key. Given the user's 32-byte secret key and another +user's 32-byte public key, Curve25519 computes a 32-byte secret +shared by the two users. This secret can then be used to authenticate +and encrypt messages between the two users. diff --git a/security/p5-Crypto-Curve25519/Makefile b/security/p5-Crypto-Curve25519/Makefile new file mode 100644 index 00000000000..ac14051ac9f --- /dev/null +++ b/security/p5-Crypto-Curve25519/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2017/08/23 13:41:22 he Exp $ + +DISTNAME= Crypt-Curve25519-0.06 +PKGNAME= p5-${DISTNAME} +CATEGORIES= security perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Crypt/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://search.cpan.org/dist/Crypt-Curve25519/ +COMMENT= Perl5 module for the elliptic-curve Diffie-Hellman key exchange +LICENSE= ${PERL5_LICENSE} + +#DEPENDS+= p5-Math-BigInt-GMP-[0-9]*:../../math/p5-Math-BigInt-GMP +#DEPENDS+= p5-Math-BigInt-Pari-[0-9]*:../../math/p5-Math-BigInt-Pari +#DEPENDS+= p5-Crypt-Random>=0.33:../../security/p5-Crypt-Random + +USE_LANGUAGES= c + +PERL5_PACKLIST= auto/Crypt/Curve25519/.packlist +MAKE_PARAMS+= --skipdeps + +MAKE_ENV+= PERL_USE_UNSAFE_INC=1 + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/p5-Crypto-Curve25519/distinfo b/security/p5-Crypto-Curve25519/distinfo new file mode 100644 index 00000000000..44fd754e9b6 --- /dev/null +++ b/security/p5-Crypto-Curve25519/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/08/23 13:41:22 he Exp $ + +SHA1 (Crypt-Curve25519-0.06.tar.gz) = 5c3e217f6260f83c1a5cce33c2b63ae4954a85e1 +RMD160 (Crypt-Curve25519-0.06.tar.gz) = 5c4ec052c338d798d41d1e12e76ca1c482896cf6 +SHA512 (Crypt-Curve25519-0.06.tar.gz) = e5d351c36c9f60e1b55f45bf9fa871fddf949bd5c0a20b4d065e1eb2d4e24ba43807289591eda854fca28b5909fd6af1b0fc9ede63efbeeaf6e011e7382a4e1d +Size (Crypt-Curve25519-0.06.tar.gz) = 27835 bytes |