1
0
mirror of https://github.com/biergaizi/codecrypt synced 2024-06-27 09:18:16 +00:00
codecrypt/README.md

114 lines
3.2 KiB
Markdown
Raw Normal View History

2013-01-13 22:42:09 +00:00
# Codecrypt
2013-04-23 06:56:12 +00:00
The post-quantum cryptography tool.
#### About
This is a GnuPG-like unix program for encryption and signing that uses only
quantum-computer-resistant algorithms:
- McEliece cryptosystem (compact quasi-dyadic variant) for encryption
- Hash-based Merkle tree algorithm (FMTSeq variant) for digital signatures
#### Why this?
2013-01-13 22:42:09 +00:00
2013-04-22 11:51:10 +00:00
Go read http://pqcrypto.org/
2013-04-22 11:40:27 +00:00
2013-04-23 06:56:12 +00:00
#### Links
- infopage: http://e-x-a.org/codecrypt/
- *package downloads*: http://e-x-a.org/codecrypt/files/
2013-04-22 11:40:27 +00:00
2013-04-23 06:56:12 +00:00
## Quick How-To
2013-04-22 11:40:27 +00:00
2013-04-23 06:56:12 +00:00
Everything is meant to work mostly like GnuPG, but with some good simplicity
margin. Let's play with random data!
2013-04-22 11:40:27 +00:00
ccr -g help
ccr -g fmtseq128 --name "John Doe" # your signature key
ccr -g mceqd128 --name "John Doe" # your encryption key
ccr -K #watch the generated keys
ccr -k
2013-04-22 11:51:10 +00:00
ccr -p -a -o my_pubkeys.asc # and send pubkeys to friends
2013-04-22 11:40:27 +00:00
#see what people sent us
ccr -ina < friends_pubkeys.asc
#import Frank's key and rename it
ccr -i -R friends_pubkeys.asc --name "Friendly Frank"
#send a nice message to Frank (you can also specify him by @12345 keyid)
ccr -se -r Frank < Document.doc > Message_to_frank.ccr
#receive a reply
ccr -dv -o Decrypted_verified_reply.doc <Reply_from_frank.ccr
#rename other's keys
ccr -m Frank -N "Unfriendly Frank"
#and delete pukeys of everyone who's Unfriendly
ccr -x Unfri
## Option reference
2013-04-23 06:56:12 +00:00
For completeness I add listing of all options here (also available from
@ccr --help@)
2013-04-22 11:40:27 +00:00
Copyright (C) 2013 Mirek Kratochvil <exa.exa@gmail.com>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Usage: ./ccr [options]
Common options:
-h, --help display this help
-V, --version display version information
-T, --test perform (probably nonexistent) testing/debugging stuff
Global options:
-R, --in input file, default is stdin
-o, --out output file, default is stdout
-a, --armor use ascii-armored I/O
-y, --yes assume that answer is `yes' everytime
Actions:
-s, --sign sign a message
-v, --verify verify a signed message
-e, --encrypt encrypt a message
-d, --decrypt decrypt an encrypted message
Action options:
-r, --recipient encrypt for given user
-u, --user use specified secret key
-C, --clearsign work with cleartext signatures
-b, --detach-sign specify file with detached signature
Key management:
-g, --gen-key generate specified keypair, `help' lists algorithms
-k, --list list matching keys
-K, --list-secret
-i, --import import keys (optionally rename them)
-I, --import-secret
-p, --export export matching keys
-P, --export-secret
-x, --delete delete matching keys
-X, --delete-secret
-m, --rename rename matching keys
-M, --rename-secret
Key management options:
-n, --no-action on import, only show what would be imported
-N, --name specify a new name for renaming or importing
-F, --filter only work with keys with matching names
-f, --fingerprint format key IDs nicely for human eyes
## Disclaimer
Codecrypt eats data. Use it with caution.
Author is a self-taught cryptographer.
2013-01-13 22:42:09 +00:00