Commit Graph

233 Commits

Author SHA1 Message Date
TLINDEN
935e28dff6 fix #15: dont free localtime() returned pointer 2015-11-15 16:35:56 +01:00
git@daemon.de
4e5c27c58c rm dbg print, fix #13 2015-10-23 12:25:52 +02:00
git@daemon.de
c7108ec47f fixed stream-reader bug on aix@ppc, which ignored the last z85 pkt sometimes due invalid call to ps_end() 2015-10-16 17:25:17 +02:00
git@daemon.de
5080e28e56 nothing 2015-10-15 17:18:15 +02:00
git@daemon.de
aa1aeb6975 nothing 2015-10-15 17:18:02 +02:00
git@daemon.de
0c5ab80654 fixed err() implementation, exit(eval) according to spec 2015-10-15 13:13:44 +02:00
git@daemon.de
359be6bce7 rm stdin=NULL, catched in main() anyway 2015-10-15 13:13:03 +02:00
TLINDEN
ae5be44182 fixed _gen_ctr_nonce(), reported in #12: invalid ctr comparision did lead to counter underflow 2015-10-14 19:53:03 +02:00
git@daemon.de
3a8d8c010f fixed memory leak during decrypt, reported in #10 2015-10-12 12:17:51 +02:00
TLINDEN
bbdda67a6e using constant time memcmp by C.Meessen 2015-08-27 11:19:24 +02:00
git@daemon.de
1b7681ee83 fix format for json int values 2015-08-24 20:31:04 +02:00
git@daemon.de
44347793c1 rm printf 2015-08-24 20:14:54 +02:00
git@daemon.de
79874d5915 using json_int_t for uint32_ts json import 2015-08-24 16:31:18 +02:00
git@daemon.de
da70c4479e removed support to store unencrypted secret key 2015-08-19 20:53:46 +02:00
TLINDEN
48283e7e04 fix :565:18: error, again, was a typo. not =- 1, but = -1. 2015-08-17 09:24:21 +02:00
TLINDEN
ac09fc1a2b fix :565:18: error: use of unary operator that may be intended as compound 2015-08-17 09:00:52 +02:00
TLINDEN
0d7282ad35 add entropy check for entered passphrases 2015-08-16 21:35:06 +02:00
TLINDEN
c363dce7de using libsodiums size constants everywhere (keysizes and the likes) 2015-08-15 20:38:33 +02:00
TLINDEN
f091a28589 use mzero instead of wasting randomness 2015-08-15 13:04:30 +02:00
TLINDEN
7b3005e790 added context to pcp_readpass(), rm libpcp/getpass.c 2015-07-30 11:47:03 +02:00
TLINDEN
0046db9136 added extpass option 2015-07-30 11:46:17 +02:00
TLINDEN
362f7dff6b added support for authenticated hashes 2015-07-21 14:18:03 +02:00
git@daemon.de
0811957a46 added -C to generate a blake2 checksum of one or more files 2015-07-17 16:22:12 +02:00
TLINDEN
0eb7de0921 fixed json secret key export (now export the whole encrypted blob, since only that blob is being used to parse the key). added support to import json secret keys 2015-07-09 18:38:27 +02:00
TLINDEN
da6dda795b fixed error return to 0, -1 lead to int overflows 2015-07-09 18:37:33 +02:00
TLINDEN
2d3fc9d8e3 added json pubkey import 2015-07-08 23:53:11 +02:00
TLINDEN
775935a958 store ed25519 key sig as well (forgot that previously) 2015-07-08 23:52:46 +02:00
git@daemon.de
e508616812 re-added pcp_import_pub(), still in use by cpp api 2015-07-08 12:00:43 +02:00
TLINDEN
579715f560 added full json support for -p, -s, -t and -K (though only pubs for the latter at the moment) 2015-07-08 01:24:25 +02:00
TLINDEN
4d68e52945 added _hex2bin() 2015-07-08 01:23:10 +02:00
git@daemon.de
6ce39a21d8 fixed compile error (unused var) 2015-07-07 09:46:23 +02:00
TLINDEN
57517a1000 abandoned yaml, perl and c key exporters, added json exporter using libjansson, enable with --with-json 2015-07-06 23:02:04 +02:00
git@daemon.de
0dbf5df943 added checks to avoid overflows caused by user supplied field sizes 2015-06-26 11:13:03 +02:00
TLINDEN
65d039501d added option -X 2015-05-30 11:11:20 +02:00
TLINDEN
d019ec4b9e removed unused code (base85 and crc32) 2015-04-19 19:49:13 +02:00
TLINDEN
a0926f4c82 calling sodium_init() from ptx_new() since required for everything anyway 2015-04-18 20:26:31 +02:00
TLINDEN
62281565d9 removed tarsnaps scrypt(), using libsodiums instead 2015-04-17 17:40:10 +02:00
TLINDEN
5cc0a5679f switched to sodium scrypt(), which should be more portable 2015-04-17 17:13:20 +02:00
TLINDEN
9737893e0a fixed includes and function checks for scrypt 2015-04-17 14:14:38 +02:00
TLINDEN
177ad8a8f2 more debuggin...2 2015-04-17 13:32:48 +02:00
TLINDEN
8c024afad9 more debuggin... 2015-04-17 13:22:34 +02:00
TLINDEN
63539612ca debug sec key import 2015-04-17 13:06:01 +02:00
TLINDEN
ce7e1c378a fixed double free of buffer blob in pcp_import_pub_pbp 2015-04-17 11:41:43 +02:00
TLINDEN
8d552ddf43 fixed invalid size used in zeroing buf_clear 2015-04-17 11:41:18 +02:00
TLINDEN
726793f032 fixed memory leak, caused by change from yesterday 2015-04-17 09:44:22 +02:00
TLINDEN
c86d497e09 fixed bug in pcp_encrypt_stream_sym(), freed buffer before using it in update_hash() 2015-04-16 21:23:27 +02:00
TLINDEN
30bd90381c fix #9: enable verifying own signature for normal sigs as well 2015-04-01 20:47:35 +02:00
TLINDEN
677eb92001 fix #9: enable verifying own signature 2015-04-01 20:40:08 +02:00
TLINDEN
9e2050df74 fix #7 part one, initialize ctr 2015-03-31 17:27:20 +02:00
TLINDEN
af2edba2d7 oops 2015-03-31 17:26:24 +02:00