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

Allow OpenSSH-style key type identifiers #14143

Merged
merged 2 commits into from
Feb 18, 2022

Conversation

cipherboy
Copy link
Contributor

To bring better parity with the changes of #14008, wherein we allowed
OpenSSH-style key identifiers during generation. When specifying a list
of allowed keys, validate against both OpenSSH-style key identifiers
and the usual simplified names as well ("rsa" or "ecdsa"). Notably, the
PKI secrets engine prefers "ec" over "ecdsa", so we permit both as well.

Signed-off-by: Alexander Scheel <[email protected]>

@cipherboy cipherboy requested a review from a team February 17, 2022 21:54
@vercel vercel bot temporarily deployed to Preview – vault-storybook February 17, 2022 21:55 Inactive
To bring better parity with the changes of hashicorp#14008, wherein we allowed
OpenSSH-style key identifiers during generation. When specifying a list
of allowed keys, validate against both OpenSSH-style key identifiers
and the usual simplified names as well ("rsa" or "ecdsa"). Notably, the
PKI secrets engine prefers "ec" over "ecdsa", so we permit both as well.

Signed-off-by: Alexander Scheel <[email protected]>
@vercel vercel bot temporarily deployed to Preview – vault-storybook February 17, 2022 22:01 Inactive
Copy link
Collaborator

@sgmiller sgmiller left a comment

Choose a reason for hiding this comment

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

LGTM except for a tiny typo

{
"rsa": [2048, 3072, 4096],
"ec": 256,
"ecdsa-sha2-nistp521: 0
Copy link
Collaborator

Choose a reason for hiding this comment

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

missing a quote here

@vercel vercel bot temporarily deployed to Preview – vault-storybook February 18, 2022 20:06 Inactive
@cipherboy cipherboy merged commit 4868fef into hashicorp:main Feb 18, 2022
@cipherboy
Copy link
Contributor Author

Thanks all!

@cipherboy cipherboy added this to the 1.10 milestone Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants