<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Rob,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Probably the best thing to do is have a look at SqueakSSL.  It has a method to lookup OS Provided crypto modules.  Marcel is currently supporting it.  I wouldn't suggest adding libsodium to it but instead use it as a framework to support the same smalltalk api and then add to it whatever you believe is needed that you don't get from OpenSSL.  </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Building SqueakLibSodium as a Plugin makes the most sense to me.  It would be nice if we could find a good way to find a way to keep both packages in sync but having them as different packages seems much safer.  I'm happy to be convinced otherwise.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">All the best,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Ron Teitelbaum</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Sep 10, 2022 at 9:55 AM rabbit <<a href="mailto:rabbit@callistohouse.org" target="_blank">rabbit@callistohouse.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Good morning!<br>
<br>
I have successfully made and installed libsodium on my box (Ubuntu Jammy). I wish to access functions in the libsodium.so from Squeak, but I am not familiar with FFI (Alien?). <br>
<br>
Another question I have is how to configure the vm to include libsodium.so or does using FFI remove that need? Is it possible to have the VM automatically download, make and install the libsodium.so? My approach is to get it all working then make it work right.<br>
<br>
<br>
Have a Good One; Keep it, Light.<br>
Kindly,<br>
rabbit<br>
. .. … ‘…^,^<br>
<br>
<br>
Sent from Callisto House :: decentralized mobile homeless solutions<br>
_______________________________________________<br>
Cryptography mailing list<br>
<a href="mailto:Cryptography@lists.squeakfoundation.org" target="_blank">Cryptography@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/cryptography" rel="noreferrer" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/cryptography</a><br>
</blockquote></div>