Commit Graph

64 Commits

Author SHA1 Message Date
Thomas von Dein
9c78f3ad63 last perl tests migrated to unittests.sh 2016-10-25 21:33:16 +02:00
Thomas von Dein
2cb91c93e0 move from unittest perl tp shell script, more portable and easier to understand 2016-10-25 16:33:12 +02:00
Thomas von Dein
f664cc24c4 bump 2016-10-20 23:12:00 +02:00
TLINDEN
671352bc29 unfortunately my tab/spc config was wrong for a couple of years. fixed all tabs=>spaces+re-indent 2016-05-09 22:24:13 +02:00
git@daemon.de
da70c4479e removed support to store unencrypted secret key 2015-08-19 20:53:46 +02:00
git@daemon.de
64a45583d0 added check for weak passphrase using entropy test 2015-08-17 20:15:20 +02:00
TLINDEN
27a9a96ae4 -C uses facilities of -x and -X 2015-07-22 07:59:28 +02:00
TLINDEN
362f7dff6b added support for authenticated hashes 2015-07-21 14:18:03 +02:00
git@daemon.de
f7e6351640 added tests for -C 2015-07-17 17:40:07 +02:00
TLINDEN
4fd1a78a99 if cpp build disabled, dont run cpp tests anymore 2015-07-08 01:20:45 +02:00
TLINDEN
57517a1000 abandoned yaml, perl and c key exporters, added json exporter using libjansson, enable with --with-json 2015-07-06 23:02:04 +02:00
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