Commit Graph

375 Commits

Author SHA1 Message Date
TLINDEN
57bcd9325b done 2014-02-10 11:33:00 +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
118428da45 fixed autogen script, didnt include config.h into pcp.h 2014-02-09 17:49:33 +01:00
TLINDEN
6829ea6fbc fixed catching of header string 2014-02-09 15:49:52 +01:00
TLINDEN
ce73950920 added buffer_get_str() which allows to retrieve buffer contents as char * 2014-02-09 13:51:35 +01:00
TLINDEN
83a4d0bb88 rewrote z85 decoder, uses Buffer* class now 2014-02-09 13:50:48 +01:00
TLINDEN
82883d92ac oops 2014-02-08 20:37:33 +01:00
TLINDEN
5bbe95f6fe re-generated unittests check files due changed z85 padding 2014-02-08 20:36:40 +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
b9841bfb06 continue new pk-expoert format 2014-02-08 20:35:34 +01:00
TLINDEN
8b19871046 even more open things... 2014-02-08 20:34:30 +01:00
TLINDEN
2d7a0d834c started with experimental pk export writer 2014-02-07 20:07:30 +01:00
git@daemon.de
607f2be281 fixed missing newlines 2014-02-07 16:59:12 +01:00
git@daemon.de
5161e15c69 added Buffer "class" based on openssh/buffer.c, which is a really beautiful idea. I'll use this for file i/o and data handling 2014-02-07 16:58:02 +01:00
git@daemon.de
cb873e3681 started with formalized key export format definition based on rfc4880 2014-02-07 16:56:57 +01:00
git@daemon.de
f94a9da803 added ucrealloc() 2014-02-07 16:55:56 +01:00
git@daemon.de
e107759f5b fixed spaces 2014-02-07 12:02:51 +01:00
git@daemon.de
7f4bccfaff updated pod 2014-02-07 11:55:44 +01:00
TLINDEN
181c5ddac4 finally fixed asymmetric encryption pbp<=>pcp, it now works 2014-02-06 20:09:55 +01:00
git@daemon.de
7d715ba880 finally got pbp key export/import to work. in order to make it happen, pbp needs to be patched (see pbp issue#10 for details!) to enable padding. 2014-02-06 16:30:50 +01:00
git@daemon.de
d1d169b1fc updated format descriptions to be more formal and reproducible 2014-02-06 11:26:45 +01:00
git@daemon.de
4a12cb0c2c Merge branch 'master' of github.com:TLINDEN/pcp 2014-02-06 09:52:50 +01:00
git@daemon.de
95b6e6e985 - 2014-02-06 09:52:31 +01:00
TLINDEN
8f24fc88f8 changed invalid // c++ comments to valid /* .. */ C comments 2014-02-05 20:41:16 +01:00
TLINDEN
6f3bdda6f1 autogen.sh now generates clean.sh which can be used to clean up the tree before comitting 2014-02-05 20:40:34 +01:00
TLINDEN
f481457ad7 get rid of that autoconf stuff, das geht mir vielleicht auf die nerven verdammt nochmal... 2014-02-05 20:00:56 +01:00
git@daemon.de
e2125351d7 added unittest for sign+encrypt 2014-02-05 14:04:55 +01:00
git@daemon.de
7848867ac0 ++ version 2014-02-05 13:10:07 +01:00
git@daemon.de
a89b16a15c fixed crypt+sign, now the sig contains the encrypted recipient list as well and is encrypted itself 2014-02-05 13:09:20 +01:00
git@daemon.de
5707ecbf9c added a generic _dump() function and put functions into its own C file... 2014-02-05 13:08:34 +01:00
git@daemon.de
192856446b fixed invalid usage about -c option (doesn't have a file parameter anymore) 2014-02-05 13:08:01 +01:00
git@daemon.de
42f700bf9c updated aconf bubble 2014-02-05 13:07:35 +01:00
git@daemon.de
f607bf448c ... should really remove this autoconf stuff from github.. 2014-02-03 12:20:25 +01:00
git@daemon.de
2beebb7b68 more open stuff... 2014-02-03 12:20:05 +01:00
git@daemon.de
777fa01c74 fixed scrypt() call and pbp pk export signature 2014-02-03 12:19:17 +01:00
TLINDEN
71013ac03d updated to changes in crypto.c 2014-02-02 16:06:51 +01:00
TLINDEN
90fbf2ccd7 fixed encrypted file header output (fwrite &uint8t isn't the same as fwrite uchar) 2014-02-02 16:05:38 +01:00
TLINDEN
1b1cdecf3f changed usage (--help) message, to be shorter and clearer 2014-01-30 20:55:23 +01:00
git@daemon.de
871a3c7696 added 2014-01-30 20:44:27 +01:00
git@daemon.de
369398eea9 - 2014-01-30 14:35:31 +01:00
git@daemon.de
bf0e592a03 pbp key support were still incompatible. now I can at least import pbp keys. 2014-01-30 14:33:59 +01:00
git@daemon.de
a822851c14 last update was wrong, since pbp exported keys are base85 encoded, fixed that. incorporated the git/base85.c and added source padding to it 2014-01-30 13:16:26 +01:00
git@daemon.de
dbdaf38185 use a struct to fetch in a pbp key (pbp_pubkey_t) instead of manual parsing 2014-01-29 12:53:42 +01:00
TLINDEN
68d8f640e6 fixed pbp import 2014-01-28 20:05:46 +01:00
git@daemon.de
3f1bfef581 added PBP public key import/export compatibility mode (-b --pbpcompat) 2014-01-28 16:53:26 +01:00
git@daemon.de
fa9d8ed800 don't print the whole usage if called wrongly, just tell about it. 2014-01-28 13:33:38 +01:00
git@daemon.de
df6cd442fb more todo 2014-01-28 13:27:16 +01:00
git@daemon.de
c18686804b fixed malloc() cast 2014-01-28 12:21:03 +01:00
git@daemon.de
5ae1d07067 added CBC encryption mode (configure --enable-cbc) 2014-01-28 12:20:30 +01:00