Skip to content

Commit 31569a7

Browse files
authored
Merge pull request #52 from MarkLodato/multiple-keys
Clarify multi-signature ignores duplicate keys.
2 parents 469c6e9 + 1bce75f commit 31569a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

protocol.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ To verify a `(t, n)`-ENVELOPE:
122122
- Verify SIGNATURE against PAE(UTF8(PAYLOAD_TYPE), SERIALIZED_BODY). Skip
123123
over if the verification fails.
124124
- Add the accepted public key to the set ACCEPTED_KEYS.
125-
- Break if the cardinality of ACCEPTED_KEYS is greater or equal to `t`.
126-
- Reject if the cardinality of ACCEPTED_KEYS is less than `t`.
125+
- Break if the number of unique keys in ACCEPTED_KEYS is greater or equal
126+
to `t`.
127+
- Reject if the unique keys in ACCEPTED_KEYS is less than `t`.
127128
- Reject if PAYLOAD_TYPE is not a supported type.
128129
- Parse SERIALIZED_BODY according to PAYLOAD_TYPE. Reject if the parsing
129130
fails.

0 commit comments

Comments
 (0)