Imported Upstream version 1.7.4
Mirek Kratochvil
8 years ago
0 | 0 | |
1 | 1 | Codecrypt ChangeLog |
2 | ||
3 | 1.7.4 | |
4 | ||
5 | - maintenance release that fixes some cosmetic issues for debianization | |
2 | 6 | |
3 | 7 | 1.7.3 |
4 | 8 |
10 | 10 | - McEliece cryptosystem (compact QC-MDPC variant) for encryption |
11 | 11 | - Hash-based Merkle tree algorithm (FMTSeq variant) for digital signatures |
12 | 12 | |
13 | Codecrypt is free software. The code is licensed under terms of LGPL3 in a good | |
14 | hope that it will make combinations with other tools easier. | |
15 | ||
16 | ##### Used cryptography | |
17 | ||
18 | To achieve the stated goal, codecrypt uses a lot of (traditional, but | |
19 | "quantum-secure") cryptographic primitives. Choices of primitives were based on | |
20 | easy auditability of design, simplicity and provided security. | |
21 | ||
22 | The git repo of codecrypt contains `doc/papers` with an unsorted heap of | |
23 | academic papers and slides about relevant topics. | |
24 | ||
25 | Stream ciphers used: | |
26 | ||
27 | - ChaCha20, the recommended choice from djb | |
28 | - XSynd stream cipher as an interesting and nontraditional candidate also based | |
29 | on assumptions from coding theory; used NUMS (it requires lot of NUMS) are | |
30 | explained in `doc/nums` directory in the repo. | |
31 | - Arcfour for initial simplicity of implementation. After recent statistical | |
32 | attacks I cannot recommend using any RC4 variant anymore, but provided | |
33 | padding and the "offline-only" usage of codecrypt keeps the usage mostly | |
34 | secure. | |
35 | ||
36 | CRHFs used: | |
37 | ||
38 | - Cubehash variants where selected for implementation ease, really clean | |
39 | design, quite good speed and flexibility of parameter choices. This is also | |
40 | the only hash possibility when Crypto++ library is not linked to codecrypt. | |
41 | KeyID's are CUBE256 hashes of serialized public key. | |
42 | - ripemd128 for small hashes | |
43 | - tiger192 is used as an alternative for Cubehash for 192bit hashes | |
44 | - There's always a variant with SHA-256, SHA-384 or SHA-512. | |
45 | ||
46 | Signature algorithms: | |
47 | ||
48 | - FMTSeq with many possibilities and combinations of aforementioned CRHFs | |
49 | - SPHINCS256 support is scheduled for next release | |
50 | ||
51 | Encryption algorithms: | |
52 | ||
53 | - MDPC McEliece on quasi-cyclic matrices. The implementation uses some tricks | |
54 | to speedup the (pretty slow) cyclic matrix multiplication (most notably | |
55 | libfftm3 in this version). For padding using the Fujisaki-Okamoto scheme, the | |
56 | cipher requires a stream cipher and a CRHF, used ciphers and CRHFs are | |
57 | specified in the algorithm name -- e.g. MCEQCMDPC128FO-CUBE256-CHACHA20 means | |
58 | that the parameters are tuned to provide 128bit security, uses CUBE256 hash, | |
59 | and ChaCha20 stream cipher. | |
60 | - Quasi-dyadic McEliece was included in codecrypt as an original algorithm, but | |
61 | is now broken and prints a warning message on any usage. | |
62 | ||
63 | Caveats: | |
64 | ||
65 | Cryptography is **not intended for "online" use**, because some algorithms | |
66 | (especially the MDPC decoding) are (slightly) vulnerable to timing attacks. | |
67 | ||
13 | 68 | #### Why this? |
14 | 69 | |
15 | 70 | Go read http://pqcrypto.org/ |
19 | 74 | - infopage: http://e-x-a.org/codecrypt/ |
20 | 75 | - *package downloads*: http://e-x-a.org/codecrypt/files/ |
21 | 76 | |
77 | #### Distro packages | |
78 | ||
79 | - Gentoo packages: https://packages.gentoo.org/packages/app-crypt/codecrypt | |
80 | with current ebuild usually available at http://e-x-a.org/codecrypt/files | |
81 | - Debian packages: currently in mentors processing, use `debian/rules | |
82 | mk-orig-source && gbp buildpackage`. | |
83 | - Arch linux: see https://aur.archlinux.org/packages/codecrypt/ | |
84 | ||
22 | 85 | #### Documentation |
23 | 86 | |
24 | There is a complete, UNIXy manual page supplied with the package. You can view it online here: http://e-x-a.org/codecrypt/ccr.1.html | |
87 | There is a complete, UNIXy manual page supplied with the package. You can view | |
88 | it online here: http://e-x-a.org/codecrypt/ccr.1.html | |
25 | 89 | |
26 | 90 | ## Quick How-To |
27 | 91 | |
104 | 168 | hashes, and specify a filename of symmetric key or hashes |
105 | 169 | |
106 | 170 | Key management: |
107 | -g, --gen-key generate specified keypair, `help' lists algorithms | |
108 | -k, --list list keys | |
171 | -g, --gen-key generate keys for specified algorithm | |
172 | -g help list available cryptographic algorithms | |
173 | -k, --list list contents of keyring | |
109 | 174 | -K, --list-secret |
110 | 175 | -i, --import import keys |
111 | 176 | -I, --import-secret |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for codecrypt 1.7.3. | |
2 | # Generated by GNU Autoconf 2.69 for codecrypt 1.7.4. | |
3 | 3 | # |
4 | 4 | # |
5 | 5 | # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. |
586 | 586 | # Identity of this package. |
587 | 587 | PACKAGE_NAME='codecrypt' |
588 | 588 | PACKAGE_TARNAME='codecrypt' |
589 | PACKAGE_VERSION='1.7.3' | |
590 | PACKAGE_STRING='codecrypt 1.7.3' | |
589 | PACKAGE_VERSION='1.7.4' | |
590 | PACKAGE_STRING='codecrypt 1.7.4' | |
591 | 591 | PACKAGE_BUGREPORT='' |
592 | 592 | PACKAGE_URL='' |
593 | 593 | |
1341 | 1341 | # Omit some internal or obsolete options to make the list less imposing. |
1342 | 1342 | # This message is too long to be a string in the A/UX 3.1 sh. |
1343 | 1343 | cat <<_ACEOF |
1344 | \`configure' configures codecrypt 1.7.3 to adapt to many kinds of systems. | |
1344 | \`configure' configures codecrypt 1.7.4 to adapt to many kinds of systems. | |
1345 | 1345 | |
1346 | 1346 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1347 | 1347 | |
1412 | 1412 | |
1413 | 1413 | if test -n "$ac_init_help"; then |
1414 | 1414 | case $ac_init_help in |
1415 | short | recursive ) echo "Configuration of codecrypt 1.7.3:";; | |
1415 | short | recursive ) echo "Configuration of codecrypt 1.7.4:";; | |
1416 | 1416 | esac |
1417 | 1417 | cat <<\_ACEOF |
1418 | 1418 | |
1535 | 1535 | test -n "$ac_init_help" && exit $ac_status |
1536 | 1536 | if $ac_init_version; then |
1537 | 1537 | cat <<\_ACEOF |
1538 | codecrypt configure 1.7.3 | |
1538 | codecrypt configure 1.7.4 | |
1539 | 1539 | generated by GNU Autoconf 2.69 |
1540 | 1540 | |
1541 | 1541 | Copyright (C) 2012 Free Software Foundation, Inc. |
2216 | 2216 | This file contains any messages produced by compilers while |
2217 | 2217 | running configure, to aid debugging if configure makes a mistake. |
2218 | 2218 | |
2219 | It was created by codecrypt $as_me 1.7.3, which was | |
2219 | It was created by codecrypt $as_me 1.7.4, which was | |
2220 | 2220 | generated by GNU Autoconf 2.69. Invocation command line was |
2221 | 2221 | |
2222 | 2222 | $ $0 $@ |
3081 | 3081 | |
3082 | 3082 | # Define the identity of the package. |
3083 | 3083 | PACKAGE='codecrypt' |
3084 | VERSION='1.7.3' | |
3084 | VERSION='1.7.4' | |
3085 | 3085 | |
3086 | 3086 | |
3087 | 3087 | cat >>confdefs.h <<_ACEOF |
17374 | 17374 | # report actual input values of CONFIG_FILES etc. instead of their |
17375 | 17375 | # values after options handling. |
17376 | 17376 | ac_log=" |
17377 | This file was extended by codecrypt $as_me 1.7.3, which was | |
17377 | This file was extended by codecrypt $as_me 1.7.4, which was | |
17378 | 17378 | generated by GNU Autoconf 2.69. Invocation command line was |
17379 | 17379 | |
17380 | 17380 | CONFIG_FILES = $CONFIG_FILES |
17431 | 17431 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
17432 | 17432 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
17433 | 17433 | ac_cs_version="\\ |
17434 | codecrypt config.status 1.7.3 | |
17434 | codecrypt config.status 1.7.4 | |
17435 | 17435 | configured by $0, generated by GNU Autoconf 2.69, |
17436 | 17436 | with options \\"\$ac_cs_config\\" |
17437 | 17437 |
0 | 0 | |
1 | 1 | AC_PREREQ(2.6) |
2 | AC_INIT([codecrypt], [1.7.3]) | |
2 | AC_INIT([codecrypt], [1.7.4]) | |
3 | 3 | AC_CONFIG_AUX_DIR(.) # because of libtoolize |
4 | 4 | AC_CONFIG_MACRO_DIR([m4]) |
5 | 5 |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
61 | 63 | out (" hashes, and specify a filename of symmetric key or hashes"); |
62 | 64 | outeol; |
63 | 65 | out ("Key management:"); |
64 | out (" -g, --gen-key generate specified keypair, `help' lists algorithms"); | |
65 | out (" -k, --list list keys"); | |
66 | out (" -g, --gen-key generate keys for specified algorithm"); | |
67 | out (" -g help list available cryptographic algorithms"); | |
68 | out (" -k, --list list the contents of keyring"); | |
66 | 69 | out (" -K, --list-secret"); |
67 | 70 | out (" -i, --import import keys"); |
68 | 71 | out (" -I, --import-secret"); |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
31 | 33 | if (printed) return; |
32 | 34 | err ("\n***MCEQD SECURITY WARNING***\n\n" |
33 | 35 | "Security of the QD-McEliece variant was greatly reduced to less than 2^30\n" |
34 | "by an algebraic attack! The functions are kept only for compatibility.\n" | |
35 | "Be sure to use another encryption variant instead."); | |
36 | "by an algebraic attack! The functions are kept only for compatibility\n" | |
37 | "and will be removed soon. Use `-g help' for other encryption variants."); | |
36 | 38 | printed = true; |
37 | 39 | } |
38 | 40 |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
1 | 1 | |
2 | 2 | /* |
3 | 3 | * This file is part of Codecrypt. |
4 | * | |
5 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
4 | 6 | * |
5 | 7 | * Codecrypt is free software: you can redistribute it and/or modify it |
6 | 8 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |
1 | 1 | |
2 | 2 | /* |
3 | 3 | * This file is part of Codecrypt. |
4 | * | |
5 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
4 | 6 | * |
5 | 7 | * Codecrypt is free software: you can redistribute it and/or modify it |
6 | 8 | * under the terms of the GNU Lesser General Public License as published by |
1 | 1 | |
2 | 2 | /* |
3 | 3 | * This file is part of Codecrypt. |
4 | * | |
5 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
4 | 6 | * |
5 | 7 | * Codecrypt is free software: you can redistribute it and/or modify it |
6 | 8 | * under the terms of the GNU Lesser General Public License as published by |
0 | 0 | |
1 | 1 | /* |
2 | 2 | * This file is part of Codecrypt. |
3 | * | |
4 | * Copyright (C) 2013-2016 Mirek Kratochvil <exa.exa@gmail.com> | |
3 | 5 | * |
4 | 6 | * Codecrypt is free software: you can redistribute it and/or modify it |
5 | 7 | * under the terms of the GNU Lesser General Public License as published by |