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

Support EC and PKCS8 private keys #316

Merged
merged 2 commits into from
Feb 14, 2023
Merged

Conversation

tommy351
Copy link
Contributor

No description provided.

src/tls.rs Outdated
Some(Item::RSAKey(key)) => keys.push(key),
Some(Item::PKCS8Key(key)) => keys.push(key),
Some(Item::ECKey(key)) => keys.push(key),
_ => {}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Isn't this an infinite loop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I replaced the infinite loop with iter in commit 8f1f5ad.

@levkk
Copy link
Collaborator

levkk commented Feb 14, 2023

LGTM, thanks!

@levkk levkk merged commit 9830c18 into postgresml:main Feb 14, 2023
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

2 participants