Re: [Chicken-users] New egg: sodium
> I tested it here on my machine (x86-64, Debian 8, libsodium 1.0.0-1) and > got one test failure: > > (generic-hash (string->blob "")) . [ERROR] > > Error: crypto_generichash returned -1 > > Do you get this too? Ah yes, I forgot about this test case. Older versions of libsodium can't hash an empty value it seems. I thought I'd disabled this test depending on the libsodium version, but perhaps I forgot to commit it... Thanks for the bug report. -- Caolan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] New egg: sodium
Hi Caolan, On Sat, 25 Feb 2017 12:39:22 + Caolan McMahonwrote: > Please can someone add my new sodium egg to the coop? > https://github.com/caolan/chicken-sodium.git > > It's a binding to the libsodium (https://libsodium.org) crypto > library. The egg is a work in progress, but it already has a few > useful procedures. Thanks. I tested it here on my machine (x86-64, Debian 8, libsodium 1.0.0-1) and got one test failure: (generic-hash (string->blob "")) . [ERROR] Error: crypto_generichash returned -1 Do you get this too? All the best. Mario -- http://parenteses.org/mario ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] New egg: sodium
On 2017-02-25 13:39, Caolan McMahon wrote: > [...] > The egg is a work in progress, but it already has a few useful procedures. > [...] Hello, in case you are missing some procedures, perhaps the source code of the tweetnacl egg may help as a template -- the tweetnacl egg includes the C backend code it uses, but the APIs of tweetnacl and libsodium are virtually identical. (The only notable difference that comes to my mind right now is that the tweetnacl egg provides the source of randomness externally while libsodium has its own internal routines). Ciao, Thomas -- Es würde viel weniger Böses auf Erden geben, wenn das Böse niemals im Namen des Guten getan werden könnte. -- Marie von Ebner-Eschenbach signature.asc Description: OpenPGP digital signature ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
Re: [Chicken-users] New egg: sodium
On Sat, Feb 25, 2017 at 12:39:22PM +, Caolan McMahon wrote: > > Please can someone add my new sodium egg to the coop? > https://github.com/caolan/chicken-sodium.git > > It's a binding to the libsodium (https://libsodium.org) crypto library. The > egg is a work in progress, but it already has a few useful procedures. Very cool, this has now been added. Cheers, Peter signature.asc Description: Digital signature ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users
[Chicken-users] New egg: sodium
Please can someone add my new sodium egg to the coop? https://github.com/caolan/chicken-sodium.git It's a binding to the libsodium (https://libsodium.org) crypto library. The egg is a work in progress, but it already has a few useful procedures. Thanks, -- Caolan ___ Chicken-users mailing list Chicken-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/chicken-users