Skip to content

crypto: use openssl's own memory BIOs in crypto_context.cc#47160

Merged
nodejs-github-bot merged 1 commit intonodejs:mainfrom
GauriSpears:main
May 18, 2023
Merged

crypto: use openssl's own memory BIOs in crypto_context.cc#47160
nodejs-github-bot merged 1 commit intonodejs:mainfrom
GauriSpears:main

Conversation

@GauriSpears
Copy link
Copy Markdown
Contributor

@GauriSpears GauriSpears commented Mar 19, 2023

NodeBIO's memory buffer structure does not support BIO_C_FILE_SEEK and B IO_C_FILE_TELL. This prevents OpenSSL PEM_read_bio_PrivateKey from readi ng some private keys. So I switched to OpenSSL's own protected memory bu ffers.

Fixes: #47008

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. crypto Issues and PRs related to the crypto subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tls.createSecureContext SetKey doesn't respect OpenSSL engine set by crypto.setEngine

7 participants