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-05 12:47:18 +02:00
|
|
|
Use 64bit timte_t counters (either 32bit converted to 64bit or native)
|
|
|
|
|
see: http://www.openbsd.org/faq/upgrade55.html#time_t
|
|
|
|
|
|
|
|
|
|
change sign+encrypt to encrypt+sign
|
2014-03-14 19:50:12 +01:00
|
|
|
|
2014-02-12 00:37:41 +01:00
|
|
|
Python binding, e.g.:
|
|
|
|
|
py % cdll.LoadLibrary("libsodium.so.8")
|
|
|
|
|
<CDLL 'libsodium.so.8', handle 800776c00 at 80192a3d0>
|
|
|
|
|
py % nacl = CDLL("libsodium.so.8")
|
|
|
|
|
py % hash = create_string_buffer('\000' * 64)
|
|
|
|
|
py % hash
|
|
|
|
|
<ctypes.c_char_Array_65 object at 0x80182c560>
|
|
|
|
|
py % hash.raw
|
2014-02-13 00:06:55 +01:00
|
|
|
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x...
|
2014-02-12 00:37:41 +01:00
|
|
|
py % key = create_string_buffer('a' * 32)
|
|
|
|
|
py % nacl.crypto_hash_sha256(pointer(hash), pointer(key), 32)
|
|
|
|
|
0
|
|
|
|
|
py % hash.raw
|
2014-02-13 00:06:55 +01:00
|
|
|
';\xa3\xf5\xf4;\x92`&\x83\xc1\x9a\xeeb\xa2\x03B\xb0\x84\...
|
2014-02-12 00:37:41 +01:00
|
|
|
py %
|