Commit Graph

31 Commits

Author SHA1 Message Date
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
git@daemon.de
3a4e40710b moved key dump functions to the lib 2014-02-19 20:38:21 +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
efdf2987ae moved the actual public key export code out into the lib (mgmt.c). cmdline client does only armor the blobs, if neccessary. Also, armored pubkey exports don't contain any comments anymore. 2014-02-10 11:37:42 +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
TLINDEN
8f24fc88f8 changed invalid // c++ comments to valid /* .. */ C comments 2014-02-05 20:41:16 +01:00
git@daemon.de
777fa01c74 fixed scrypt() call and pbp pk export signature 2014-02-03 12:19:17 +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
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
c717c060ec re-implemented signature system to match the standard (orinal input, including sig for full sig; or 32k blockwise hash of input and sig from hash attached to original input without the hash), verify_buffered currently not implemented, armored sig only for output. 2014-01-23 15:40:06 +01:00
TLINDEN
a9b2796af2 renamed 'public' to 'pub' to avoid conflict with c++ api 2013-11-29 20:01:42 +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
91c9a12641 arg, had the double free(p) still in pcptext_key() for testing and forgot to remove it 2013-11-12 15:01:10 +01:00
git@daemon.de
79dc73d837 fixed use of derived key in signatures 2013-11-11 08:24:05 +01:00
TLINDEN
f51d753a3e tuned yaml and dump functions to the new key format, re-generated the testkeys 2013-11-10 14:32:48 +01:00
TLINDEN
c12d7345ae added unittest for yaml export 2013-11-09 15:35:43 +01:00
TLINDEN
aecf4cab74 output fix 2013-11-09 14:45:14 +01:00
TLINDEN
2d8d0a27d9 added option -y which allows to export the whole vault as yaml. 2013-11-09 14:32:42 +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
git@daemon.de
60ee58b106 changed key format, now includes the ed25519 pubkey for signing. 2013-11-08 12:50:04 +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
08ce1c1b8e fixed libtools portability bug, fixed arc4random() portability,
fixed htobe32 and be32toh portability, fixed error handling in main(),
fixed invalid type parameter for randomart image in pcppubkey_printshortinfo(),
fixed configure search for libsodium.
2013-10-29 22:14:34 +01:00
TLINDEN
2d7babae35 initial commit 2013-10-28 22:50:05 +01:00