Skip to content

Feature: Show URL and allow to inspect certificate in browser windows - #791

Merged
GB609 merged 3 commits into
masterfrom
feature/282-certificate_and_url
Oct 21, 2026
Merged

GB609 merged 3 commits into
masterfrom
feature/282-certificate_and_url

Conversation

@GB609

@GB609 GB609 commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Closes: #282

This PR tackles an issue that has been open since quite long ago:
Security concerns raised by folks at Debian.

  1. I've abstracted and generalized a "Browser" Dialog out from the Login window (thinking about potential future use to open the GOG store from within MG). This step comes with a minor change in class composition: Gtk doesn't allow to inherit from templated classes. So Login is not a subclass of Dialog anymore, but a proxy exposing a similar api that internally configures and launches a BrowserWindow.
  2. That Browser class shows the URL, and a little icon (using stock name system-lock-screen, which should appear to be a lock)
  3. When clicked, the certificate of the url gets displayed.

Maybe it's not the most beatiful solution out there, but it helps.
I'm a bit unsure about the icon in use, maybe we should either search another one to include in our resources, OR use another standard? Maybe one of security-[high|medium|low] (which appear to be little shield icons).

grafik grafik

Checklist

  • CHANGELOG.md was updated (format: - Change made (thanks to github_username))

@GB609
GB609 requested a review from sharkwouter October 19, 2026 13:15
@GB609
GB609 merged commit 9884b81 into master Oct 21, 2026
3 checks passed
@GB609
GB609 deleted the feature/282-certificate_and_url branch October 21, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show certificate in embedded browser

2 participants