Commit Graph

40 Commits

Author SHA1 Message Date
git@daemon.de
cbc45f5fa1 added is_utf8() check to _buffer_is_binary() so that utf8 comments inside z85 encoded data doesn't count as binary 2014-02-25 11:08:59 +01:00
TLINDEN
99f611ab80 fixed tilde z85 headers in signature stuff as well 2014-02-24 19:52:57 +01:00
git@daemon.de
51858aeda2 changed z85 header and comment syntax and parser 2014-02-24 16:59:04 +01:00
TLINDEN
10d3b1aa90 brought to current 2014-02-21 20:38:01 +01:00
TLINDEN
fe1ea9cb76 Revert "rm html stuff from repo, changes too often. enhanced pcpstream"
This reverts commit 82b05b768e.
2014-02-21 20:35:10 +01:00
git@daemon.de
82b05b768e rm html stuff from repo, changes too often. enhanced pcpstream 2014-02-21 19:56:01 +01:00
git@daemon.de
1afb5cc3d7 fixed annoying error in _buffer_is_binary() which returned false sometimes even when the input were in fact binary. This fixes those 2 annoying unittests which failed from time to time. 2014-02-17 17:03:55 +01:00
TLINDEN
3f03f97992 catched up api changes, fixed dysfunctional c++ signature api, enhanced c++ Buf class. 2014-02-16 15:29:19 +01:00
TLINDEN
1342fa2b45 fixes and stuff 2014-02-15 17:39:51 +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
ec192131af done a lot 2014-02-13 20:22:17 +01:00
git@daemon.de
0a8206b3b0 update to new formats 2014-02-13 15:33:51 +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
TLINDEN
57bcd9325b done 2014-02-10 11:33:00 +01:00
TLINDEN
83a4d0bb88 rewrote z85 decoder, uses Buffer* class now 2014-02-09 13:50:48 +01:00
TLINDEN
8b19871046 even more open things... 2014-02-08 20:34:30 +01:00
git@daemon.de
42f700bf9c updated aconf bubble 2014-02-05 13:07:35 +01:00
git@daemon.de
2beebb7b68 more open stuff... 2014-02-03 12:20:05 +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
git@daemon.de
df6cd442fb more todo 2014-01-28 13:27:16 +01:00
git@daemon.de
5ae1d07067 added CBC encryption mode (configure --enable-cbc) 2014-01-28 12:20:30 +01:00
git@daemon.de
038439bbfb Merge branch 'master' of github.com:TLINDEN/pcp
Conflicts:
	TODO
2014-01-27 11:30:30 +01:00
git@daemon.de
78616a5848 b 2014-01-27 11:26:40 +01:00
TLINDEN
52a7509fe2 sig calculation and output follows pbp scheme. unittests, doc and
detached sigs still missing.
2014-01-26 11:57:23 +01:00
git@daemon.de
67ba04f3bd moved file en/de-cryption from src to libpcp, which makes it way easier to
implement pbp compatibility
2014-01-20 10:16:05 +01:00
TLINDEN
05db2f1204 modifications to match recent changes. that's just preparation of more changes towards PBP-Compatibility. Current state is UNSTABLE. See TODO for details whats left to do. 2014-01-19 23:58:53 +01:00
TLINDEN
212bd71ac8 added c++ signature support 2013-12-07 13:24:44 +01:00
TLINDEN
14bead5499 - 2013-12-02 22:54:57 +01:00
TLINDEN
aa140ed1c8 c++ binding now supports vaults and encryption, added test program 2013-12-01 16:16:53 +01:00
TLINDEN
04dbf19381 fixed yet another endian issue (I used the wrong define for it) 2013-11-19 21:02:59 +01:00
TLINDEN
8b3b76d52d . 2013-11-19 17:20:18 +01:00
TLINDEN
c4940b966c more aix/big-endian fixes 2013-11-18 21:48:24 +01:00
TLINDEN
5e8324bb0b fixed yet another endianess problem, now always using the raw key values for export, sotrage and checksum calculation 2013-11-18 17:38:03 +01:00
TLINDEN
1a772e15b8 added better error handling to vault writing, always use a tmp
vault file for writing. added matching unittest to check if
the code catches a disk full error.
2013-11-09 13:46:40 +01:00
TLINDEN
bf5556e1ec bugfix in encryption key computing, added new feature: derived public keys 2013-11-02 11:02:36 +01:00
TLINDEN
58a3bca8d7 replaces old bzero() with memset(). 2013-10-29 23:08:43 +01:00
TLINDEN
2d7babae35 initial commit 2013-10-28 22:50:05 +01:00