mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 20:00:58 +01:00
and the curve25519 key is derived from the ed25519 key. the encrypted part now contains the ed25519 secret.
66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
0.1.4 Changed key format (again), now the main secret
|
|
is the ED25519 secret key, which will be encrypted.
|
|
Everything else will be derived from that. Thanks
|
|
to S.Neives and "CodesInChaos" from the libsodium
|
|
mailinglist for clarifying it and helping me to
|
|
understand it.
|
|
|
|
0.1.3 Added signature support using ED25519.
|
|
|
|
Key format has changed it now contains the ed25519
|
|
public key part as well, required for signing. Key
|
|
version is now 0x2 and vault version 0x2. There's
|
|
no backwards compatibility, since this is still beta.
|
|
|
|
Re-organized header files.
|
|
|
|
Added support for self encryption using the users
|
|
own key pair for encryption and decryption.
|
|
|
|
Backport of issue https://github.com/zeromq/zeromq4-x/issues/29
|
|
|
|
Fixed key export, now uses big endianess as well.
|
|
|
|
Updated POD documentation.
|
|
|
|
Fixed a couple of minor bugs which lead to crashes.
|
|
|
|
Options -r and -R exchanged: -R = remove key, -r =
|
|
recipient.
|
|
|
|
Added support for derived keys (using -r).
|
|
|
|
Added more precautions when writing to the vault,
|
|
we now always use a tmp vault for writing and if that
|
|
works, we copy it back. In case something fails on
|
|
the way, the tmp file will be retained or the original
|
|
vault will not be altered.
|
|
|
|
0.1.2 Fixed bug in pcp_derivekey() which derives encryption
|
|
keys. it generated collisions due coding error, e.g.
|
|
passphase 'a' resulted in the same encryptionkey as
|
|
passphase 'r'. Now uses SHA256 witout the xor stuff,
|
|
which was the cause for the bug. This also fixes a
|
|
segmentation fault which occured invariably by entering
|
|
an invalid passphrase.
|
|
|
|
Added support for derived public keys using the -R
|
|
option, which allows two peers to encrypt messages
|
|
without the need to reveal their primary public keys.
|
|
That way each peer will have another public key of
|
|
the same source.
|
|
|
|
Added more unit tests to reflect the above changes.
|
|
|
|
0.1.1 Changed output format of encrypted keys. now we
|
|
encode it properly with the Z85 encoding and add
|
|
a header and footer to it:
|
|
|
|
-----BEGN CURVE25519 SECRET KEY-----
|
|
0q<1MspXp=x>mBZsUJF:2#)o*!.nTKR8SK}0IfuMBmC1a&*?)JD4%$%I5<J2jj%m/k&$?lck
|
|
EIKTfhPnSR8Vvcu9i7Znf/v+ZvU<}K#v@+t#5]i{9FGgJT$Lu*i+<-we&P9+)6LjN=NW(PLYt
|
|
EU]wBzf{UrCgBNSHcGBT
|
|
-----END CURVE25519 SECRET KEY-----
|
|
|
|
0.0.1 Initial version
|