File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
webauthn-server-core/src/main/java/com/yubico/webauthn Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5
5
- CVE-2020-10672
6
6
- CVE-2020-10969
7
7
- CVE-2020-11620
8
+ - Fixed incorrect JavaDoc on AssertionResult.isSignatureCounterValid(): it will
9
+ also return true if both counters are zero.
8
10
9
11
10
12
== Version 1.6.2 ==
Original file line number Diff line number Diff line change @@ -91,8 +91,13 @@ public class AssertionResult {
91
91
private final long signatureCount ;
92
92
93
93
/**
94
- * <code>true</code> if and only if the {@link AuthenticatorData#getSignatureCounter() signature counter value}
95
- * in the assertion was strictly greater than {@link RegisteredCredential#getSignatureCount() the stored one}.
94
+ * <code>true</code> if and only if at least one of the following is true:
95
+ * <ul>
96
+ * <li>The {@link AuthenticatorData#getSignatureCounter() signature counter value} in the assertion was strictly
97
+ * greater than {@link RegisteredCredential#getSignatureCount() the stored one}.</li>
98
+ * <li>The {@link AuthenticatorData#getSignatureCounter() signature counter value} in the assertion and
99
+ * {@link RegisteredCredential#getSignatureCount() the stored one} were both zero.</li>
100
+ * </ul>
96
101
*
97
102
* @see <a href="https://www.w3.org/TR/2019/PR-webauthn-20190117/#sec-authenticator-data">§6.1. Authenticator
98
103
* Data</a>
You can’t perform that action at this time.
0 commit comments