Skip to content

Commit

Permalink
Fixed misspelling of timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lars Scheibling authored and scheibling committed Jun 7, 2023
1 parent b93b04a commit 3c0dc09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sshkey_tools/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ def __validate_value__(self) -> Union[bool, Exception]:
check = int(check.timestamp())


if check < int(datetime.now().timstamp()):
if check < int(datetime.now().timestamp()):
return _EX.InvalidCertificateFieldException(
"The certificate validity period is invalid"
+ " (expected a future datetime object or timestamp)"
Expand Down

0 comments on commit 3c0dc09

Please sign in to comment.