Skip to content

Commit

Permalink
Update AndroidSafetyNetAttestationVerifier.java (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
nic authored Nov 4, 2024
1 parent 5e0c24a commit c9b3338
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public AttestationVerificationResult verify(AttestationStatement attestationStat
if (attestationStatementInfo.getTimestampMs() >= currentTime) {
throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_SAFETYNET_ATTESTATION_TIMESTAMP_INVALID);
}
if ((currentTime - attestationStatementInfo.getTimestampMs()) > 60 * 100) {
if ((currentTime - attestationStatementInfo.getTimestampMs()) > 60 * 1000) {
throw new FIDO2ServerRuntimeException(InternalErrorCode.ANDROID_SAFETYNET_ATTESTATION_TIMESTAMP_INVALID);
}

Expand Down

0 comments on commit c9b3338

Please sign in to comment.