Skip to content

Commit

Permalink
Add new protobuf message MultiWrapValue. (#176)
Browse files Browse the repository at this point in the history
MultiWrapValue can be used to keep track of different encryptions of a value.
  • Loading branch information
victorr committed Jul 14, 2023
1 parent 4f4cafe commit 1a4e7fe
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 46 deletions.
170 changes: 125 additions & 45 deletions github.com.hashicorp.go.kms.wrapping.v2.types.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions github.com.hashicorp.go.kms.wrapping.v2.types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -202,3 +202,12 @@ enum KeyPurpose {
Unwrap = 6;
MAC = 7;
}

// MultiWrapValue can be used to keep track of different encryptions of a value.
message MultiWrapValue {
// Generation is used to keep track of when the MultiWrapValue was generated.
uint64 generation = 1;

// Slots has a BlobInfo for each key used to encrypt the value.
repeated BlobInfo slots = 2;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1a4e7fe

Please sign in to comment.