tonyg/js-nacl

Uncaught TypeError: Cannot read property 'length' of undefined nacl_factory.js:26036

Opened this issue · 2 comments

Tony!

I can't thank you enough for adding this feature!

I wanted to simply append this to our last thread, but it wouldn't let me reopen.

I downloaded it and tried, but it gives the error in the title.

It only occurs with nacl.crypto_sign_verify_detached, so nacl.crypto_sign_detached seems to be working as expected as I get 256 bits returned, quickly verified with my Base64 encoder.

Again, I can't thank you enough for this, and I bet your quick feature addition probably sets a record for implementation time!

I'm so sorry!

I improperly hastily merely copied and pasted instead of actually reading your fine code!

The proper usage (for others coming along) is nacl.crypto_sign_verify_detached(signature, hash, k.signPk)

Told you I was noob! ;))

Thank you again so very very much for this!

np :)