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

feat: support client certificates for connectTls #11598

Merged
merged 24 commits into from
Aug 9, 2021

Conversation

ry
Copy link
Member

@ry ry commented Aug 6, 2021

This is @erik's #9426 rebased.

Still needs some work, but close.

test_util/src/lib.rs Outdated Show resolved Hide resolved
test_util/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@danopia danopia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor spelling

extensions/net/ops_tls.rs Outdated Show resolved Hide resolved
extensions/net/ops_tls.rs Outdated Show resolved Hide resolved
.set_single_cert(load_certs(cert_file)?, load_keys(key_file)?.remove(0))
.set_single_cert(
load_certs_from_file(cert_file)?,
load_private_keys_from_file(key_file)?.remove(0),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will panic if index is out of bounds. Needs to be checked.

@lucacasonato lucacasonato changed the title feat: Add client certificate support feat: support client certificates for connectTls Aug 9, 2021
@bartlomieju bartlomieju merged commit 3ab50b3 into denoland:main Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants