Commit Graph

147 Commits

Author SHA1 Message Date
Thomas von Dein
ceca615fef catch missing input 2016-10-25 13:18:24 +02:00
TLINDEN
671352bc29 unfortunately my tab/spc config was wrong for a couple of years. fixed all tabs=>spaces+re-indent 2016-05-09 22:24:13 +02:00
TLINDEN
e847e7057d fix #14: use longterm secret key for signing in -Ac mode (anonymous encrypt+sign) 2015-12-07 14:13:27 +01:00
TLINDEN
ea1d20e0af remove call to sodium_init() because already done on context.c 2015-11-15 17:03:19 +01:00
git@daemon.de
a6940f8b87 abandon warn() not used anywhere else 2015-10-15 13:12:22 +02:00
git@daemon.de
da70c4479e removed support to store unencrypted secret key 2015-08-19 20:53:46 +02:00
git@daemon.de
64a45583d0 added check for weak passphrase using entropy test 2015-08-17 20:15:20 +02:00
TLINDEN
d2ee10f071 fixed invalid free 2015-08-17 11:17:04 +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
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
27a9a96ae4 -C uses facilities of -x and -X 2015-07-22 07:59:28 +02:00
TLINDEN
362f7dff6b added support for authenticated hashes 2015-07-21 14:18:03 +02:00
git@daemon.de
91502d63a1 need format 2015-07-17 18:53:48 +02:00
git@daemon.de
55ed295426 need format 2015-07-17 18:45:40 +02:00
git@daemon.de
3c7679706f fix (null) output if input for -C is stdin 2015-07-17 17:27:01 +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
git@daemon.de
6dfb15ade6 regenerated 2015-07-17 16:21:22 +02:00
TLINDEN
2d3fc9d8e3 added json pubkey import 2015-07-08 23:53:11 +02:00
TLINDEN
cc47e63731 updated 2015-07-08 23:52:08 +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
444a5414cf updated 2015-07-08 01:21:07 +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
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
8535b50f94 added -M; removed CBC support, fixed asym-self-mode 2015-01-17 15:04:07 +01:00
TLINDEN
61c6c338f8 updated doc 2015-01-17 15:01:31 +01:00
TLINDEN
3c30d8871b using secure memory where applicable using sodium_malloc or sodium_mlock, where not 2015-01-13 13:07:32 +01:00
TLINDEN
f0494385e1 now using setrlimit() if present and if not in debug mode; applied changes for removed files 2015-01-13 13:06:20 +01:00
TLINDEN
7dbd011d8d fixed Makefiles for "make dist" 2015-01-07 19:10:52 +01:00
git@daemon.de
6600d79325 fixed linking to be clang compatible, made -g and -O? configurable 2015-01-07 12:31:21 +01:00
TLINDEN
28a0405d55 two more bugs of the same kind as in #5 2014-12-21 14:16:43 +01:00
TLINDEN
6c42c964b9 fixed segfault in free(), used strlen of wrong variable. fixes #5 2014-12-21 12:31:44 +01:00
TLINDEN
1e3f6c8bc2 yet another try to fix #4, now tested on another linux system 2014-12-20 20:10:08 +01:00
TLINDEN
85db8c664c fixed glibc deprecated _BSD_SOURCE 2014-12-19 20:31:55 +01:00
TLINDEN
4bfc077f53 updated pod + bumped version 2014-08-11 19:27:38 +02:00
git@daemon.de
298e6b1469 added anonymous sender key (-A) support 2014-08-11 15:45:47 +02:00
TLINDEN
e022a9e842 fixed memory leaks 2014-08-08 18:40:53 +02:00
TLINDEN
019df8e4c5 fixed memory leaks 2014-08-07 21:33:52 +02:00
TLINDEN
9672785271 fixed memory leaks 2014-08-07 00:02:43 +02:00
TLINDEN
7542128486 fixed memory leaks 2014-08-06 01:23:32 +02:00
git@daemon.de
9796332826 fixed double free() in pcpdelete_key() 2014-08-01 08:34:53 +02:00
git@daemon.de
e033df7156 changed z85 padding (incompatible to previous pcp versions!):
now we padd with zeroes as usual but append 4 bytes to the
raw input, the last one indicates the pad count. It's always
present, even if no padding occurred (the pad blob will then
read 0000).
This fixes the issue of earlier versions where trailing zeroes
in the original input (between block boundaries) have been
removed. Since we now add the pad counter, we know how many
zeroes to remove. If the original chunk already ended with zeroes
they will left untouched.
Re-created all test keys/data to match the change.
Also, the pcp_z85_encode() function now haves another flag
doblock. If set to 1, the function does the 72 chars per line
block creation itself, otherwise it just returns the z85 string
without any newlines added. Required by pcpstream class.
2014-07-31 16:41:20 +02:00
TLINDEN
dc457b6eb9 updated 2014-05-06 11:51:54 +02:00
TLINDEN
c66c7ae15c added own file type for crypt+sign, now signing the encrypted result, not the clear message.
using 64bit integers for time vars in key ex/im_ports
2014-05-06 11:50:28 +02:00
git@daemon.de
64eb4651f8 added missing newlines to error messages 2014-05-05 12:01:55 +02:00
TLINDEN
da9891ff81 put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe. 2014-05-04 17:11:03 +02:00
TLINDEN
b3851f62e8 revert mode changes made by windows devel system (sic) 2014-03-17 17:20:29 +01:00
scip
a1cfe16c3c (back) ported win32 32bit compatibility along with lots of fixes 2014-03-15 17:26:42 +01:00