Commit Graph

124 Commits

Author SHA1 Message Date
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
65d039501d added option -X 2015-05-30 11:11:20 +02:00
TLINDEN
d019ec4b9e removed unused code (base85 and crc32) 2015-04-19 19:49:13 +02:00
TLINDEN
8535b50f94 added -M; removed CBC support, fixed asym-self-mode 2015-01-17 15:04:07 +01:00
TLINDEN
61c6c338f8 updated doc 2015-01-17 15:01:31 +01:00
TLINDEN
3c30d8871b using secure memory where applicable using sodium_malloc or sodium_mlock, where not 2015-01-13 13:07:32 +01:00
TLINDEN
f0494385e1 now using setrlimit() if present and if not in debug mode; applied changes for removed files 2015-01-13 13:06:20 +01:00
TLINDEN
7dbd011d8d fixed Makefiles for "make dist" 2015-01-07 19:10:52 +01:00
git@daemon.de
6600d79325 fixed linking to be clang compatible, made -g and -O? configurable 2015-01-07 12:31:21 +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
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
9672785271 fixed memory leaks 2014-08-07 00:02:43 +02:00
TLINDEN
7542128486 fixed memory leaks 2014-08-06 01:23:32 +02:00
git@daemon.de
9796332826 fixed double free() in pcpdelete_key() 2014-08-01 08:34:53 +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
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
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
b3851f62e8 revert mode changes made by windows devel system (sic) 2014-03-17 17:20:29 +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
f383630e8e fixed buffer overflow with too small line buffer 2014-03-10 16:57:49 +01:00
git@daemon.de
5e82b7ec7b fixed buffer overflow when calling pcp_scrypt(), used invalid passwd size 2014-03-10 16:57:01 +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
3d2cdb8b89 updated manpage and usage 2014-03-02 22:01:03 +01:00
TLINDEN
0767e55e55 added -L, enhanced -E 2014-03-02 18:04:54 +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
0069d6ea29 yet another pcpstream problem noted 2014-02-25 19:52:59 +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
3b1db06529 changed all occurrences of unsigned char to byte (defined in defines.h) to make the code more precise about sizes. 2014-02-25 11:09:58 +01:00
git@daemon.de
51858aeda2 changed z85 header and comment syntax and parser 2014-02-24 16:59:04 +01:00
TLINDEN
33d80dab29 fixed empty goto 2014-02-22 19:59:41 +01:00
TLINDEN
ab142a47b6 fixed double buffer_free() 2014-02-22 16:00:07 +01:00
git@daemon.de
08bc0bc8bf updated api docs. 2014-02-20 15:36:49 +01:00
git@daemon.de
3a4e40710b moved key dump functions to the lib 2014-02-19 20:38:21 +01:00
TLINDEN
cf8402aec0 added pcpstream usage to signature lib code as well 2014-02-15 17:39:16 +01:00
TLINDEN
e78269fceb added pcpstream, which wraps buffers or file i/o, so crypto code doesn't have to know if it works with a file or a buffer. makes the api much more flexible 2014-02-15 13:10:51 +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
TLINDEN
5e04147a35 added C pk export 2014-02-13 20:20:50 +01:00
git@daemon.de
7408ebd90c added yaml and perl pubkey export formats (c and python will follow) 2014-02-13 17:05:22 +01:00
git@daemon.de
7083084e4f finalized new export formats and fixed lots of bug introduced during last changes 2014-02-13 15:33:17 +01:00
TLINDEN
75cdbbe835 continue to implement 4880 exports and stuff... 2014-02-13 00:06:55 +01:00
git@daemon.de
621cece568 changed secret key export format, now we encrypt the whole thing, and we use an extra passphrase to do so. import wrapper in src/ not implemented yet. 2014-02-12 16:47:24 +01:00
TLINDEN
6d738ccbf8 changed public key export format to (slightly modified) RFC4880 style (openpgp format).
Current state is totally unstable, it's not yet ready.
2014-02-12 00:37:41 +01:00