changed key format, now includes the ed25519 pubkey for signing.

This commit is contained in:
git@daemon.de
2013-11-08 12:50:04 +01:00
parent e6733e5e56
commit 60ee58b106
25 changed files with 281 additions and 136 deletions

View File

@@ -79,6 +79,7 @@ extern "C" {
struct _pcp_key_t {
byte public[32];
byte secret[32];
byte edpub[32];
byte nonce[24];
byte encrypted[48];
char owner[255];
@@ -93,6 +94,7 @@ struct _pcp_key_t {
struct _pcp_pubkey_t {
byte public[32];
byte edpub[32];
char owner[255];
char mail[255];
char id[17];