Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supported asymmetric key types #26996

Open
9 of 16 tasks
tniessen opened this issue Mar 29, 2019 · 3 comments
Open
9 of 16 tasks

Supported asymmetric key types #26996

tniessen opened this issue Mar 29, 2019 · 3 comments
Labels
crypto Issues and PRs related to the crypto subsystem. openssl Issues and PRs related to the OpenSSL dependency.

Comments

@tniessen
Copy link
Member

tniessen commented Mar 29, 2019

This is a meta issue to keep track of asymmetric key types supported by OpenSSL and node. The following list includes all key types supported by OpenSSL 1.1.1b. Checked items are fully supported by node's KeyObject API:

The next step is to determine which of the above key types need to be dealt with in which way. Some of these types do not represent actual asymmetric keys (e.g., EVP_PKEY_SCRYPT) and thus don't need to be dealt with in the KeyObject API:

  • EVP_PKEY_SCRYPT: KDF
  • EVP_PKEY_HMAC: MAC
  • EVP_PKEY_CMAC: MAC
  • EVP_PKEY_HKDF: KDF
  • EVP_PKEY_POLY1305: MAC
  • EVP_PKEY_SIPHASH: MAC / PRF
  • EVP_PKEY_TLS1_PRF: PRF
@tniessen tniessen added crypto Issues and PRs related to the crypto subsystem. openssl Issues and PRs related to the OpenSSL dependency. labels Mar 29, 2019
@jasnell
Copy link
Member

jasnell commented Jun 26, 2020

@tniessen ... is this still relevant? Should it remain open?

@tniessen
Copy link
Member Author

@jasnell I think so, yes. Please leave it open for now.

@jasnell
Copy link
Member

jasnell commented Jan 26, 2021

@tniessen ... just an update... I've got CMAC support on my todo list (revisiting the work that bnoordhuis had started but hadn't completed). I've also got poly1305 and siphash on my list but it'll be a while before I get to those.

On the key types, I'm really not convinced yet that the remaining key types are a priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Issues and PRs related to the crypto subsystem. openssl Issues and PRs related to the OpenSSL dependency.
Projects
None yet
Development

No branches or pull requests

2 participants