[SERVER-45671] Mock OCSP responder time format not recognized by Go Created: 21/Jan/20 Updated: 29/Oct/23 Resolved: 27/Jan/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Divjot Arora (Inactive) | Assignee: | Shreyas Kalyan |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | Security 2019-01-27, Security 2020-02-10 | ||||||||
| Participants: | |||||||||
| Description |
|
The mock OCSP responder created for drivers OCSP testing uses a time format that the Go OCSP library does not recognize. When parsing the OCSP response, it returns the error: time did not serialize back to the original value and may be invalid: given "20200121190018.920494Z", but serialized as "20200121190018Z" |
| Comments |
| Comment by Bernie Hackett [ 29/Jan/20 ] |
|
Same problem in python. It turns out fractional seconds are not allowed, per https://tools.ietf.org/html/rfc5280#section-4.1.2.5.1 |
| Comment by Githook User [ 29/Jan/20 ] |
|
Author: {'name': 'Shreyas Kalyan', 'username': 'shreyaskalyan', 'email': 'shreyas.kalyan@10gen.com'}Message: delete mode 100644 out.pcap |
| Comment by Githook User [ 27/Jan/20 ] |
|
Author: {'email': 'shreyas.kalyan@10gen.com', 'username': 'shreyaskalyan', 'name': 'Shreyas Kalyan'}Message: create mode 100644 out.pcap |