]> git.kaiwu.me - njs.git/commit
WebCrypto: added JWK unwrap() support.
authorDmitry Volyntsev <xeioex@nginx.com>
Sat, 4 Apr 2026 00:47:57 +0000 (17:47 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Mon, 6 Apr 2026 22:24:37 +0000 (15:24 -0700)
commit79d5b1866738088c359681b62499d27b70f210ea
tree064bd2ff62521544b00646d862658eedad987b98
parent744039e2ece0bab6dc7829a44b559d2177eaa4e8
WebCrypto: added JWK unwrap() support.

Added JWK format support to unwrapKey: decrypted data is parsed as
JSON and imported through the shared import path.
external/njs_webcrypto_module.c
external/qjs_webcrypto_module.c
test/webcrypto/wrap.t.mjs