Skip to content

Commit f50d89a

Browse files
committed
add replay protection notice in note
1 parent 63969dc commit f50d89a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/utilities.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function _verify(
5454
}
5555
----
5656

57-
IMPORTANT: Always use keys of at least 2048 bits.
57+
IMPORTANT: Always use keys of at least 2048 bits. Additionally, be aware that PKCS#1 v1.5 allows for replayability due to the possibility of arbitrary optional parameters. To prevent replay attacks, consider including an onchain nonce or unique identifier in the message.
5858

5959
=== Verifying Merkle Proofs
6060

0 commit comments

Comments
 (0)