mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
bumped version to 0.2.5
This commit is contained in:
29
ChangeLog
29
ChangeLog
@@ -1,10 +1,37 @@
|
|||||||
NEXT
|
NEXT
|
||||||
removed hand-written padding stuff and using
|
removed hand-written padding stuff and using
|
||||||
libsodiums _easy() functions for crypto now
|
libsodiums _easy() functions for crypto now
|
||||||
instead of the raw nacl ones.
|
instead of the raw nacl ones. instead we use
|
||||||
|
the _easy variants of the crypto_*box functions,
|
||||||
|
which libsodium provides. I didn't use them so
|
||||||
|
far because I wasn't aware of their existence.
|
||||||
|
|
||||||
using secure memory where applicable.
|
using secure memory where applicable.
|
||||||
|
|
||||||
|
changed encryption protocol, now we're using
|
||||||
|
counter mode for stream encryption. we use the
|
||||||
|
nonce, which is required by crypto_secretbox
|
||||||
|
anyway, as a counter. our counter has a variable
|
||||||
|
size and starts with one byte. the first byte
|
||||||
|
of the nonce signifies the counter size and the
|
||||||
|
following byte(s) are used as the counter. if it
|
||||||
|
is larger than one byte, it will be converted to
|
||||||
|
big endian. maximum possible counter size is 184
|
||||||
|
bit, current maximum implemented counter size is
|
||||||
|
64 bit.
|
||||||
|
|
||||||
|
removed CBC mode support, it wasn't enabled by
|
||||||
|
default anyway.
|
||||||
|
|
||||||
|
using libsodium memory protection facilities where
|
||||||
|
applicable (keys, passwords, hashes).
|
||||||
|
|
||||||
|
fixed compilation failure when using clang.
|
||||||
|
|
||||||
|
fixed self-mode crypto. now -m enables symmetric
|
||||||
|
encryption, while -M adds the senders primary pub
|
||||||
|
key to the list of recipients in asymmetric mode.
|
||||||
|
|
||||||
0.2.4 fixed compiler macro misplacement (github#4).
|
0.2.4 fixed compiler macro misplacement (github#4).
|
||||||
|
|
||||||
fixed invalid free (github#5).
|
fixed invalid free (github#5).
|
||||||
|
|||||||
@@ -25,10 +25,10 @@
|
|||||||
|
|
||||||
#define PCP_VERSION_MAJOR 0
|
#define PCP_VERSION_MAJOR 0
|
||||||
#define PCP_VERSION_MINOR 2
|
#define PCP_VERSION_MINOR 2
|
||||||
#define PCP_VERSION_PATCH 4
|
#define PCP_VERSION_PATCH 5
|
||||||
|
|
||||||
#define PCP_MAKE_VERSION(major, minor, patch) \
|
#define PCP_MAKE_VERSION(major, minor, patch) \
|
||||||
((major) * 10000 + (minor) * 100 + (patch))
|
((major * 10000) + (minor * 100) + (patch))
|
||||||
#define PCP_VERSION \
|
#define PCP_VERSION \
|
||||||
PCP_MAKE_VERSION(PCP_VERSION_MAJOR, PCP_VERSION_MINOR, PCP_VERSION_PATCH)
|
PCP_MAKE_VERSION(PCP_VERSION_MAJOR, PCP_VERSION_MINOR, PCP_VERSION_PATCH)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user