Hi @kdenhartog, it seems like in your latest changes you didn't hit the precise libsodium binding, the encryption/decryption test is failing right now on this:
TypeError: this.sodium.crypto_secretstream_chacha20poly1305_ietf_keygen is not a function
141 |
142 | private prepareRecipientKeys(toKeys: any, fromKeys: any = null) {
> 143 | const cek = this.sodium.crypto_secretstream_chacha20poly1305_ietf_keygen()
| ^
I think I fixed it (the test is passing) but it would be great if someone could verify this is really the correct libsodium call. Based on this it sounds like crypto_secretstream_* and crypto_aead_* are equivalent?
Also made my judgement based on this and this
Hi @kdenhartog, it seems like in your latest changes you didn't hit the precise libsodium binding, the encryption/decryption test is failing right now on this:
I think I fixed it (the test is passing) but it would be great if someone could verify this is really the correct libsodium call. Based on this it sounds like
crypto_secretstream_*
andcrypto_aead_*
are equivalent? Also made my judgement based on this and this