Commit Graph

484 Commits

Author SHA1 Message Date
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
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
git@daemon.de
080456219a removed unused vars 2014-03-14 19:50:12 +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
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
770d464dd1 added inline stdnstr() implementation for systems where it doesnt exists (e.g. linux) 2014-03-10 16:58:48 +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
71faa88592 portability fixes (compiles under macosx 5.8 as well, probably on newer ones as well) 2014-03-08 19:27:52 +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
8fe28625fc removed -S and -P, replaced by -K, keymgmt determines key type automatically 2014-03-04 23:06:49 +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
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
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
5281fd4042 bump 2014-02-27 13:58:11 +01:00
git@daemon.de
0d86dee4ee fixed doc 2014-02-27 13:57:24 +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
927541092d added streams+armor unittest 2014-02-26 18:27:34 +01:00
TLINDEN
1ac81a3ac3 added support for backticks in variables 2014-02-26 18:27:10 +01:00
TLINDEN
2b54ac015a fixed another bug in ps_read_cached (buffer overflow in fact) 2014-02-26 18:26:44 +01:00
git@daemon.de
c11ce76d21 fixed ps_eof(): consider cache. fixed ps_read_cached() which didn't work under certain circumstances (blocksize < readbytes and such) 2014-02-26 15:32:46 +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
git@daemon.de
fd3edfc728 fixed pcp_unpadfour() which didn't work at all (!!!) 2014-02-26 15:29:26 +01:00
git@daemon.de
504ff55a00 added buffer_get_chunk_tobuf() which copies some chunk from one buffer to the other without a temporary variable 2014-02-26 15:27:53 +01:00
TLINDEN
0069d6ea29 yet another pcpstream problem noted 2014-02-25 19:52:59 +01:00
TLINDEN
271c6259c2 added -O2 2014-02-25 19:30:07 +01:00
TLINDEN
8b955b5e92 added -Wextra -Werror and fixed everything it had to mecker about 2014-02-25 18:05:32 +01:00