You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment, the extcrypto.cc script [0] is used to provide two cryptographic functionalities: (i) generating RSA key material; and (ii) loading RSA key material stored in the .pem format.
As of Node 11, this functionality is available in the builtin crypto module, the former introduced in v10.12.0 [1] and the latter in v11.16.0[2]. As of May 1, 2021, Node v10 will no longer be supported [3]. As such, at that time the extcrypto module should be removed (as well as the dependency on nan) and the builtin functionalities used instead.
At the moment, the
extcrypto.cc
script [0] is used to provide two cryptographic functionalities: (i) generating RSA key material; and (ii) loading RSA key material stored in the.pem
format.As of Node 11, this functionality is available in the builtin
crypto
module, the former introduced inv10.12.0
[1] and the latter inv11.16.0
[2]. As of May 1, 2021, Node v10 will no longer be supported [3]. As such, at that time theextcrypto
module should be removed (as well as the dependency onnan
) and the builtin functionalities used instead.[0] https://github.com/sjudson/paseto.js/blob/master/extcrypto/extcrypto.cc
[1] https://nodejs.org/api/crypto.html#crypto_crypto_generatekeypair_type_options_callback
[2] https://nodejs.org/api/crypto.html#crypto_crypto_createprivatekey_key
[3] https://nodejs.org/en/about/releases/
The text was updated successfully, but these errors were encountered: