TLINDEN
f3a38f3312
added check to self-verify signature
2015-04-20 20:13:13 +02:00
TLINDEN
5759c4c1c2
fixed true path
2015-04-14 21:07:39 +02:00
TLINDEN
8535b50f94
added -M; removed CBC support, fixed asym-self-mode
2015-01-17 15:04:07 +01:00
git@daemon.de
298e6b1469
added anonymous sender key (-A) support
2014-08-11 15:45:47 +02:00
TLINDEN
230a9a2341
modified for changed output
2014-08-07 21:33:20 +02:00
TLINDEN
7542128486
fixed memory leaks
2014-08-06 01:23:32 +02:00
git@daemon.de
e033df7156
changed z85 padding (incompatible to previous pcp versions!):
...
now we padd with zeroes as usual but append 4 bytes to the
raw input, the last one indicates the pad count. It's always
present, even if no padding occurred (the pad blob will then
read 0000).
This fixes the issue of earlier versions where trailing zeroes
in the original input (between block boundaries) have been
removed. Since we now add the pad counter, we know how many
zeroes to remove. If the original chunk already ended with zeroes
they will left untouched.
Re-created all test keys/data to match the change.
Also, the pcp_z85_encode() function now haves another flag
doblock. If set to 1, the function does the 72 chars per line
block creation itself, otherwise it just returns the z85 string
without any newlines added. Required by pcpstream class.
2014-07-31 16:41:20 +02:00
TLINDEN
db264ff16b
fit latest changes
2014-05-06 11:49:09 +02:00
TLINDEN
b3851f62e8
revert mode changes made by windows devel system (sic)
2014-03-17 17:20:29 +01:00
git@daemon.de
979cdd5c99
fixed unittest.pl - more portable
2014-03-15 19:02:08 +01:00
scip
a1cfe16c3c
(back) ported win32 32bit compatibility along with lots of fixes
2014-03-15 17:26:42 +01:00
TLINDEN
89b1dd770d
Merge branch 'master' of github.com:TLINDEN/pcp
2014-03-14 15:52:55 +01:00
TLINDEN
92c14cc621
added fuzz unittests, trying to import invalid binary keys using mangle.c by Ilja van Sprundel
2014-03-14 15:49:42 +01:00
git@daemon.de
e8d835c0c6
made md5 command portable via wrapper script
2014-03-10 17:05:41 +01:00
git@daemon.de
1852a8b7f9
removed -S and -P, replaced by -K, keymgmt determines key type automatically
2014-03-04 23:05:47 +01:00
TLINDEN
b640fe6743
fixed keysig saving (forgot the id), enhancements on cmdline
2014-03-02 18:05:45 +01:00
TLINDEN
efb2665497
fixed invalid tests
2014-02-27 19:53:25 +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
99f611ab80
fixed tilde z85 headers in signature stuff as well
2014-02-24 19:52:57 +01:00
git@daemon.de
1afb5cc3d7
fixed annoying error in _buffer_is_binary() which returned false sometimes even when the input were in fact binary. This fixes those 2 annoying unittests which failed from time to time.
2014-02-17 17:03:55 +01:00
TLINDEN
347f155341
catch up with api and system changes in libpcp. added c++ buffer class as well
2014-02-14 16:40:09 +01:00
git@daemon.de
0a8206b3b0
update to new formats
2014-02-13 15:33:51 +01:00
TLINDEN
bf2500b335
updated unittests
2014-02-13 00:06:36 +01:00
TLINDEN
91f94a532e
removed redundant code and fixed an invalid read of size 1 in ...unpadfour()
2014-02-09 17:50:00 +01:00
TLINDEN
5bbe95f6fe
re-generated unittests check files due changed z85 padding
2014-02-08 20:36:40 +01:00
git@daemon.de
e2125351d7
added unittest for sign+encrypt
2014-02-05 14:04:55 +01:00
TLINDEN
71013ac03d
updated to changes in crypto.c
2014-02-02 16:06:51 +01:00
git@daemon.de
ad009a8142
changed detach sig verification commandline (-a => -f <file>)
2014-01-28 12:19:25 +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
f09d4774cb
added unittest for symetric crypto
2014-01-22 23:29:28 +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
TLINDEN
05db2f1204
modifications to match recent changes. that's just preparation of more changes towards PBP-Compatibility. Current state is UNSTABLE. See TODO for details whats left to do.
2014-01-19 23:58:53 +01:00
TLINDEN
fa317c8dec
fixed invalid echo -n calls, which didnt work under /bin/sh
2013-12-19 16:53:08 +01:00
TLINDEN
212bd71ac8
added c++ signature support
2013-12-07 13:24:44 +01:00
TLINDEN
a842338c4a
added more (and better) c++ unittests
2013-12-02 22:54:04 +01:00
TLINDEN
ff78754ddd
added raw library encryption test with static keys, cipher and message
2013-11-24 19:59:55 +01:00
TLINDEN
bae13c712e
fixed lib loading
2013-11-16 15:56:07 +01:00
TLINDEN
6cde8ed52e
io disk tests extra
2013-11-16 13:45:28 +01:00
TLINDEN
b4d91293a6
.
2013-11-16 13:42:01 +01:00
TLINDEN
7cba8ec0bc
added tests for pcp -t -I $file determination mode
2013-11-12 19:44:22 +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
TLINDEN
71d7121c87
fixed key generation, now the ed25519 key is derived from a seed
...
and the curve25519 key is derived from the ed25519 key. the encrypted
part now contains the ed25519 secret.
2013-11-10 14:25:36 +01:00
TLINDEN
74a66e7456
added dependency check
2013-11-09 15:41:35 +01:00
TLINDEN
c12d7345ae
added unittest for yaml export
2013-11-09 15:35:43 +01:00
TLINDEN
1a772e15b8
added better error handling to vault writing, always use a tmp
...
vault file for writing. added matching unittest to check if
the code catches a disk full error.
2013-11-09 13:46:40 +01:00
git@daemon.de
60ee58b106
changed key format, now includes the ed25519 pubkey for signing.
2013-11-08 12:50:04 +01:00
TLINDEN
0e3835bf97
added GPLv3 disclaimer to everything.
2013-11-04 17:43:22 +01:00
TLINDEN
d598511a7e
fixed key export: now using big endian byte order for exported
...
keys, so they're platform independent when transported.
2013-11-04 14:03:43 +01:00
TLINDEN
79068fce66
-i is now optional for encryption if recipient specified, -R exchanged with -r, added virtual env for manual tests in tests/env/
2013-11-03 14:39:16 +01:00