Commit Graph

189 Commits

Author SHA1 Message Date
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
39b584132e bump version to 0.3.0 2015-07-17 18:17:30 +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
47a07a7d2e updated manual 2015-07-10 15:47:09 +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
775935a958 store ed25519 key sig as well (forgot that previously) 2015-07-08 23:52:46 +02:00
TLINDEN
5301734f23 added json unit tests 2015-07-08 23:51:40 +02:00
git@daemon.de
16e4981245 rm conditional, not supported by pypcp 2015-07-08 12:57:55 +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
feee08b14a re-generated to reflect latest changes 2015-07-08 01:26:36 +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
65fb25fa0e added _hex2bin() 2015-07-08 01:22:12 +02:00
TLINDEN
cbb151c772 removed duplicate cipher def 2015-07-08 01:21:56 +02:00
git@daemon.de
0be73729ed fix check 2015-07-07 10:38:42 +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
bfb9de1745 made oneliners of *VERSION makros, easier for py binding generator 2015-04-18 20:25:04 +02:00
TLINDEN
62281565d9 removed tarsnaps scrypt(), using libsodiums instead 2015-04-17 17:40:10 +02:00
TLINDEN
9737893e0a fixed includes and function checks for scrypt 2015-04-17 14:14:38 +02:00
TLINDEN
9fae3ae869 fix of bug#6, typo in type name, take2 2015-03-27 19:01:56 +01:00
TLINDEN
c07eb761e1 fix of bug#6, typo in type name 2015-03-27 18:52:14 +01:00
TLINDEN
8535b50f94 added -M; removed CBC support, fixed asym-self-mode 2015-01-17 15:04:07 +01:00
TLINDEN
c0a4f7f887 bumped version to 0.2.5 2015-01-17 15:02:03 +01:00
TLINDEN
ea73c63c1c rm unused func 2015-01-17 15:00:33 +01:00
TLINDEN
2e7479525f turned crypto_secretbox nonces into counters, thereby implementing counter mode (CTR mode). we use variable size counters, max counter size is 184 bit, max implemented currently are 64 bit, multiply by 32kb and you get the maximum file size supported by pcp encryption 2015-01-16 00:13:02 +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
54986fa6dc migrated to libsodium _easy() crypto functions, thus getting rid of my hand made padding mess 2015-01-13 13:04:12 +01:00
TLINDEN
10f4ffa05a fixed doxygen errors 2015-01-11 13:14:02 +01:00
git@daemon.de
d92d130dbd added missing includes to installer 2015-01-05 12:56:43 +01:00
git@daemon.de
7b9817a9c0 added symlink so it can be installed as well 2015-01-05 12:56:26 +01:00
git@daemon.de
5e2ee0aef2 bump version to 0.2.4 2014-12-24 11:19:01 +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
5f13d5d810 py continued 2014-12-14 18:06:45 +01:00
TLINDEN
7d76d41944 added configure flag --with-python-binding 2014-12-14 14:39:10 +01:00
TLINDEN
6f47b86f98 added pcpkey_setowner(), removed pcp[pub]key_exists() (unused currently) 2014-12-14 14:36:08 +01:00
TLINDEN
3a29223c9f the normal autogen.sh run doesn't generate usage.h and other generated stuff on users machines. I pre-generate them here, where I know it works as I expect. This should fix issue#3, where on some linux machines generation of usage.h doesn't work which leads to a compiler error. 2014-09-29 11:24:02 +02:00
git@daemon.de
83912a1d16 disable running contests when cross compiling 2014-09-17 10:02:06 +02:00
git@daemon.de
298e6b1469 added anonymous sender key (-A) support 2014-08-11 15:45:47 +02:00
TLINDEN
e8f6a8635c added pcphash_cleanpub() to free local pubkey hashes, which are not attached to any context 2014-08-07 21:32:48 +02:00
TLINDEN
9672785271 fixed memory leaks 2014-08-07 00:02:43 +02:00
git@daemon.de
5b4d04de5d fixed memory leaks 2014-08-06 20:19:50 +02:00
git@daemon.de
a3f1bdaa2e added buffer_fwd_offset() so I don't have to alloc mem to ignore some chunk of a buffer 2014-08-06 20:19:28 +02:00
TLINDEN
7542128486 fixed memory leaks 2014-08-06 01:23:32 +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