-
Notifications
You must be signed in to change notification settings - Fork 191
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
Variance in RFC3339 "published" timestamps? #857
Comments
(Separately, I wonder if it might make sense to redefine the schema to enforce seconds-only precision -- having the microseconds in the |
Closing in favour of the issue on osv-schema's side! |
I wonder if it would be possible to turn this into a documentation issue at least? At this point it isn't clear what exactly those fields should look like and how precise the precision should be and it makes it harder than necessary to edit OSV issues like google/oss-fuzz-vulns#25 manually. I think a paragraph saying how to generate them using |
Hello again! I'm tracking down another
pip-audit
bug: pypa/pip-audit#416In this case, a user is reporting that we're currently crashing because we fail to parse an RFC3339 timestamp. I looked into it, and the timestamp is well-formed, but slightly different from every other timestamp we've seen from OSV: it contains a microseconds field, whereas every other OSV report has had just seconds resolution in its
published
timestamp.For example, one of the timestamps we expect:
...and one of the ones seen by the user:
This is technically not a bug on OSV's side since the schema only says RFC3339, and doesn't restrict its resolution/precision. But I wanted to bring it to your attention anyways, since I figured it might be a case of timestamps being relaxed internally.
The text was updated successfully, but these errors were encountered: