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 Correctly distinguish empty issuer names in PKI into release/1.12.x #18647

Conversation

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

Backport

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

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


When using client.Logical().JSONMergePatch(...) with an empty issuer name, patch incorrectly reports:

issuer name contained invalid characters

In this case, both the error in getIssuerName(...) is incorrect and patch should allow setting an empty issuer name explicitly.

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


Notably, while this also affects vault write, the new error message should be clearer and users can simply elide the issuer_name parameter (with empty value) and the the same behavior (clearing the name). However, for vault patch there is no equivalent and thus they have to have this bug fix.


Overview of commits

@hc-github-team-secure-vault-core hc-github-team-secure-vault-core force-pushed the backport/cipherboy-fix-name-on-empty-but-provided-issuer-name/thoroughly-accepted-ladybird branch 2 times, most recently from 2ee56ae to 649c5fd Compare January 10, 2023 15:06
…ty-but-provided-issuer-name/thoroughly-accepted-ladybird
@cipherboy cipherboy enabled auto-merge (squash) January 10, 2023 19:55
…ty-but-provided-issuer-name/thoroughly-accepted-ladybird
@cipherboy cipherboy merged commit 3fb53e0 into release/1.12.x Jan 11, 2023
@cipherboy cipherboy deleted the backport/cipherboy-fix-name-on-empty-but-provided-issuer-name/thoroughly-accepted-ladybird branch April 21, 2023 13:04
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.

2 participants