Closed Bug 1642194 Opened 4 years ago Closed 4 years ago

PEM chain export missing line breaks

Categories

(Core :: Security: PSM, defect)

76 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1615612

People

(Reporter: gyelod, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0

Steps to reproduce:

"View Certificate" of a remote server opens it in about:certificate. Download PEM (cert) and PEM (chain).

Actual results:

The exported files PEM (cert) has proper line breaks, while PEM (chain) is missing line breaks.

Expected results:

According to rfc1421:
"To represent the encapsulated text of a PEM message, the encoding function's output is delimited into text lines (using local conventions), with each line except the last containing exactly 64 printable characters and the final line containing 64 or fewer printable characters."

PEM (cert) with correct line breaks.

PEM (chain) with missing line breaks.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Security: PSM
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: