stef / pbp

salty privacy
Other
53 stars 5 forks source link

import fails #15

Closed taziden closed 10 years ago

taziden commented 10 years ago

Hi,

Import fails and it seems to be due to the slicing operated in line 302 of pbp.py :

name = keys[(nacl.crypto_sign_PUBLICKEYBYTES*3)+2*32:]

Here, the value of (nacl.crypto_sign_PUBLICKEYBYTES_3)+2_32 is 160 where len(name) == 99. Therefore, name is assigned an empty string and the import fails afterwards in main.py.

taziden

stef commented 10 years ago

meh, i think the problem is, that the export key was done with a pbp version that was preceding the pcp compatibility changes.

stef commented 10 years ago

yah. the key was generated with an old version.