I was wondering if there is a catalog somewhere of bindings that exist for nettle for higher-level languages.
in particular, i'm interested in perl and python, but i'd be curious to know about the status of other languages as well. Is this documented somewhere? Is there a list of higher-level languages that the nettle author(s) would like to see prioritized?
Regards,
--dkg
Daniel Kahn Gillmor dkg@fifthhorseman.net writes:
I was wondering if there is a catalog somewhere of bindings that exist for nettle for higher-level languages.
Not that I know of. I guess I could try to keep a list on the home page (http://www.lysator.liu.se/~nisse/nettle/), but I'd have to rely on other users mailing me updates.
in particular, i'm interested in perl and python, but i'd be curious to know about the status of other languages as well. Is this documented somewhere?
The ones I'm aware of are
* Pike (since I was involved in the conversion of that crypto code over to use Nettle),
* Postgresql (Ron Peterson, http://www.yellowbank.com/code/PostgreSQL/y_crypto/)
* tcl (Ian Jackson, the chiark-tcl debian package, I think it's also available at ftp.chiark.greenend.org.uk:/users/ian/chiark-tcl but I can't access that server right now).
* R6RS Scheme (Marco Maggi, http://marcomaggi.github.com/nausicaa.html)
* I seem to remember somebody starting on a python module, but I don't remember who, and I guess it didn't get far enough to be really useful.
I may have forgotten some additional language.
Is there a list of higher-level languages that the nettle author(s) would like to see prioritized?
Not really. But I guess it would be satisfying to have Nettle used with popular (and free) languages, like Python, Java, C++, PHP, or whatever languages people are using these days.
One final note: The way I see things, as a user of a higher level language, I'd prefer to not have merely "bindings to nettle", but to have well designed cryptographic functions with an interface appropriate to that language. Which can then use Nettle internally.
Regards, /Niels
On 03/23/2010 05:30 AM, Niels Möller wrote:
Daniel Kahn Gillmor dkg@fifthhorseman.net writes:
I was wondering if there is a catalog somewhere of bindings that exist for nettle for higher-level languages.
Not that I know of. I guess I could try to keep a list on the home page (http://www.lysator.liu.se/~nisse/nettle/), but I'd have to rely on other users mailing me updates.
i think having such a list would be a good idea. if you mention at the top of it "is this list out of date? send updates to nettle-bugs@lists.lysator.liu.se" then it shouldn't be too bad to keep up-to-date.
One final note: The way I see things, as a user of a higher level language, I'd prefer to not have merely "bindings to nettle", but to have well designed cryptographic functions with an interface appropriate to that language. Which can then use Nettle internally.
yes, agreed. When designing a binding, I'd like to expose things at roughly the same conceptual level as nettle, but using calling conventions, scoping, memory allocation, etc in ways that are comfortable and natural to the higher-level language in question.
This would permit people to build sensibly-designed native higher-level crypto functionality on top of the nettle base.
--dkg
nettle-bugs@lists.lysator.liu.se