geut / sodium-javascript-plus

sodium-javascript with experimental support for xchacha20 and kx
MIT License
16 stars 0 forks source link

Does not work with noise-protocol@2.0.0 #2

Closed sammacbeth closed 4 years ago

sammacbeth commented 4 years ago

The most recent changes to https://github.com/emilbayes/noise-protocol/ seem to have broken this module. I'm currently getting an assertion error at the following line when the sodium-native import is replaced with sodium-javascript-plus: https://github.com/emilbayes/noise-protocol/blob/master/cipher.js#L8

tinchoz49 commented 4 years ago

Hey sam! yes, because noise-protocol now is using chacha instead of xchacha I'm going to work on a new release this weekend to add support for chacha.

sammacbeth commented 4 years ago

Great! Thanks for your work on this!

tinchoz49 commented 4 years ago

Glad to help. Thanks for using it :+1:

tinchoz49 commented 4 years ago

@sammacbeth Can you try the version v0.0.6 ?