Skip to content

Commit

Permalink
chore: Typos and Grammer
Browse files Browse the repository at this point in the history
Co-authored-by: José Corella <[email protected]>
  • Loading branch information
texastony and josecorella authored Jan 17, 2025
1 parent 5e4c804 commit 6ae7888
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ We will mitigate this via an Optimistic Lock on the cipher-text.

All writes to ACTIVE,
except those by `CreateKey`,
would include a condition express of
would include a condition expression of
`attribute_exists(branch-key-id) AND enc = <old-cipher-text-value>`,
as [expressed in DynamoDB Syntax](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.OperatorsAndFunctions.html).

Expand All @@ -74,7 +74,7 @@ as [expressed in DynamoDB Syntax](https://docs.aws.amazon.com/amazondynamodb/lat
- the Logical Key Store Name

`enc` contains the Auth Tag from
the AES-GCM operation execute by KMS.
the AES-GCM operation executed by KMS.

Thus, by asserting `enc` has not changed,
the Key Store asserts that nothing has changed!
Expand Down
4 changes: 2 additions & 2 deletions framework/key-store/key-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ the UTF8 Encoded value of the version of the branch key.

A structure that holds two related [EncryptedHierarchicalKeys](#encryptedhierarchicalkey):

- Item: an [EncryptedHierarchicalKey](#encryptedhierarchicalkey) that will be written
- Old: an [EncryptedHierarchicalKey](#encryptedhierarchicalkey) that was read and is presumed to be the currently persisted item that will be replaced by `Item`.
- Item: the [EncryptedHierarchicalKey](#encryptedhierarchicalkey) that will be written
- Old: the [EncryptedHierarchicalKey](#encryptedhierarchicalkey) that was read and is presumed to be the currently persisted item that will be replaced by `Item`.

## Interface

Expand Down

0 comments on commit 6ae7888

Please sign in to comment.