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

make sure auto_encrypt has private key type and bits #6392

Merged
merged 1 commit into from
Aug 27, 2019

Conversation

hanshasselberg
Copy link
Member

@hanshasselberg hanshasselberg commented Aug 26, 2019

PrivateKeyType and PrivateKeyBits is empty when loading c.config.CAConfig.GetCommonConfig() which causes an error. This PR makes sure it has at least the defaults and also adds a test that would've caught this problem.

Fixes #6391

@hanshasselberg hanshasselberg requested a review from a team August 26, 2019 11:12
@hanshasselberg
Copy link
Member Author

Test failures seem unrelated.

Copy link
Contributor

@freddygv freddygv left a comment

Choose a reason for hiding this comment

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

:shipit:

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.

Error starting agent: AutoEncrypt failed: unknown private key type requested: on autoencrypt enabled client
2 participants