Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Password encrypt private keys when keyPassword is specified in the request#25

Merged
tr1ck3r merged 2 commits intoVenafi:masterfrom
fullstaq-labs:feature/private-key-password
Nov 4, 2020
Merged

Password encrypt private keys when keyPassword is specified in the request#25
tr1ck3r merged 2 commits intoVenafi:masterfrom
fullstaq-labs:feature/private-key-password

Conversation

@FooBarWidget
Copy link
Contributor

Closes #21.

Also gets rid of newPemCollection(). That function is not consistently used throughout the codebase, so getting rid of it makes the code more consistent.

Also gets rid of a fromResponse() overload in order to reduce the likelihood of creating a PEMCollection without passing the private key and key password.

Also increases test coverage for PEMCollection to test ECDSA support.

…quest

Closes #21.

Also gets rid of newPemCollection(). That function is not consistently used throughout the codebase, so getting rid of it makes the code more consistent.

Also gets rid of a fromResponse() overload in order to reduce the likelihood of creating a PEMCollection without passing the private key and key password.

Also increases test coverage for PEMCollection to test ECDSA support.
Copy link
Contributor

@angelmoo angelmoo left a comment

Choose a reason for hiding this comment

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

changes looks good.

@FooBarWidget
Copy link
Contributor Author

Thanks for the review. How about a merge too? :)

@tr1ck3r tr1ck3r merged commit 9a15732 into Venafi:master Nov 4, 2020
@tr1ck3r
Copy link
Member

tr1ck3r commented Nov 4, 2020

Thank you for contributing to VCert-Java @FooBarWidget 😃

@FooBarWidget FooBarWidget deleted the feature/private-key-password branch November 4, 2020 16:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Private keys are not password encrypted when keyPassword is specified in the request

4 participants