Commit Graph

493 Commits

Author SHA1 Message Date
git@daemon.de
7b9817a9c0 added symlink so it can be installed as well 2015-01-05 12:56:26 +01:00
TLINDEN
97be3cd4ef added some final output about compilation 2015-01-01 15:52:58 +01:00
git@daemon.de
5e2ee0aef2 bump version to 0.2.4 2014-12-24 11:19:01 +01:00
git@daemon.de
375a1db398 py: added doc, unittests, anonymous encryption mode 2014-12-24 11:18:39 +01:00
git@daemon.de
e915bfe2ed fix invalid memset on buffer backed stream in ps_end() 2014-12-24 11:17:48 +01:00
git@daemon.de
5f8d50ec47 py: added doc, unittests, anonymous encryption mode 2014-12-24 11:17:03 +01:00
TLINDEN
b52ac4b0df py: added asym en/decryption, fine tuned test script 2014-12-23 20:13:52 +01:00
TLINDEN
87efb36e46 pypcp: started with decrypt 2014-12-22 19:48:36 +01:00
git@daemon.de
3061192193 fail if trying to encrypt using an empty input buffer 2014-12-22 16:23:38 +01:00
git@daemon.de
533ca6b993 added %p to buffer_info() 2014-12-22 16:23:09 +01:00
git@daemon.de
45c5daae54 started with py crypto, enhanced raw.py generation, better autoconf integration 2014-12-22 16:22:52 +01:00
TLINDEN
28a0405d55 two more bugs of the same kind as in #5 2014-12-21 14:16:43 +01:00
TLINDEN
6c42c964b9 fixed segfault in free(), used strlen of wrong variable. fixes #5 2014-12-21 12:31:44 +01:00
TLINDEN
1e3f6c8bc2 yet another try to fix #4, now tested on another linux system 2014-12-20 20:10:08 +01:00
TLINDEN
85db8c664c fixed glibc deprecated _BSD_SOURCE 2014-12-19 20:31:55 +01:00
TLINDEN
5f13d5d810 py continued 2014-12-14 18:06:45 +01:00
TLINDEN
7d76d41944 added configure flag --with-python-binding 2014-12-14 14:39:10 +01:00
TLINDEN
9e71b84c85 started with python binding 2014-12-14 14:38:30 +01:00
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
TLINDEN
3a29223c9f the normal autogen.sh run doesn't generate usage.h and other generated stuff on users machines. I pre-generate them here, where I know it works as I expect. This should fix issue#3, where on some linux machines generation of usage.h doesn't work which leads to a compiler error. 2014-09-29 11:24:02 +02:00
git@daemon.de
83912a1d16 disable running contests when cross compiling 2014-09-17 10:02:06 +02:00
git@daemon.de
2868caa7de fixed format error 2014-08-14 19:24:42 +02:00
TLINDEN
4bfc077f53 updated pod + bumped version 2014-08-11 19:27:38 +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
230a9a2341 modified for changed output 2014-08-07 21:33:20 +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
3778b3f44e make valgrind usage easier 2014-08-07 21:31:52 +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
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
1e4e65b811 some debug statement lef abandoned 2014-08-01 14:46:09 +02:00
git@daemon.de
9796332826 fixed double free() in pcpdelete_key() 2014-08-01 08:34:53 +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
git@daemon.de
c8317a348e do only pad if ! %4 2014-07-29 13:01:14 +02:00
TLINDEN
ffaf37614a fixed crypto++ recipient hash handling 2014-05-06 20:35:47 +02:00
TLINDEN
dc457b6eb9 updated 2014-05-06 11:51:54 +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
TLINDEN
729c137e3c context fixes 2014-05-06 11:49:31 +02:00
TLINDEN
db264ff16b fit latest changes 2014-05-06 11:49:09 +02:00
git@daemon.de
fd739b864d + 2014-05-05 12:47:18 +02:00
git@daemon.de
64eb4651f8 added missing newlines to error messages 2014-05-05 12:01:55 +02:00