Skip to content

Support prehashed for the Transit engine #745

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

Closed
Gentoli opened this issue Dec 9, 2022 · 1 comment
Closed

Support prehashed for the Transit engine #745

Gentoli opened this issue Dec 9, 2022 · 1 comment
Labels
type: enhancement A general enhancement
Milestone

Comments

@Gentoli
Copy link

Gentoli commented Dec 9, 2022

https://developer.hashicorp.com/vault/api-docs/secret/transit#prehashed

prehashed (bool: false) - Set to true when the input is already hashed. If the key type is rsa-2048, rsa-3072 or rsa-4096, then the algorithm used to hash the input should be indicated by the hash_algorithm parameter. Just as the value to sign should be the base64-encoded representation of the exact binary data you want signed, when set, input is expected to be base64-encoded binary hashed data, not hex-formatted. (As an example, on the command line, you could generate a suitable input via openssl dgst -sha256 -binary | base64.)

@mp911de
Copy link
Member

mp911de commented Dec 9, 2022

Feel free to submit a pull request.

@mp911de mp911de added type: enhancement A general enhancement status: ideal-for-contribution An issue that a contributor can help us with labels Dec 9, 2022
nbaars added a commit to nbaars/spring-vault that referenced this issue May 28, 2023
nbaars added a commit to nbaars/spring-vault that referenced this issue Jun 20, 2023
nbaars added a commit to nbaars/spring-vault that referenced this issue Jun 20, 2023
@mp911de mp911de added this to the 3.1.0-RC1 milestone Oct 16, 2023
@mp911de mp911de removed the status: ideal-for-contribution An issue that a contributor can help us with label Oct 16, 2023
mp911de added a commit that referenced this issue Oct 16, 2023
Add since and author tags. Remove unused imports. Reorder methods.

See gh-745
Original pull request: gh-791
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants