TLINDEN
6f47b86f98
added pcpkey_setowner(), removed pcp[pub]key_exists() (unused currently)
2014-12-14 14:36:08 +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
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
e8f6a8635c
added pcphash_cleanpub() to free local pubkey hashes, which are not attached to any context
2014-08-07 21:32:48 +02:00
TLINDEN
9672785271
fixed memory leaks
2014-08-07 00:02:43 +02:00
TLINDEN
8954df7110
buffer_get_remainder() return pointer to chunk, not allocated copy anymore
2014-08-07 00:02:05 +02:00
git@daemon.de
5b4d04de5d
fixed memory leaks
2014-08-06 20:19:50 +02:00
git@daemon.de
a3f1bdaa2e
added buffer_fwd_offset() so I don't have to alloc mem to ignore some chunk of a buffer
2014-08-06 20:19:28 +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
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
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
9d2d02221b
added dump function
2014-05-06 11:49:59 +02:00
git@daemon.de
64eb4651f8
added missing newlines to error messages
2014-05-05 12:01:55 +02:00
git@daemon.de
f01c2d2ca0
fixed invalid handling of pcp_err saving (crashed)
2014-05-05 12:00:56 +02:00
git@daemon.de
e11c295b42
fixed integer overflows when importing keys with invalid header sizes (or invalid headers, that is)
2014-05-05 11:59:54 +02:00
TLINDEN
86e815346a
Merge branch 'master' of github.com:TLINDEN/pcp
...
Conflicts:
libpcp/crypto.c
2014-05-04 17:14:16 +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
git@daemon.de
0476fa0795
get rid of static buffers
2014-03-18 09:56:30 +01:00
TLINDEN
b6dadceda3
fixed utf8 bug, which sometimes lead to z85 handling of pure binary data
2014-03-17 19:15:04 +01:00
TLINDEN
322a135ee3
using Buffer instead of void for key2blob storage directly
2014-03-17 18:04:26 +01:00
TLINDEN
b3851f62e8
revert mode changes made by windows devel system (sic)
2014-03-17 17:20:29 +01:00
git@daemon.de
9e234600ca
converted the arc4* function wrappers to makros
2014-03-17 17:06:14 +01:00
git@daemon.de
2e337c3aeb
made the platform replacement functions extern
2014-03-17 15:19:56 +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
080456219a
removed unused vars
2014-03-14 19:50:12 +01:00
git@daemon.de
79e25bc05e
fixed use of uninitialized var x
2014-03-10 17:04:15 +01:00
git@daemon.de
3594a53cd5
fixed invalid malloc (notation size, missed trailing zero)
2014-03-10 17:03:27 +01:00
git@daemon.de
ad0c0bf0f7
fixed invalid sigstart initial size
2014-03-10 17:02:29 +01:00
git@daemon.de
e2a509f30b
fixed early free() and invalid malloc of pubkey (with size of skey)
2014-03-10 17:01:35 +01:00
git@daemon.de
3f8efaeec4
fixed invalid vasnprintf() calls
2014-03-10 17:01:00 +01:00
git@daemon.de
c3070242a8
fixed invalid vasnprintf() calls
2014-03-10 17:00:31 +01:00
git@daemon.de
1c068d441d
check for zero sized input
2014-03-04 23:08:10 +01:00
git@daemon.de
9d60f7524d
fixed decoding of files smaller than blocksize, fixed check for EOF without newline
2014-03-04 23:07:08 +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
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
32b24a08c5
Merge branch 'master' of github.com:TLINDEN/pcp
2014-02-27 20:02:36 +01:00
git@daemon.de
db125d7e79
dammit!
2014-02-27 20:02:15 +01:00
TLINDEN
efb2665497
fixed invalid tests
2014-02-27 19:53:25 +01:00
git@daemon.de
49b2c191b0
Merge branch 'master' of github.com:TLINDEN/pcp
2014-02-27 19:44:53 +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
2b54ac015a
fixed another bug in ps_read_cached (buffer overflow in fact)
2014-02-26 18:26:44 +01:00