Add security/p5-Crypt-Tea_JS.
security/p5-Crypt-T_e_a development stopped at 2.11 and there will be no further releases for that port. Development has continued by the same author, under a new name, Crypt::Tea_JS. I've added conflicts between the two, but p5-Crypt-T_e_a should probably be considered deprecated. This module implements TEA, the Tiny Encryption Algorithm, and some Modes of Use, in Perl and JavaScript. The $key is a sufficiently longish string; at least 17 random 8-bit bytes for single encryption. Crypt::Tea_JS can be used for secret-key encryption in general, or, in particular, to communicate securely between browser and web-host. In this case, the simplest arrangement is for the user to enter the key into a JavaScript variable, and for the host to retrieve that user's key from a database. Or, for extra security, the first message (or even each message) between browser and host could contain a random challenge-string, which each end would then turn into a signature, and use that signature as the encryption-key for the session (or the reply). WWW: http://search.cpan.org/dist/Crypt-Tea_JS/
This commit is contained in:
parent
55c143d426
commit
8daab8b985
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=366933
@ -510,6 +510,7 @@
|
||||
SUBDIR += p5-Crypt-SmbHash
|
||||
SUBDIR += p5-Crypt-Solitaire
|
||||
SUBDIR += p5-Crypt-TEA
|
||||
SUBDIR += p5-Crypt-Tea_JS
|
||||
SUBDIR += p5-Crypt-T_e_a
|
||||
SUBDIR += p5-Crypt-TripleDES
|
||||
SUBDIR += p5-Crypt-Twofish
|
||||
|
@ -12,6 +12,8 @@ DISTNAME= Crypt-Tea-${PORTVERSION}
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
COMMENT= The Tiny Encryption Algorithm in Perl and JavaScript
|
||||
|
||||
CONFLICTS= p5-Crypt-Tea_JS-[0-9]*
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
|
28
security/p5-Crypt-Tea_JS/Makefile
Normal file
28
security/p5-Crypt-Tea_JS/Makefile
Normal file
@ -0,0 +1,28 @@
|
||||
# Created by: adamw
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Crypt-Tea_JS
|
||||
PORTVERSION= 2.23
|
||||
CATEGORIES= security perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= adamw@FreeBSD.org
|
||||
COMMENT= Tiny Encryption Algorithm in Perl and Javascript
|
||||
|
||||
CONFLICTS= p5-Crypt-T_e_a-[0-9]*
|
||||
|
||||
USES= perl5
|
||||
USE_PERL5= configure
|
||||
|
||||
OPTIONS_DEFINE= EXAMPLES
|
||||
PORTEXAMPLES= tea_demo.cgi
|
||||
PORTDATA= Tea_JS.js
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/Tea_JS.js ${STAGEDIR}${DATADIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/examples/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/p5-Crypt-Tea_JS/distinfo
Normal file
2
security/p5-Crypt-Tea_JS/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Crypt-Tea_JS-2.23.tar.gz) = b9c5af99ddca84611cd5c6cbd5d5a5989009d5a42818f4e64e735da25676e918
|
||||
SIZE (Crypt-Tea_JS-2.23.tar.gz) = 21510
|
16
security/p5-Crypt-Tea_JS/pkg-descr
Normal file
16
security/p5-Crypt-Tea_JS/pkg-descr
Normal file
@ -0,0 +1,16 @@
|
||||
This module implements TEA, the Tiny Encryption Algorithm, and some Modes of
|
||||
Use, in Perl and JavaScript.
|
||||
|
||||
The $key is a sufficiently longish string; at least 17 random 8-bit bytes for
|
||||
single encryption.
|
||||
|
||||
Crypt::Tea_JS can be used for secret-key encryption in general, or, in
|
||||
particular, to communicate securely between browser and web-host. In this case,
|
||||
the simplest arrangement is for the user to enter the key into a JavaScript
|
||||
variable, and for the host to retrieve that user's key from a database. Or, for
|
||||
extra security, the first message (or even each message) between browser and
|
||||
host could contain a random challenge-string, which each end would then turn
|
||||
into a signature, and use that signature as the encryption-key for the session
|
||||
(or the reply).
|
||||
|
||||
WWW: http://search.cpan.org/dist/Crypt-Tea_JS/
|
9
security/p5-Crypt-Tea_JS/pkg-plist
Normal file
9
security/p5-Crypt-Tea_JS/pkg-plist
Normal file
@ -0,0 +1,9 @@
|
||||
bin/tea
|
||||
man/man1/tea.1.gz
|
||||
%%PERL5_MAN3%%/Crypt::Tea_JS.3.gz
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/Crypt/Tea_JS.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Tea_JS/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Tea_JS/Tea_JS.so
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Crypt
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt/Tea_JS
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Crypt
|
Loading…
Reference in New Issue
Block a user