Commit Graph

39 Commits

Author SHA1 Message Date
git@daemon.de
3c7679706f fix (null) output if input for -C is stdin 2015-07-17 17:27:01 +02:00
git@daemon.de
0811957a46 added -C to generate a blake2 checksum of one or more files 2015-07-17 16:22:12 +02:00
TLINDEN
65d039501d added option -X 2015-05-30 11:11:20 +02:00
TLINDEN
8535b50f94 added -M; removed CBC support, fixed asym-self-mode 2015-01-17 15:04:07 +01:00
TLINDEN
3c30d8871b using secure memory where applicable using sodium_malloc or sodium_mlock, where not 2015-01-13 13:07:32 +01:00
TLINDEN
28a0405d55 two more bugs of the same kind as in #5 2014-12-21 14:16:43 +01:00
TLINDEN
6c42c964b9 fixed segfault in free(), used strlen of wrong variable. fixes #5 2014-12-21 12:31:44 +01:00
git@daemon.de
298e6b1469 added anonymous sender key (-A) support 2014-08-11 15:45:47 +02:00
TLINDEN
e022a9e842 fixed memory leaks 2014-08-08 18:40:53 +02:00
TLINDEN
019df8e4c5 fixed memory leaks 2014-08-07 21:33:52 +02:00
TLINDEN
7542128486 fixed memory leaks 2014-08-06 01:23:32 +02:00
TLINDEN
c66c7ae15c added own file type for crypt+sign, now signing the encrypted result, not the clear message.
using 64bit integers for time vars in key ex/im_ports
2014-05-06 11:50:28 +02:00
TLINDEN
da9891ff81 put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe. 2014-05-04 17:11:03 +02:00
TLINDEN
b3851f62e8 revert mode changes made by windows devel system (sic) 2014-03-17 17:20:29 +01:00
scip
a1cfe16c3c (back) ported win32 32bit compatibility along with lots of fixes 2014-03-15 17:26:42 +01:00
git@daemon.de
5e82b7ec7b fixed buffer overflow when calling pcp_scrypt(), used invalid passwd size 2014-03-10 16:57:01 +01:00
git@daemon.de
97f4d14d3b finally fixed all stream related problems, z85 transparent en/decoding works, unittests all ok. 2014-02-27 13:55:43 +01:00
TLINDEN
0069d6ea29 yet another pcpstream problem noted 2014-02-25 19:52:59 +01:00
git@daemon.de
3b1db06529 changed all occurrences of unsigned char to byte (defined in defines.h) to make the code more precise about sizes. 2014-02-25 11:09:58 +01:00
TLINDEN
e78269fceb added pcpstream, which wraps buffers or file i/o, so crypto code doesn't have to know if it works with a file or a buffer. makes the api much more flexible 2014-02-15 13:10:51 +01:00
TLINDEN
8f24fc88f8 changed invalid // c++ comments to valid /* .. */ C comments 2014-02-05 20:41:16 +01:00
git@daemon.de
a89b16a15c fixed crypt+sign, now the sig contains the encrypted recipient list as well and is encrypted itself 2014-02-05 13:09:20 +01:00
git@daemon.de
777fa01c74 fixed scrypt() call and pbp pk export signature 2014-02-03 12:19:17 +01:00
git@daemon.de
770d8cb234 added crypt+sign support 2014-01-27 16:12:43 +01:00
TLINDEN
78987a1d27 (re-)added detached signature support, now with 32k-blockwise reading of files, enabled with -a. 2014-01-26 16:02:47 +01:00
git@daemon.de
c717c060ec re-implemented signature system to match the standard (orinal input, including sig for full sig; or 32k blockwise hash of input and sig from hash attached to original input without the hash), verify_buffered currently not implemented, armored sig only for output. 2014-01-23 15:40:06 +01:00
TLINDEN
1efff67d37 implemented pbp-compatible self encryption mode (symetrical encryption using scrypt(passphrase, static nonce), no pk) 2014-01-22 23:20:30 +01:00
git@daemon.de
7b56ab60a6 changed asym decryption to pbp scheme, compatibility untested yet, but works pcp-internally already 2014-01-22 16:23:30 +01:00
git@daemon.de
26d4ee43c5 started to implement pbp compatibility, added support for multiple -r options,
using it now to look through the vault for recipients, -i to follow. current
state: encrypt produces output without errors or crashes; decrypt is incompatible
for the moment.
2014-01-21 16:11:04 +01:00
git@daemon.de
6714dd1c3b prepared recipient list support 2014-01-20 16:07:01 +01:00
git@daemon.de
67ba04f3bd moved file en/de-cryption from src to libpcp, which makes it way easier to
implement pbp compatibility
2014-01-20 10:16:05 +01:00
TLINDEN
e20a0683c6 dropped "derived key feature", pk-encryption now uses a random keypair on the sender side, puts the public part of it into the encrypted output and drops the keypair, no more key-id will be sent over the wire, be it hashed or whatelse. 2014-01-19 23:57:11 +01:00
TLINDEN
a9b2796af2 renamed 'public' to 'pub' to avoid conflict with c++ api 2013-11-29 20:01:42 +01:00
TLINDEN
5a8e3ee8b0 moved all uthash related code into keyhash.c 2013-11-13 13:06:01 +01:00
git@daemon.de
a76ff60d7a added pcptext_infile(), used with pcp1 -t -I $file, which determines filetype
by content. minor debugging changes.
2013-11-12 16:58:59 +01:00
git@daemon.de
ec9ca2b356 added support for self-encryption mode, updated POD accordingly. 2013-11-07 13:36:02 +01:00
TLINDEN
0e3835bf97 added GPLv3 disclaimer to everything. 2013-11-04 17:43:22 +01:00
TLINDEN
bf5556e1ec bugfix in encryption key computing, added new feature: derived public keys 2013-11-02 11:02:36 +01:00
TLINDEN
2d7babae35 initial commit 2013-10-28 22:50:05 +01:00