Skip to content

Commit c9b3338

Browse files
authored
Update AndroidSafetyNetAttestationVerifier.java (#52)
1 parent 5e0c24a commit c9b3338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fido2-core/src/main/java/com/linecorp/line/auth/fido/fido2/server/attestation/android/safetynet/AndroidSafetyNetAttestationVerifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public AttestationVerificationResult verify(AttestationStatement attestationStat
178178
if (attestationStatementInfo.getTimestampMs() >= currentTime) {
179179
throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_SAFETYNET_ATTESTATION_TIMESTAMP_INVALID);
180180
}
181-
if ((currentTime - attestationStatementInfo.getTimestampMs()) > 60 * 100) {
181+
if ((currentTime - attestationStatementInfo.getTimestampMs()) > 60 * 1000) {
182182
throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_SAFETYNET_ATTESTATION_TIMESTAMP_INVALID);
183183
}
184184

0 commit comments

Comments
 (0)