Commit graph

65 commits

Author SHA1 Message Date
Mirek Kratochvil 76fb3b059d main: default -u from CCR_USER env 2017-10-23 14:33:47 +02:00
Mirek Kratochvil 104ee12951 implement private key locking
Included:
- gazillion changes in actions
- keyring decodes privkey structures lazily, if not needed they will
  pass by as strings
2017-10-22 23:10:23 +02:00
Mirek Kratochvil 578691f45e secret-locking on symmetric keys 2017-10-22 21:00:58 +02:00
Mirek Kratochvil dc3a874cd5 generator: allow own PRNG seed source 2017-06-26 14:28:54 +02:00
Mirek Kratochvil a09344f034 add proper copyright notices 2016-04-17 15:48:09 +02:00
Mirek Kratochvil f07f4027a2 clarify the `-g help' option better 2016-04-17 15:09:26 +02:00
Mirek Kratochvil c1800500cf oh look, year changed 2016-01-20 22:54:35 +01:00
Mirek Kratochvil abf0ea26b0 support redirecting to -
just noticed that possibility in the docs...
2016-01-12 23:20:22 +01:00
Mirek Kratochvil b3f8f32cb1 documentation/help update 2016-01-12 23:20:07 +01:00
Mirek Kratochvil 46f68fdc93 main: provide -E option to redirect stderr to file 2016-01-11 16:33:15 +01:00
Mirek Kratochvil de4ee8aa39 algos_enc: fixup the padding for non-byte-aligned keys 2015-11-15 20:38:30 +01:00
Mirek Kratochvil 19d59f9ec1 bulk-apply new code styling rules 2015-10-31 22:58:17 +01:00
Mirek Kratochvil 67192f621e main: update the year 2015-10-30 21:02:03 +01:00
Mirek Kratochvil 8e0597824a symmetric encryption working 2014-04-06 13:46:04 +02:00
Mirek Kratochvil 6f50dab322 main: hashfile frontend 2014-03-07 08:44:23 +01:00
Mirek Kratochvil a0a9263a42 main: happy new year. 2014-01-24 10:39:36 +01:00
Mirek Kratochvil fae3342e18 main: remove now unnecessary licensing information 2013-09-15 15:58:01 +02:00
Mirek Kratochvil 09136ef046 actions: better keyring opening behavior
This delays opening (and locking) the keyring until all input has been
processed, and all possible errors that would make a chance that the
keyring doesn't have to be opened have been checked for.

Whole purpose was to enable codecrypt to be chained with pipes in UNIX-y way,
like this primitive certificate creation:

(echo "At `date` I certify this is The Key:" ; ccr -pa -F "the key") | ccr -s
2013-09-12 12:41:54 +02:00
Mirek Kratochvil 93cd8f377f keyring: squash opening and loading into one func 2013-09-12 12:14:58 +02:00
Mirek Kratochvil 1a2d25e555 main: correct licensing information 2013-05-27 18:23:20 +02:00
Mirek Kratochvil 805a275df7 main: some clarifications 2013-04-27 00:56:34 +02:00
Mirek Kratochvil 35f8b0477e actions: signing 2013-04-22 09:23:47 +02:00
Mirek Kratochvil ede323e0e9 main: remove forgotten debug output 2013-04-22 09:22:56 +02:00
Mirek Kratochvil 403ec2cc88 actions: added clearsign to parameters 2013-04-22 07:38:21 +02:00
Mirek Kratochvil 903273db43 Revert "main: remove clearsign option"
This reverts commit 83e0e3ad58.

The logic behind removing clearsign was somehow flawed by momentary
indisposition.
2013-04-22 07:33:52 +02:00
Mirek Kratochvil c5b4d308d1 actions: imports 2013-04-21 17:47:00 +02:00
Mirek Kratochvil 03cd5abd73 actions: gen_key 2013-04-21 10:00:51 +02:00
Mirek Kratochvil b3a5fee318 main: use cleaner error output 2013-04-20 23:44:18 +02:00
Mirek Kratochvil fef4002138 iohelpers and output redirection 2013-04-20 23:08:09 +02:00
Mirek Kratochvil d3b377179f main: links to actions 2013-04-20 22:39:51 +02:00
Mirek Kratochvil 83e0e3ad58 main: remove clearsign option
Clearsigning is how we do signatures by default now. Detached signature
file stays as an option. Having a PGP-like non-cleartext non-detached
file doesn't really look much useful and brings complexity. Axed.
2013-04-20 21:57:03 +02:00
Mirek Kratochvil fe4e4e1ad1 actions: skeleton 2013-04-20 14:19:32 +02:00
Mirek Kratochvil 772df95f39 algo_suite: definition moved to a better place 2013-04-20 14:02:19 +02:00
Mirek Kratochvil 8e3fc91ccc main: option parsing 2013-04-20 11:58:28 +02:00
Mirek Kratochvil 6b96cc33e6 algo_suite: register all algorithms and enjoy them 2013-04-20 09:58:12 +02:00
Mirek Kratochvil 735b7add72 main: help display 2013-04-19 17:23:28 +02:00
Mirek Kratochvil 645cdb96ee main: add short options for everything
otherwise it'd die typing all that long stuff anyway
2013-04-19 09:54:38 +02:00
Mirek Kratochvil 287a2bbac0 main: variables for params 2013-04-18 10:45:05 +02:00
Mirek Kratochvil adb7a669b5 main: filled with possible options 2013-04-18 08:49:09 +02:00
Mirek Kratochvil 3b2b3b7f00 main: forgotten styleup 2013-04-17 14:28:11 +02:00
Mirek Kratochvil cff617f8a4 main: keyring initialization 2013-04-17 09:33:22 +02:00
Mirek Kratochvil fea48c77b3 main: enhancement, minor stuff 2013-01-13 23:37:58 +01:00
Mirek Kratochvil 59a0e24c67 main: basic option processing 2013-01-11 11:33:17 +01:00
Mirek Kratochvil 3af8bc98fb main: cleaned up 2012-12-29 20:40:47 +01:00
Mirek Kratochvil 647f5e7fa3 fmtseq: all working 2012-12-28 17:14:22 +01:00
Mirek Kratochvil 902a2f541d fmtseq: working (tbd: tree cache updates) 2012-12-27 19:49:21 +01:00
Mirek Kratochvil f9fc177d98 get rid of the ugly global codecrypt.h 2012-12-25 14:39:39 +01:00
Mirek Kratochvil d1fe9b176b restructuralization
- removed cfs_qd (I didn't find a workable specification and it's still
  slow&ugly)
- removed mce_oc (it's just insecure and no one will use that)
- removed library structure, it isn't neccesary anyway
- added primitives for hashing to prepare for FMTseq
2012-12-22 14:09:19 +01:00
Mirek Kratochvil fc209d3345 slight cleaning 2012-11-06 09:46:18 +01:00
Mirek Kratochvil d0f0b5ef30 clean stuff up 2012-11-05 22:47:43 +01:00