BSD Ports

security/codecrypt 1.8nb1 NetBSD

Post-quantum cryptographic software

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
gnu-lgpl-v3
Categories
security
Package size
165.4 KiB, 565.6 KiB installed

Description

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.

Install

Binary package:

pkgin install codecrypt

From pkgsrc:

cd /usr/pkgsrc/security/codecrypt && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.8nb1
NetBSD 10.1 aarch641.8nb1
SmartOS / illumos x86_641.8nb1
macOS 15 arm64-

Dependencies

Run dependencies 3

No port depends on this one.