Closed Bug 1580315 Opened 5 years ago Closed 5 years ago

Remove nsIX509CertList from TransportSecurityInfo

Categories

(Core :: Security: PSM, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: sefeng, Assigned: sefeng)

References

Details

(Whiteboard: [psm-assigned])

Attachments

(2 files, 4 obsolete files)

No description provided.

Since we are removing nsIX509CertList, some of the helper functions
need to be duplicated with small modifications to adapt the new
certList format.

Priority: -- → P1
Whiteboard: [psm-assigned]
Attachment #9091895 - Attachment is obsolete: true
Attachment #9091896 - Attachment is obsolete: true

This patch intends to change the internal reprensentation of certList
from nsIX509CertList to Array for TransportSecurityInfo.

Depends on D48744

Some glue code was introduced when we converted certChain in
TransportSecurityInfo from nsIX509CertList to Array.

This patch intends to remove them.

Depends on D48745

Keywords: leave-open
Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c770a884ed23
Change certList internal representation to Array r=keeler

The internal representation of certList has been converted to
cert array, and this patch does it for the serialization.

Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d3482abe1fc9
Use cert array to do certList serialization r=keeler
Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/11e5baee978e
Convert certList to raw array for nsITransportSecurityInfo r=keeler,Ehsan,kershaw
Backout by malexandru@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b064c734e317
Backed out changeset 11e5baee978e for issues related to certList. CLOSED TREE

Backed out changeset 11e5baee978e (Bug 1580315) for issues related to certList.

Backout link: https://hg.mozilla.org/integration/autoland/rev/b064c734e317213d45d79e7c7bee49f34f4aebf7

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&tochange=b064c734e317213d45d79e7c7bee49f34f4aebf7&fromchange=341d72ef4bf5fa9d5066e237c25272d46a9329c7&selectedJob=272248692

Failure logs:

Flags: needinfo?(sefeng)
Regressions: 1590709

Alexandry, if I read this bug correctly, this landed in 71 nightly just before the merge and was backed out after the merge in 72 nightly. If it's not good enough for nightly to deserve a back out, shouldn't it be backed out from beta as well?

Flags: needinfo?(malexandru)

Well as far as I can see d3482abe1fc9 was the latest changeset from this bug to make it into beta, and that one didn't give us any trouble on nightly,
so I don't think we should back it out from beta.

11e5baee978e was backed out before getting into central, so that one didn't make it into beta.

Flags: needinfo?(malexandru)

Comment on attachment 9099972 [details]
Bug 1580315 - Convert certList to raw array for nsITransportSecurityInfo

Revision D48745 was moved to bug 1592083. Setting attachment 9099972 [details] to obsolete.

Attachment #9099972 - Attachment is obsolete: true

Created bug 1592083 for the rest of the TransportSecurityInfo changes to make this bug can be marked as resolved.

Status: NEW → RESOLVED
Closed: 5 years ago
Flags: needinfo?(sefeng)
Keywords: leave-open
Resolution: --- → FIXED
Attachment #9099973 - Attachment is obsolete: true
Regressions: 1620972
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: