2015-07-06 23:02:04 +02:00
|
|
|
JSON:
|
|
|
|
|
- export secret as json
|
|
|
|
|
- import pub und secret as json
|
|
|
|
|
- export vault as json
|
|
|
|
|
|
|
|
|
|
detach keysig generation from pub key export, so that an existing
|
|
|
|
|
keysig can be verified later.
|
|
|
|
|
|
2014-01-19 23:58:53 +01:00
|
|
|
key++: normalize id and lc()
|
|
|
|
|
|
|
|
|
|
allow signing using an alternate secret key, like in pcpdecrypt()
|
|
|
|
|
|
2014-01-28 13:27:16 +01:00
|
|
|
malloc() new pointers in functions only if not NULL, e.g. pcp_gennonce()
|
|
|
|
|
|
2014-02-05 13:07:35 +01:00
|
|
|
check pub key count in pcp.c before calling verify signature, croak if count==0
|
|
|
|
|
|
2014-02-12 00:37:41 +01:00
|
|
|
Update pod key format spec.
|
|
|
|
|
|
|
|
|
|
vault checksum: add keysigs as well
|
|
|
|
|
|
2014-02-13 20:22:17 +01:00
|
|
|
enable formats for secret key exports as well
|
|
|
|
|
|
2014-02-24 19:52:57 +01:00
|
|
|
Add newlines to headers in define.h, so strlen() later catches the whole length.
|
|
|
|
|
|
2014-02-25 11:08:59 +01:00
|
|
|
Check is_utf8 license.
|
2014-02-25 12:26:54 +01:00
|
|
|
also found in https://gd.meizo.com/_files/lpc/ext/utf8.c
|
2014-02-13 00:06:55 +01:00
|
|
|
|
2014-03-02 18:05:45 +01:00
|
|
|
Symmetric decrypt mode tries to open vault
|
|
|
|
|
|
|
|
|
|
pcp_find_primary_secret() makes a copy ???
|
2014-02-25 19:52:59 +01:00
|
|
|
|
2014-03-10 16:58:48 +01:00
|
|
|
c++ destructor double free mess
|
|
|
|
|
|
2014-05-06 11:51:54 +02:00
|
|
|
cpptest 0 uses same Context for encryptor and decryptor,
|
|
|
|
|
must be another one for the latter!
|
2014-03-14 19:50:12 +01:00
|
|
|
|
2014-07-31 16:41:20 +02:00
|
|
|
after new z85 padding scheme: write z85 blocksize to output
|
|
|
|
|
as well? if a reader doesn't know the blocksize it won't be
|
|
|
|
|
able to decode it properly. Or no issue? Not sure yet...
|
2015-01-13 13:06:20 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
(gdb) set args -V v1 -p -x xxx -z -i 0x8671F4264E20F179
|
|
|
|
|
(gdb) r
|
|
|
|
|
Starting program: /usr/home/sciplocal/D/github/pcp/src/pcp1 -V v1 -p -x xxx -z -i 0x8671F4264E20F179
|
|
|
|
|
failed to decrypt the secret key (got -1, expected 32)!
|
|
|
|
|
Error: Operation not permitted
|
|
|
|
|
|
|
|
|
|
Program received signal SIGSEGV, Segmentation fault.
|
|
|
|
|
0x000000000040f8e8 in pcphash_del (ptx=0x801017040, key=0x80107b100, type=Variable "type" is not available.
|
|
|
|
|
) at keyhash.c:28
|
|
|
|
|
28 HASH_DEL(ptx->pcpkey_hash, (pcp_key_t *)key);
|
|
|
|
|
(gdb) bt
|
|
|
|
|
#0 0x000000000040f8e8 in pcphash_del (ptx=0x801017040, key=0x80107b100, type=Variable "type" is not available.
|
|
|
|
|
) at keyhash.c:28
|
|
|
|
|
#1 0x000000000040fba7 in pcphash_clean (ptx=0x801017040) at keyhash.c:50
|
|
|
|
|
#2 0x00000000004084ff in ptx_clean (ptx=0x801017040) at context.c:52
|
|
|
|
|
#3 0x0000000000402557 in main (argc=Variable "argc" is not available.
|
|
|
|
|
) at pcp.c:593
|
2015-01-16 00:13:02 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_havenacl sometimes "no", even if old version is installed, followed by:
|
|
|
|
|
|
|
|
|
|
mem.c:51: warning: implicit declaration of function 'sodium_malloc'
|
|
|
|
|
mem.c:51: warning: initialization makes pointer from integer without a cast
|