mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-18 04:10:57 +01:00
changed key format, now includes the ed25519 pubkey for signing.
This commit is contained in:
@@ -45,7 +45,7 @@ typedef unsigned int qbyte; // Quad byte = 32 bits
|
||||
|
||||
#define PCP_ME "Pretty Curved Privacy"
|
||||
|
||||
#define PCP_KEY_VERSION 0x00000001U
|
||||
#define PCP_KEY_VERSION 0x00000002U
|
||||
#define PCP_KEY_PRIMITIVE "CURVE25519-ED25519-SALSA20-POLY1305"
|
||||
|
||||
#define PCP_KEY_TYPE_MAINSECRET 0x01
|
||||
@@ -60,7 +60,7 @@ typedef unsigned int qbyte; // Quad byte = 32 bits
|
||||
|
||||
// vault id
|
||||
#define PCP_VAULT_ID 0xC4
|
||||
#define PCP_VAULT_VERSION 0x01
|
||||
#define PCP_VAULT_VERSION 0x02
|
||||
|
||||
// sigs
|
||||
#define PCP_SIG_VERSION 0x01
|
||||
|
||||
Reference in New Issue
Block a user