Closed Bug 2082513 Opened 1 month ago Closed 3 days ago

Add “Verified by” line

Categories

(Firefox for Android :: Settings, task)

All
Android
task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: lmccracken, Assigned: lmccracken)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxdroid][android-activation-trust])

Attachments

(1 external file)

Summary
[Android] Add “Verified by” line to the certificate details sub-page

Description
The certificate details sub-page needs a “Verified by” line showing which certificate authority issued the site’s certificate. This ticket covers the UI element and how it renders the issuer name. It builds on the scaffold, which provides the slot for the line, and consumes the certificate data exposed by the data plumbing ticket.

The line should show:

A “Verified by” label
The issuer’s display name (for example, the issuer organization, falling back to the issuer common name if no organization is present)

The line should follow Figma in light and dark themes and use existing theme attributes and components.

Issuer names can be long, or occasionally missing or unusual (for example, enterprise or private roots). The line should handle these without breaking the layout. The final behaviour for a missing issuer name depends on the UX decision in the edge-states tickets, so build it so that behaviour is easy to change.

In scope

“Verified by” line UI, including label and value styling per Figma
Selecting the display name from the issuer fields (organization first, then common name as fallback)
Light and dark theme support
Layout behaviour with large fonts, RTL and tablet widths
Long issuer names wrapping or truncating sensibly
Preview or sample data for review

Out of scope

The issued-to card
Fetching or plumbing certificate data
Final design and implementation of missing-field behaviour (edge-states tickets)
Handling HTTP or invalid and expired certificates
QWAC text and EU trust mark
Pref gating
Focus

Acceptance criteria

The line appears in the sub-page’s “Verified by” slot and shows the issuer name when present.
It matches Figma in light and dark themes (spacing, typography, colours).
The issuer display name uses organization first, then falls back to common name. The fallback order is confirmed with UX or the security team.
A missing issuer name does not leave a dangling label or crash. Interim behaviour is documented in the ticket and linked to the edge-states work.
Long values wrap or truncate without breaking the layout.
The line does not clip or overlap at large font sizes and mirrors correctly in RTL.
The label is in strings.xml.
TalkBack reads the label and value as a logical pair.
Unit or UI tests cover at least: organization present, only common name present, neither present.

Whiteboard: [fxdroid][android-activation-trust]
Assignee: nobody → lmccracken
Status: NEW → ASSIGNED

Shows the issuer organization, falling back to the issuer common name. Until the
missing-field behaviour is decided, the line is hidden when neither is present.
The sub-page previews now use the issued-to card and the "Verified by" line.

Pushed by lmccracken@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d357ff4b115e https://hg.mozilla.org/integration/autoland/rev/6237a5a9e1d0 Add the "Verified by" line to the certificate details sub-page. r=android-reviewers,android-l10n-reviewers,cbect,parker
Status: ASSIGNED → RESOLVED
Closed: 3 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: