ektrah
ektrah
That’s a good starting point but needs a bit more work. The nonce needs to be 12 bytes and is not a UTF-8 string. Have a look at [RFC 5116,...
As I understand it, the only thing holding us back is that CentOS 7 uses an ancient glibc, which causes the ["Undefined reference to memcpy@GLIBC_2.14" problem](https://stackoverflow.com/a/54815372) if libsodium is compiled...
It seems the test on CentOS 7 was canceled before it actually ran... Could you re-run with [`fail-fast: false`](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast) and the [`LD_DEBUG` environment variable set to `all`](https://man7.org/linux/man-pages/man8/ld.so.8.html)?
Btw, where did @bfren's [version bump to 1.0.18.3](https://github.com/jedisct1/libsodium/pull/1174/commits/38ed9afbcfb9051ee78e7d9dfc0d2874721a55ed) go? The GitHub Actions artifact still says 1.0.18.2.
It seems there is no straight forward way to add WebAssembly support to NSec due to the dependency on libsodium. BlazorSodium looks quite promising, so I hope that this can...
An experimental implementation has been added in [PasswordBasedKeyExporter.cs](https://github.com/ektrah/nsec/blob/2df8892a956ebde70751c294a502d280e8bf891c/src/Experimental/PasswordBased/PasswordBasedKeyExporter.cs). I'm not sure how useful it is (and it's probably coming way too late too; sorry for that). Feedback is welcome.
Coming back to the original issue, support for a few more algorithms in libsodium has been added to NSec and NSec.Experimental (see the commits linked above). I'll close this issue,...
libsodium-core supports iOS, tvOS, and Mac Catalyst starting from version [1.4.0-preview.1](https://github.com/ektrah/libsodium-core/releases/tag/v1.4.0-preview.1). However, this has not been extensively tested. **Please provide feedback** in this issue whether it works or not. Please...
I didn't think the changes since the last release were significant enough for a new release, but I've done a new pre-release now. If all looks good, I could do...
I've created a branch that changes the `Interop.Libraries.Libsodium` constant to `__Internal` on iOS: https://github.com/ektrah/nsec/compare/master...ios. Here is the NuGet package: [artifact.zip](https://github.com/ektrah/nsec/files/11479240/artifact.zip). Could you check if that helps with 3. and 4.?...