encoding/asn1: valid GeneralizedTime with UTC offset of +0000 not parsed #33192
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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
)?macOS 10.14.5
go env
OutputWhat did you do?
Attempted to upgrade to TLS on a server I don't control.
It appears that the time format is valid, according to the documentation I've found (here, among other places).
Public cert from that server included in this failing test:
What did you expect to see?
The certificate would get parsed.
What did you see instead?
asn1: time did not serialize back to the original value and may be invalid: given "360329021729+0000", but serialized as "360329021729Z"
The problem looks like it may be in the same area as #15842.
The text was updated successfully, but these errors were encountered: