Skip to content

Draft: Use gnutls instead of gcrypt

Hi! Gnutls recently got support for the cryptography API goblin needs, so the gcrypt dependency is not needed anymore. There is still something that is not released: the base16 encoding, however it is being worked on.

This proof-of-concept merge request shows how to use gnutls instead of gcrypt. The most important change is now EDDSA signatures are a single bytevector, instead of a pair of components. Is it a problem?

Also, I’m not sure what should be the sexp format to send the public key and signature on the wire (through syrup). I think this is incompatible right now.

I checked locally that the tests pass, but unfortunately my runner can’t seem to work properly:

https://gitlab.com/vivien_/guile-goblins/-/jobs/4958977559

Is it a known issue?

Best regards,

Vivien

Merge request reports