aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-RSA
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2001-09-12 01:12:03 +0000
committerMichael Haro <mharo@FreeBSD.org>2001-09-12 01:12:03 +0000
commit5d2bd16a1cc0abe2ff54f90c8a8538169b0f2d79 (patch)
treee8b77a4fa4fd0e0d19ef3cfab59a3b9fdd6af364 /security/p5-Crypt-RSA
parent5bae66dd189f204a8b62a66e0cc7210b52154711 (diff)
downloadports-5d2bd16a1cc0abe2ff54f90c8a8538169b0f2d79.tar.gz
ports-5d2bd16a1cc0abe2ff54f90c8a8538169b0f2d79.zip
Crypt::RSA is a pure-perl, cleanroom implementation of the RSA public-key
cryptosystem. It uses Math::Pari(3), a perl interface to the blazingly fast PARI library, for big integer arithmetic and number theoretic computations.
Notes
Notes: svn path=/head/; revision=47727
Diffstat (limited to 'security/p5-Crypt-RSA')
-rw-r--r--security/p5-Crypt-RSA/Makefile44
-rw-r--r--security/p5-Crypt-RSA/distinfo1
-rw-r--r--security/p5-Crypt-RSA/pkg-comment1
-rw-r--r--security/p5-Crypt-RSA/pkg-descr22
-rw-r--r--security/p5-Crypt-RSA/pkg-plist22
5 files changed, 90 insertions, 0 deletions
diff --git a/security/p5-Crypt-RSA/Makefile b/security/p5-Crypt-RSA/Makefile
new file mode 100644
index 000000000000..0553ad468413
--- /dev/null
+++ b/security/p5-Crypt-RSA/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: p5-Crypt-RSA
+# Date created: Tue Sep 11 10:31:23 PDT 2001
+# Whom: Michael Haro <mharo@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Crypt-RSA
+PORTVERSION= 1.47
+CATEGORIES= security perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Crypt
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mharo@FreeBSD.org
+
+PERLBASE= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+
+BUILD_DEPENDS= ${PERLBASE}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
+ ${PERLBASE}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish \
+ ${PERLBASE}/Crypt/Random.pm:${PORTSDIR}/security/p5-Crypt-Random \
+ ${PERLBASE}/Crypt/Primes.pm:${PORTSDIR}/security/p5-Crypt-Primes \
+ ${PERLBASE}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
+ ${PERLBASE}/Convert/ASCII/Armor.pm:${PORTSDIR}/converters/p5-Convert-ASCII-Armour \
+ ${PERLBASE}/Data/Buffer.pm:${PORTSDIR}/misc/p5-Data-Buffer \
+ ${PERLBASE}/Sort/Versions.pm:${PORTSDIR}/devel/p5-Sort-Versions \
+ ${PERLBASE}/Class/Loader.pm:${PORTSDIR}/devel/p5-Class-Loader \
+ ${PERLBASE}/${PERL_ARCH}/Digest/MD2.pm:${PORTSDIR}/security/p5-Digest-MD2 \
+ ${PERLBASE}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
+ ${PERLBASE}/Tie/EncryptedHash.pm:${PORTSDIR}/security/p5-Tie-EncryptedHash
+
+RESTRICTED= "Crypto; export-controlled"
+
+PERL_CONFIGURE= yes
+
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+MAN3= Crypt::RSA::Key.3 Crypt::RSA::SS::PSS.3 \
+ Crypt::RSA::Primitives.3 Crypt::RSA::ES::OAEP.3 \
+ Crypt::RSA.3 Crypt::RSA::SS::PKCS1v15.3 \
+ Crypt::RSA::DataFormat.3 Crypt::RSA::Key::Private.3 \
+ Crypt::RSA::ES::PKCS1v15.3 Crypt::RSA::Debug.3 \
+ Crypt::RSA::Key::Public.3 Crypt::RSA::Errorhandler.3
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-RSA/distinfo b/security/p5-Crypt-RSA/distinfo
new file mode 100644
index 000000000000..d3bc111ddb2c
--- /dev/null
+++ b/security/p5-Crypt-RSA/distinfo
@@ -0,0 +1 @@
+MD5 (Crypt-RSA-1.47.tar.gz) = 9651e71ea62356771e0063d50ecda167
diff --git a/security/p5-Crypt-RSA/pkg-comment b/security/p5-Crypt-RSA/pkg-comment
new file mode 100644
index 000000000000..4b7d85307047
--- /dev/null
+++ b/security/p5-Crypt-RSA/pkg-comment
@@ -0,0 +1 @@
+RSA public-key cryptosystem
diff --git a/security/p5-Crypt-RSA/pkg-descr b/security/p5-Crypt-RSA/pkg-descr
new file mode 100644
index 000000000000..8224c2e5e83e
--- /dev/null
+++ b/security/p5-Crypt-RSA/pkg-descr
@@ -0,0 +1,22 @@
+Crypt::RSA is a pure-perl, cleanroom implementation of the RSA public-key
+cryptosystem. It uses Math::Pari(3), a perl interface to the blazingly fast
+PARI library, for big integer arithmetic and number theoretic computations.
+
+Crypt::RSA provides arbitrary size key-pair generation, plaintext-aware
+encryption (OAEP) and digital signatures with appendix (PSS). For compatibility
+with SSLv3, RSAREF2, PGP and other applications that follow the PKCS #1 v1.5
+standard, it also provides PKCS #1 v1.5 encryption and signatures.
+
+Crypt::RSA is structured as bundle of modules that encapsulate different parts
+of the RSA cryptosystem. The RSA algorithm is implemented in
+Crypt::RSA::Primitives(3). Encryption schemes, located under Crypt::RSA::ES,
+and signature schemes, located under Crypt::RSA::SS, use the RSA algorithm to
+build encryption/signature schemes that employ secure padding. (See the note on
+Security of Padding Schemes.)
+
+The key generation engine and other functions that work on both components of
+the key-pair are encapsulated in Crypt::RSA::Key(3). Crypt::RSA::Key::Public(3)
+& Crypt::RSA::Key::Private(3) provide mechanisms for storage & retrival of keys
+from disk, decoding & encoding of keys in certain formats, and secure
+representation of keys in memory. Finally, the Crypt::RSA module provides a
+convenient, DWIM wrapper around the rest of the modules in the bundle.
diff --git a/security/p5-Crypt-RSA/pkg-plist b/security/p5-Crypt-RSA/pkg-plist
new file mode 100644
index 000000000000..843b9a33b039
--- /dev/null
+++ b/security/p5-Crypt-RSA/pkg-plist
@@ -0,0 +1,22 @@
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS/PSS.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS/PKCS1v15.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES/OAEP.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES/PKCS1v15.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Primitives.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private/SSH.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public/SSH.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/DataFormat.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Debug.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Errorhandler.pm
+lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RSA/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/ES
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Private
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key/Public
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/Key
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA/SS
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/Crypt/RSA
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Crypt/RSA