joebandenburg / libaxolotl-javascript

A JavaScript implementation of axolotl. Axolotl is a ratcheting forward secrecy protocol.
GNU Lesser General Public License v3.0
75 stars 13 forks source link

Please correct the documentation:Verify an Ed25519 signature Parameters #8

Closed CharlesOkwuagwu closed 9 years ago

CharlesOkwuagwu commented 9 years ago

https://github.com/joebandenburg/libaxolotl-javascript/blob/master/doc/crypto.md

Name Type Description privateKey ArrayBuffer The 33 byte public half of the key used to produce the signature.

Should be publicKey

joebandenburg commented 9 years ago

Good spot. Thanks.

CharlesOkwuagwu commented 9 years ago

Question,

How do we know when to use the 33-byte vs 32 byte length Public keys?

joebandenburg commented 9 years ago

All the public keys on the crypto interface should be 33-byte. It's an error if it says 32-byte anywhere.