You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempt to unmarshal generalized time received from a 3rd party system that used a format other than the one hard coded in the parseGeneralizedTime([]byte) (time.Time, error) function.
What did you expect to see?
A way to nominate the time format to be used
What did you see instead?
That the time format is hardcoded as a const within the time parsing funcs.
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/152117 mentions this issue: encoding/asn1: allow the user to specify the time format used to unmarshal
bradfitz
added
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Proposal-Crypto
Proposal related to crypto packages or other security issues
labels
Dec 3, 2018
Meanwhile, there are questions about this idea, including whether it should happen at all. I have added the Proposal label to trigger a discussion about the role of this package vs. the crypto on.
rsc
changed the title
encoding/asn1: timeParsing functions impose static formats
proposal: encoding/asn1: timeParsing functions impose static formats
Jun 22, 2022
gopherbot
removed
the
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
label
Jun 22, 2022
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Attempt to unmarshal generalized time received from a 3rd party system that used a format other than the one hard coded in the parseGeneralizedTime([]byte) (time.Time, error) function.
What did you expect to see?
A way to nominate the time format to be used
What did you see instead?
That the time format is hardcoded as a const within the time parsing funcs.
The text was updated successfully, but these errors were encountered: