Skip to content

Commit 982748a

Browse files
committed
fix: update error message
1 parent 64374e2 commit 982748a

File tree

1 file changed

+1
-1
lines changed
  • DynamoDbEncryption/dafny/StructuredEncryption/src

1 file changed

+1
-1
lines changed

DynamoDbEncryption/dafny/StructuredEncryption/src/Footer.dfy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ module StructuredEncryptionFooter {
118118
//= specification/structured-encryption/footer.md#recipient-tag-verification
119119
//# Verification MUST fail unless at least one of the [Recipient Tags](#recipient-tags)
120120
//# matches a calculated recipient tag using the provided symmetricSigningKey.
121-
:- Need(foundTag, E("No recipient tag matched."));
121+
:- Need(foundTag, E("Signature of record does not match the signature computed when the record was encrypted."));
122122

123123
:- Need(sig.Some? == mat.algorithmSuite.signature.ECDSA?, E("Internal error. Signature both does and does not exist."));
124124
//= specification/structured-encryption/footer.md#signature-verification

0 commit comments

Comments
 (0)