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

Increase Signer grace from 600ns to 10 minutes #193

Merged
merged 1 commit into from
May 7, 2022

Conversation

mceIdo
Copy link
Contributor

@mceIdo mceIdo commented May 1, 2022

Got an error in some enrollment cases, where the device's time was slightly off of the server's time (about 10 seconds)
It seems like when issuing a certificate, it was intentionally subtracting time in the NotBefore field for to allow these minor discrepancies.
The problem is that it was adding -600 nanoseconds which is not nearly enough for such cases, and I think was a mistake as it seems the intention was to add -600 seconds
Hope I'm right :)

@jessepeterson jessepeterson merged commit dc4948a into micromdm:main May 7, 2022
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.

2 participants