Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1290543

Summary: Error loading certificate file containing negative serial number
Product: [Fedora] Fedora Reporter: Jordan Liggitt <jliggitt>
Component: golangAssignee: Jakub Čajka <jcajka>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: admiller, golang-updates, jcajka, lemenkov, qe-baseos-tools-bugs, renich, s, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: golang-1.5.2-2.fc23 golang-1.5.2-2.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1290472 Environment:
Last Closed: 2015-12-22 22:04:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jordan Liggitt 2015-12-10 18:32:22 UTC
+++ This bug was initially created as a clone of Bug #1290472 +++

Description of problem:
x509 certificates containing negative serial numbers cannot be loaded.

Version-Release number of selected component (if applicable):
go 1.4.x, 1.5.x

How reproducible:
Always

Steps to Reproduce:
1. Create an x509 certificate with a negative serial number
2. Load it using golang's x509.ParseCertificate function

Actual results:
An error is returned

Expected results:
The certificate can be loaded

Additional info:
See https://github.com/golang/go/issues/8265

See http://play.golang.org/p/zpXKadV5mo for recreation

Comment 1 Jakub Čajka 2015-12-11 09:06:16 UTC
Pruned dependencies on RHEL BZs.

Comment 2 Fedora Update System 2015-12-14 14:17:43 UTC
golang-1.5.2-2.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-911afa53ac

Comment 3 Fedora Update System 2015-12-14 14:17:43 UTC
golang-1.5.2-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-0cdb6d06b7

Comment 4 Fedora Update System 2015-12-15 10:53:32 UTC
golang-1.5.2-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update golang'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-0cdb6d06b7

Comment 5 Fedora Update System 2015-12-22 15:37:17 UTC
golang-1.5.2-2.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-911afa53ac

Comment 6 Fedora Update System 2015-12-22 22:04:14 UTC
golang-1.5.2-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2016-01-04 19:53:34 UTC
golang-1.5.2-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.