Commit Graph

111 Commits

Author SHA1 Message Date
git@daemon.de
6600d79325 fixed linking to be clang compatible, made -g and -O? configurable 2015-01-07 12:31:21 +01:00
git@daemon.de
375a1db398 py: added doc, unittests, anonymous encryption mode 2014-12-24 11:18:39 +01:00
git@daemon.de
5f8d50ec47 py: added doc, unittests, anonymous encryption mode 2014-12-24 11:17:03 +01:00
TLINDEN
7d76d41944 added configure flag --with-python-binding 2014-12-14 14:39:10 +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
TLINDEN
02930178b2 fixed memory leak 2014-08-04 22:55:33 +02:00
git@daemon.de
e6a5c51d8a C++ API changes+fixes:
- context is now a pointer to make sure there's only one all the time
- fixed a couple of double free's
- some minor bug fixes
2014-08-01 14:46:38 +02:00
git@daemon.de
eb84621a89 fixed linux compile error (ignored read return value) 2014-08-01 08:31:50 +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
ffaf37614a fixed crypto++ recipient hash handling 2014-05-06 20:35:47 +02:00
TLINDEN
db264ff16b fit latest changes 2014-05-06 11:49:09 +02:00
git@daemon.de
7ae0cedcb1 adapted pcp context stuff 2014-05-05 12:01:25 +02:00
git@daemon.de
01f149d4f1 adapt unittests to new pcp context stuff 2014-05-05 11:57:57 +02:00
git@daemon.de
8336e57c43 fixed subtest names 2014-03-18 09:55:59 +01: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
85e2853925 added loop feature (variable loop = $count) to execute the same test multiple times 2014-03-14 15:50:32 +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
c5903ad7b4 fixed invalid fread() call 2014-03-10 17:04:59 +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
0767e55e55 added -L, enhanced -E 2014-03-02 18:04:54 +01:00
TLINDEN
4253e1088f rewrote z85 stream decoder (again), using hyphens again. clearsig doesn't work yet, a newline problem... 2014-03-01 18:51:25 +01:00
git@daemon.de
b8552af5e9 - broken - reimplementing z85 decoder, using hyphens again, doesn't work yet... 2014-03-01 11:58:10 +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
git@daemon.de
deace4109c added tests/pipetest.c so I can test pcpstream with armoring with various blocksizes 2014-02-26 15:31:45 +01:00
TLINDEN
8b955b5e92 added -Wextra -Werror and fixed everything it had to mecker about 2014-02-25 18:05:32 +01:00
TLINDEN
99f611ab80 fixed tilde z85 headers in signature stuff as well 2014-02-24 19:52:57 +01:00
git@daemon.de
51858aeda2 changed z85 header and comment syntax and parser 2014-02-24 16:59:04 +01:00
TLINDEN
5dd40a1779 fixed decoding and cached read 2014-02-23 11:03:49 +01:00
TLINDEN
10d3b1aa90 brought to current 2014-02-21 20:38:01 +01:00
TLINDEN
fe1ea9cb76 Revert "rm html stuff from repo, changes too often. enhanced pcpstream"
This reverts commit 82b05b768e.
2014-02-21 20:35:10 +01:00
git@daemon.de
82b05b768e rm html stuff from repo, changes too often. enhanced pcpstream 2014-02-21 19:56:01 +01:00
TLINDEN
30481fed9a added Pcpstream example 2014-02-20 21:02:52 +01:00
git@daemon.de
08bc0bc8bf updated api docs. 2014-02-20 15:36:49 +01:00
git@daemon.de
f13f60bfc2 added buffer_new_buf() which makes it possible to back a Buffer with an existing pointer without copying 2014-02-20 15:36:12 +01:00
git@daemon.de
72ccb0782e added a sample for lib usage 2014-02-19 20:38:56 +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
3f03f97992 catched up api changes, fixed dysfunctional c++ signature api, enhanced c++ Buf class. 2014-02-16 15:29:19 +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
82883d92ac oops 2014-02-08 20:37:33 +01:00