On 24/04/2019 03:02, Hector Santos wrote: > Can anyone provide me some C/C++ or pseudo-code to do DKIM ecdhc > encryption?... Using OpenSSL API in v1.1 format? > > Thanks > > PS: Not sure where to post this, but it equally applies to OpenSSL at > GitHub. >
Here is my pretty minimalistic (~3k LoC in total) implementation of DKIM in Rspamd: https://github.com/rspamd/rspamd/blob/master/src/libserver/dkim.c#L2832 It uses OpenSSL supporting both 1.1+ and previous versions. This implementation supports both signing, verification, ARC and ed25519 sigs (via own library but can easily be adopted for libsodium). _______________________________________________ dmarc mailing list [email protected] https://www.ietf.org/mailman/listinfo/dmarc
