Sat Apr 30 19:27:43 2016 UTC ()
Add codecrypt, version 1.7.5 to the Packages Collection.
codecrypt is a program like gnupg (or netpgp) that uses only
quantum-computer-resistant algorithms
This is a GnuPG-like unix program for encryption and signing that uses
only quantum-computer-resistant algorithms:
+ McEliece cryptosystem (compact QC-MDPC variant) for encryption
+ Hash-based Merkle tree algorithm (FMTSeq variant) for digital
signatures
Stream ciphers used: ChaCha20, XSynd stream cipher, RC4 (for initial
simplicity of implementation)
CRHFs used:
+ Cubehash variants were selected for implementation ease, really
clean design, quite good speed and flexibility of parameter choices.
KeyID's are CUBE256 hashes of serialized public key.
+ ripemd128 for small hashes
+ tiger192 is used as an alternative for Cubehash for 192bit hashes
+ There's always a variant with SHA-256, SHA-384 or SHA-512.
Signature algorithms:
+ FMTSeq with many possibilities and combinations of aforementioned CRHFs
Encryption:
MDPC McEliece on quasi-cyclic matrices - decoding is (slightly)
vulnerable to timing attacks.
(agc)
diff -r1.574 -r1.575 pkgsrc/security/Makefile
diff -r0 -r1.1 pkgsrc/security/codecrypt/DESCR
diff -r0 -r1.1 pkgsrc/security/codecrypt/Makefile
diff -r0 -r1.1 pkgsrc/security/codecrypt/PLIST
diff -r0 -r1.1 pkgsrc/security/codecrypt/distinfo
--- pkgsrc/security/Makefile 2016/04/25 20:39:15 1.574
+++ pkgsrc/security/Makefile 2016/04/30 19:27:43 1.575
| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.574 2016/04/25 20:39:15 fhajny Exp $ | | 1 | # $NetBSD: Makefile,v 1.575 2016/04/30 19:27:43 agc Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | COMMENT= Security tools | | 4 | COMMENT= Security tools |
5 | | | 5 | |
6 | SUBDIR+= Bastille | | 6 | SUBDIR+= Bastille |
7 | SUBDIR+= CSP | | 7 | SUBDIR+= CSP |
8 | SUBDIR+= CoolKey | | 8 | SUBDIR+= CoolKey |
9 | SUBDIR+= EasyPG | | 9 | SUBDIR+= EasyPG |
10 | SUBDIR+= HElib | | 10 | SUBDIR+= HElib |
11 | SUBDIR+= KeePass | | 11 | SUBDIR+= KeePass |
12 | SUBDIR+= MyPasswordSafe | | 12 | SUBDIR+= MyPasswordSafe |
13 | SUBDIR+= PACK | | 13 | SUBDIR+= PACK |
14 | SUBDIR+= PortableSigner | | 14 | SUBDIR+= PortableSigner |
| @@ -29,26 +29,27 @@ SUBDIR+= base | | | @@ -29,26 +29,27 @@ SUBDIR+= base |
29 | SUBDIR+= bcrypt | | 29 | SUBDIR+= bcrypt |
30 | SUBDIR+= beecrypt | | 30 | SUBDIR+= beecrypt |
31 | SUBDIR+= bitstir | | 31 | SUBDIR+= bitstir |
32 | SUBDIR+= boringssl | | 32 | SUBDIR+= boringssl |
33 | SUBDIR+= botan | | 33 | SUBDIR+= botan |
34 | SUBDIR+= botan-devel | | 34 | SUBDIR+= botan-devel |
35 | SUBDIR+= caff | | 35 | SUBDIR+= caff |
36 | SUBDIR+= ccid | | 36 | SUBDIR+= ccid |
37 | SUBDIR+= cfs | | 37 | SUBDIR+= cfs |
38 | SUBDIR+= chkrootkit | | 38 | SUBDIR+= chkrootkit |
39 | SUBDIR+= clamav | | 39 | SUBDIR+= clamav |
40 | SUBDIR+= clamav-doc | | 40 | SUBDIR+= clamav-doc |
41 | SUBDIR+= clusterssh | | 41 | SUBDIR+= clusterssh |
| | | 42 | SUBDIR+= codecrypt |
42 | SUBDIR+= courier-authlib | | 43 | SUBDIR+= courier-authlib |
43 | SUBDIR+= crack | | 44 | SUBDIR+= crack |
44 | SUBDIR+= credns | | 45 | SUBDIR+= credns |
45 | #SUBDIR+= crudesaml # only shared files | | 46 | #SUBDIR+= crudesaml # only shared files |
46 | SUBDIR+= crypto++ | | 47 | SUBDIR+= crypto++ |
47 | SUBDIR+= cvm | | 48 | SUBDIR+= cvm |
48 | SUBDIR+= cy2-anonymous | | 49 | SUBDIR+= cy2-anonymous |
49 | SUBDIR+= cy2-crammd5 | | 50 | SUBDIR+= cy2-crammd5 |
50 | SUBDIR+= cy2-digestmd5 | | 51 | SUBDIR+= cy2-digestmd5 |
51 | SUBDIR+= cy2-gssapi | | 52 | SUBDIR+= cy2-gssapi |
52 | SUBDIR+= cy2-ldapdb | | 53 | SUBDIR+= cy2-ldapdb |
53 | SUBDIR+= cy2-login | | 54 | SUBDIR+= cy2-login |
54 | SUBDIR+= cy2-ntlm | | 55 | SUBDIR+= cy2-ntlm |
This is a GnuPG-like unix program for encryption and signing that uses
only quantum-computer-resistant algorithms:
+ McEliece cryptosystem (compact QC-MDPC variant) for encryption
+ Hash-based Merkle tree algorithm (FMTSeq variant) for digital
signatures
Stream ciphers used: ChaCha20, XSynd stream cipher, RC4 (for initial
simplicity of implementation)
CRHFs used:
+ Cubehash variants were selected for implementation ease, really
clean design, quite good speed and flexibility of parameter choices.
KeyID's are CUBE256 hashes of serialized public key.
+ ripemd128 for small hashes
+ tiger192 is used as an alternative for Cubehash for 192bit hashes
+ There's always a variant with SHA-256, SHA-384 or SHA-512.
Signature algorithms:
+ FMTSeq with many possibilities and combinations of aforementioned CRHFs
Encryption:
MDPC McEliece on quasi-cyclic matrices - decoding is (slightly)
vulnerable to timing attacks.
# $NetBSD: Makefile,v 1.1 2016/04/30 19:27:43 agc Exp $
DISTNAME= codecrypt-1.7.5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=exaexa/}
GITHUB_TAG= v1.7.5
MAINTAINER= agc@NetBSD.org
HOMEPAGE= https://github.com/exaexa/codecrypt
COMMENT= Post-quantum cryptographic software
LICENSE= gnu-lgpl-v3
USE_TOOLS+= autoconf automake autoreconf gmake pkg-config
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_LANGUAGES+= c c++
CRYPTOPPFLAGS= CRYPTOPP_CFLAGS=-I${PREFIX}/include
CRYPTOPPFLAGS+= CRYPTOPP_LIBS='-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lcryptopp'
CONFIGURE_ENV+= ${CRYPTOPPFLAGS}
MAKE_ENV+= ${CRYPTOPPFLAGS}
pre-configure:
cd ${WRKSRC} && ./autogen.sh
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../security/crypto++/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2016/04/30 19:27:43 agc Exp $
bin/ccr
man/man1/ccr.1
$NetBSD: distinfo,v 1.1 2016/04/30 19:27:43 agc Exp $
SHA1 (codecrypt-1.7.5.tar.gz) = 138242abafee92718d9568b0b4fe15230333bede
RMD160 (codecrypt-1.7.5.tar.gz) = 343cf4178eb38dda93670b8cad10a4050f9290e8
SHA512 (codecrypt-1.7.5.tar.gz) = 674a505bfd833e76d0bf44ce25cef89f355374b645bb98889983cdee76ab3d7e4828a074ccb430b1b9b1f86aa234312a02952bb6f84db4c66f3410985524a2cb
Size (codecrypt-1.7.5.tar.gz) = 20455881 bytes