feat: add transform_fpe benchmark test type for Format Preserving Encryption (FPE) support#257
Open
abhijeetvlokhande wants to merge 2 commits into
Open
Conversation
…ryption (FPE) support - Add new transform_fpe test type in benchmarktests/target_secret_transform_fpe.go - Supports all three tweak sources: internal, generated, and supplied - Add documentation in docs/tests/secret-transform-fpe.md - Update .gitignore to exclude sensitive test config files and logs
abhijeetvlokhande
requested review from
arslan23-push and
catamtz
and removed request for
a team
March 12, 2026 19:34
Author
|
Added unit coverage for |
JMGoldsmith
approved these changes
Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a new
transform_fpebenchmark test type to support Format Preserving Encryption (FPE) benchmarking using Vault's Transform Secrets Engine.Changes
benchmarktests/target_secret_transform_fpe.goimplementing thetransform_fpetest typedocs/tests/secret-transform-fpe.mdwith configuration and usage documentationtransform_fpeFeatures
internal,generated, andsuppliedcleanup = trueTesting
Added unit coverage for:
transform_fpeTargeted test status:
go test ./benchmarktests -run TransformFPETest -vpassesRepo-wide test status:
go test ./...still only fails in the repo's existing Docker-backed tests undertest-fixtureswhen Docker is unavailable (Cannot connect to the Docker daemon at unix:///var/run/docker.sock)HCP validation output: