ssbc / ssb-keys

keyfile operations for ssb
36 stars 26 forks source link

What's the format of the private key in ~/.ssb/secret? #62

Closed christianbundy closed 4 years ago

christianbundy commented 4 years ago

I could've sworn that there was a quirk where keys.private actually contained both the public and private key or something, but I can't actually find documentation about that anywhere. Was this a thing? I thought the real private key was the same size as the public key, but I could be tripping.

cc: @cryptix

christianbundy commented 4 years ago

nvm https://crypto.stackexchange.com/questions/54353/why-are-nacl-secret-keys-64-bytes-for-signing-but-32-bytes-for-box/54367#54367