Hi, I have started work on implementing the WebCrypto spec [1] on the GTK port. Mac port already has the cross-platform bits in place and a few crypto algorithms implemented, so initially the work is simply filling our platform specific counter-parts.
I created a bug to track progress: https://bugs.webkit.org/show_bug.cgi?id=133122 but temporarily I'm pushing my implementation to https://github.com/Igalia/webkit/tree/subtle-crypto for early review. My plan is to start submitting the patches next week. I'm using GnuTLS as crypto backend. It is the default choice I guess since we already depend on it indirectly through libsoup -> glib-networking. For some algorithms I have fallen back to nettle (the crypto library GnuTLS uses after 3.0) directly because it was simpler code or more efficient (avoid unnecessary memory copies etc). I will detail these cases once I start submitting the patches, but feel free to ask. Right now, 46 out of 53 tests under 'crypto/subtle' are passing. Those that are not it is because lack of implementation on GnuTLS and nettle in all cases. I have skipped those by now, until we got the basic code in and can start implementing the missing algorithms. Please, feel free to comment or ask questions. cheers, Eduardo [1] https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html _______________________________________________ webkit-gtk mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-gtk
