Skip to content

Adding support for SHA3 in the transit backend.#12150

Closed
robison wants to merge 1 commit intohashicorp:mainfrom
robison:robison/add-transit-sha3-support
Closed

Adding support for SHA3 in the transit backend.#12150
robison wants to merge 1 commit intohashicorp:mainfrom
robison:robison/add-transit-sha3-support

Conversation

@robison
Copy link
Copy Markdown
Contributor

@robison robison commented Jul 22, 2021

This PR is intended to add support for SHA3 as a hashing algorithm in the transit backend. Feedback most appreciated!

@victorr
Copy link
Copy Markdown
Contributor

victorr commented Nov 10, 2021

Hello @robison!

I'm going to review your PR, but would you mind rebasing it in the meanwhile?

Kind regards.

@victorr victorr self-requested a review November 10, 2021 20:08
Copy link
Copy Markdown
Contributor

@victorr victorr left a comment

Choose a reason for hiding this comment

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

The PR looks good to me. Once the unit tests for sign and verify are added the PR will be ready to merge.

Thank you for the work you have already put into this PR!

Comment thread changelog/12150.txt
@@ -0,0 +1,3 @@
```release-note:feature
transit: add support for sha3 in the transit backend
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could you please update the description to something like:

secrets/transit: Add support for SHA-3 in the Transit backend.

* sha3-224
* sha3-256
* sha3-384
* sha3-512
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It looks like you may not have noticed the tests in path_sign_verify_test.go. What about updating those as well?

Comment thread vault/logical_system.go
hf = sha512.New384()
case "sha2-512":
hf = sha512.New()
case "sha3-224":
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about updating the documentation for this operation in vault/logical_system_paths.go?

@schultz-is
Copy link
Copy Markdown
Contributor

Howdy @robison. Just wanted to let you know that we brought this functionality in with #13367, which includes your commit. Thanks for your contribution!

tsaarni pushed a commit to Nordix/vault that referenced this pull request Mar 5, 2026
…ashicorp#12161)

Update to the latest actions. The primary motivation here is to get the
latest action-setup-enos.

  - actions/cache => v5.0.3: security patches
  - actions/checkout => v6.0.2: small fixes to git user-agent and tag
    fetching
  - hashicorp/action-setup-enos => v1.50: security patches

Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
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.

5 participants