Commit Graph

23 Commits

Author SHA1 Message Date
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
26d4ee43c5 started to implement pbp compatibility, added support for multiple -r options,
using it now to look through the vault for recipients, -i to follow. current
state: encrypt produces output without errors or crashes; decrypt is incompatible
for the moment.
2014-01-21 16:11:04 +01:00
TLINDEN
e20a0683c6 dropped "derived key feature", pk-encryption now uses a random keypair on the sender side, puts the public part of it into the encrypted output and drops the keypair, no more key-id will be sent over the wire, be it hashed or whatelse. 2014-01-19 23:57:11 +01:00
TLINDEN
a9b2796af2 renamed 'public' to 'pub' to avoid conflict with c++ api 2013-11-29 20:01:42 +01:00
TLINDEN
314dbde0b9 finally it works on aix, at least sec/pub key stuff, signatures still hang 2013-11-19 10:06:24 +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
5a8e3ee8b0 moved all uthash related code into keyhash.c 2013-11-13 13:06:01 +01:00
git@daemon.de
a76ff60d7a added pcptext_infile(), used with pcp1 -t -I $file, which determines filetype
by content. minor debugging changes.
2013-11-12 16:58:59 +01:00
git@daemon.de
32f49b6009 added a request prompt if the user didn't enter a passphrase 2013-11-12 10:37:32 +01:00
git@daemon.de
8d9fdd091d fixed unencrypted secret key support 2013-11-12 10:26:47 +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
0e3835bf97 added GPLv3 disclaimer to everything. 2013-11-04 17:43:22 +01:00
TLINDEN
d598511a7e fixed key export: now using big endian byte order for exported
keys, so they're platform independent when transported.
2013-11-04 14:03:43 +01:00
git@daemon.de
3e4355c4e7 fixed two crashes (-k and -t under cygwin) 2013-11-03 19:38:35 +01:00
TLINDEN
a1794a4775 always use lowercase version of emailadresses. 2013-11-03 14:50:03 +01:00
TLINDEN
79068fce66 -i is now optional for encryption if recipient specified, -R exchanged with -r, added virtual env for manual tests in tests/env/ 2013-11-03 14:39:16 +01:00
TLINDEN
bf5556e1ec bugfix in encryption key computing, added new feature: derived public keys 2013-11-02 11:02:36 +01:00
TLINDEN
2d7babae35 initial commit 2013-10-28 22:50:05 +01:00