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

Backport of UI: catch error when verifying certificates with unsupported signature algorithms into release/1.14.x #21931

Conversation

hc-github-team-secure-vault-core
Copy link
Collaborator

Backport

This PR is auto-generated from #21926 to be assessed for backporting due to the inclusion of the label backport/1.14.x.

The below text is copied from the body of the original PR.


The pki.js library doesn't support the ed25519 key type source code so our verify() function was failing when checking whether or not a certificate is a root.

This wraps the verify function in a try...catch so if the verify function fails, we instead check the authority key ID includes the signature key ID.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/ui/VAULT-18198/catch-verify-error-for-ed25519-key-types/physically-outgoing-airedale branch from a13cf98 to 5e3def6 Compare July 19, 2023 00:17
@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/ui/VAULT-18198/catch-verify-error-for-ed25519-key-types/physically-outgoing-airedale branch from a57166c to 5e1ac0c Compare July 19, 2023 00:17
@github-actions github-actions bot added the hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed label Jul 19, 2023
@hellobontempo hellobontempo added ui bug Used to indicate a potential bug labels Jul 19, 2023
@hellobontempo hellobontempo added this to the 1.14.1 milestone Jul 19, 2023
@hellobontempo hellobontempo merged commit 2bd5d4e into release/1.14.x Jul 19, 2023
@hellobontempo hellobontempo deleted the backport/ui/VAULT-18198/catch-verify-error-for-ed25519-key-types/physically-outgoing-airedale branch July 19, 2023 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to indicate a potential bug hashicorp-contributed-pr If the PR is HashiCorp (i.e. not-community) contributed ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants