last update was wrong, since pbp exported keys are base85 encoded, fixed that. incorporated the git/base85.c and added source padding to it

This commit is contained in:
git@daemon.de
2014-01-30 13:16:26 +01:00
parent dbdaf38185
commit a822851c14
9 changed files with 58 additions and 38 deletions

View File

@@ -17,6 +17,7 @@ PCPEXPORT = pcp.h \
pcp/version.h \
pcp/z85.h \
pcp/zmq_z85.h \
pcp/ed.h
pcp/ed.h \
pcp/base85.h
nobase_include_HEADERS = $(PCPEXPORT)

View File

@@ -241,7 +241,8 @@ PCPEXPORT = pcp.h \
pcp/version.h \
pcp/z85.h \
pcp/zmq_z85.h \
pcp/ed.h
pcp/ed.h \
pcp/base85.h
nobase_include_HEADERS = $(PCPEXPORT)
all: all-am

View File

@@ -106,7 +106,6 @@ struct _pcp_pubkey_t {
// the PBP public key format
struct _pbp_pubkey_t {
byte sig[crypto_sign_BYTES];
byte sigpub[crypto_box_PUBLICKEYBYTES];
byte edpub[crypto_sign_PUBLICKEYBYTES];
byte pub[crypto_box_PUBLICKEYBYTES];