We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please check the Timestamp validation in the Checkstamp check
in the GetAuthorizationHeader why divide by 1000, since the value is supposed to be seconds?
var normalizedTs = (ConvertToUnixTimestamp((ts.HasValue) ? ts.Value : DateTime.UtcNow)).ToString(); //removed / 1000
this causes issues in the CheckTimeStamp
private static bool CheckTimestamp(string ts, int timestampSkewSec) { double parsedTs; if (double.TryParse(ts, out parsedTs)) { var now = ConvertToUnixTimestamp(DateTime.Now); // Check timestamp staleness if (Math.Abs(parsedTs - now) > timestampSkewSec) //* 1000 { return false; } else {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Please check the Timestamp validation in the Checkstamp check
in the GetAuthorizationHeader why divide by 1000, since the value is supposed to be seconds?
this causes issues in the CheckTimeStamp
The text was updated successfully, but these errors were encountered: