git@daemon.de
5080e28e56
nothing
2015-10-15 17:18:15 +02:00
TLINDEN
54e21f5a00
get rid of snprintf()
2015-01-17 15:00:15 +01:00
TLINDEN
5b63832fc5
fix bug #4 , invalid size for format
2014-12-14 12:49:12 +01:00
git@daemon.de
2868caa7de
fixed format error
2014-08-14 19:24:42 +02:00
TLINDEN
e022a9e842
fixed memory leaks
2014-08-08 18:40:53 +02:00
TLINDEN
9672785271
fixed memory leaks
2014-08-07 00:02:43 +02:00
git@daemon.de
5b4d04de5d
fixed memory leaks
2014-08-06 20:19:50 +02:00
git@daemon.de
1e4e65b811
some debug statement lef abandoned
2014-08-01 14:46:09 +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
git@daemon.de
c8317a348e
do only pad if ! %4
2014-07-29 13:01:14 +02:00
git@daemon.de
64eb4651f8
added missing newlines to error messages
2014-05-05 12:01:55 +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
b6dadceda3
fixed utf8 bug, which sometimes lead to z85 handling of pure binary data
2014-03-17 19:15:04 +01:00
git@daemon.de
1c068d441d
check for zero sized input
2014-03-04 23:08:10 +01:00
TLINDEN
b640fe6743
fixed keysig saving (forgot the id), enhancements on cmdline
2014-03-02 18:05:45 +01:00
TLINDEN
93a9f2d307
fixed signature headers, fixed z85 string parser, it didnt properly catch END headers
2014-03-02 10:35:51 +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
git@daemon.de
fd3edfc728
fixed pcp_unpadfour() which didn't work at all (!!!)
2014-02-26 15:29:26 +01:00
TLINDEN
8b955b5e92
added -Wextra -Werror and fixed everything it had to mecker about
2014-02-25 18:05:32 +01:00
git@daemon.de
cbc45f5fa1
added is_utf8() check to _buffer_is_binary() so that utf8 comments inside z85 encoded data doesn't count as binary
2014-02-25 11:08:59 +01:00
git@daemon.de
51858aeda2
changed z85 header and comment syntax and parser
2014-02-24 16:59:04 +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
git@daemon.de
823fc8bbe0
added check if input is not binary
2014-02-13 15:30:23 +01:00
TLINDEN
75cdbbe835
continue to implement 4880 exports and stuff...
2014-02-13 00:06:55 +01:00
TLINDEN
f96cae9aa1
fixed bug with previously removed var definition
2014-02-10 11:39:12 +01:00
TLINDEN
ab03a10340
sanitized pcp_unpadfour(), just return the number of zero padding, leave the input pointer untouched; fixed header
2014-02-10 08:46:52 +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
6829ea6fbc
fixed catching of header string
2014-02-09 15:49:52 +01:00
TLINDEN
83a4d0bb88
rewrote z85 decoder, uses Buffer* class now
2014-02-09 13:50:48 +01:00
TLINDEN
da8f40b596
changed padding, dont use a pad counter anymore, just add zeroes and remove them afterwards
2014-02-08 20:36:05 +01:00
TLINDEN
8f24fc88f8
changed invalid // c++ comments to valid /* .. */ C comments
2014-02-05 20:41:16 +01:00
TLINDEN
69e1d2ee47
added error checking
2013-12-19 16:54:16 +01:00
TLINDEN
4d34a9135e
splitted pcp_readz85file() and added pcp_readz85string() which makes a better interface
2013-12-02 22:50:45 +01:00
TLINDEN
04dbf19381
fixed yet another endian issue (I used the wrong define for it)
2013-11-19 21:02:59 +01:00
TLINDEN
80ec5014a8
fixed z85 encoding overflow bug, fixed signature code on big-endian systems.
2013-11-19 17:17:30 +01:00
TLINDEN
da55e17ff7
fixed invalid malloc if char *z85
2013-11-16 15:13:03 +01:00
TLINDEN
0e3835bf97
added GPLv3 disclaimer to everything.
2013-11-04 17:43:22 +01:00
TLINDEN
58a3bca8d7
replaces old bzero() with memset().
2013-10-29 23:08:43 +01:00
TLINDEN
2d7babae35
initial commit
2013-10-28 22:50:05 +01:00