Skip to content
New issue

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

ssh-key: set maximum UnixTime to i64::MAX #175

Merged
merged 1 commit into from
Nov 18, 2023

Conversation

tarcieri
Copy link
Member

ssh-keygen uses i64::MAX as its placeholder value for certificates which last "forever".

This allows such certificates to parse, albeit at the cost of allowing all sorts of bogus timestamps.

Closes #174

`ssh-keygen` uses `i64::MAX` as its placeholder value for certificates
which last "forever".

This allows such certificates to parse, albeit at the cost of allowing
all sorts of bogus timestamps.

Closes #174
@tarcieri tarcieri merged commit dd25fab into master Nov 18, 2023
13 checks passed
@tarcieri tarcieri deleted the ssh-key/unix-time-max-secs-i64-max branch November 18, 2023 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ssh_key::Certificate fails to parse certificates created without an expiration date
1 participant