librewolf/issues
25
145

Support Code Signature #1707

Closed
opened 2023年12月14日 18:01:12 +01:00 by anhkhoakz · 10 comments

I'm currently using 1Password. And it requires code signature for using biometric to unlock 1Password and the LibreWolf browser. Can you add it to your browser, please?

I'm currently using 1Password. And it requires code signature for using biometric to unlock [1Password and the LibreWolf browser](https://1password.community/discussion/128208/1password-and-the-librewolf-browser). Can you add it to your browser, please?

+1 for this whenever the roadmap allows for it.

+1 for this whenever the roadmap allows for it.

For context here is the quote from the 1Password team

For security reasons, 1Password has to check the code signature in a browser before connecting to ensure that the browser is not modified or changed. LibreWolf doesn't have its code signature updated in 1Password, and that is why the 1Password app will not connect with the browser.

I don't know how much effort this would require but maybe code signing can be automated in CI. Then someone from the LibreWolf team could could communicate with the 1Password team on how they can keep updating them with new code signatures.

For context here is the [quote from the 1Password team](https://www.1password.community/discussions/1password/1password-and-the-librewolf-browser/116734/replies/116735) > For security reasons, 1Password has to check the code signature in a browser before connecting to ensure that the browser is not modified or changed. LibreWolf doesn't have its code signature updated in 1Password, and that is why the 1Password app will not connect with the browser. I don't know how much effort this would require but maybe code signing can be automated in CI. Then someone from the LibreWolf team could could communicate with the 1Password team on how they can keep updating them with new code signatures.

For context, this is what the problem looks like. In 1Password's settings you can add other browsers. I've used this to add other browsers such as Orion:

SCR-20250312-kwlj

Trying to add Librewolf results in this error:

image

That application didn't work

The selected application was signed in an unsupported way or may be missing a required identifier.

For context, this is what the problem looks like. In 1Password's settings you can add other browsers. I've used this to add other browsers such as Orion: ![SCR-20250312-kwlj](/attachments/de01b396-1598-43d9-90fa-16a3cff2661e) Trying to add Librewolf results in this error: ![image](/attachments/976d7ac3-4036-4ab1-aad7-0371cffb6e9c) > That application didn't work > > The selected application was signed in an unsupported way or may be missing a required identifier.

Also seems to be the cause of

Apple’s help page about app code signing

Also seems to be the cause of - issue #752 - possibly this reddit thread https://www.reddit.com/r/LibreWolf/comments/wclac1/1password_browser_extenstion_desktop_application/ [Apple’s help page](https://support.apple.com/guide/security/app-code-signing-process-sec3ad8e6e53/web) about app code signing

I am also having this issue. It is a usability issue for me because my master password is quite long and fingerprint auth would make the experience much better.

I am also having this issue. It is a usability issue for me because my master password is quite long and fingerprint auth would make the experience much better.

Edit: My solution is for Linux. Apologies for not clarifying previously!

I have this working on LibreWolf v138.0.4-1, 1Password browser extension version 8.10.76.34, and 1Password for Linux 8.10.76 (81076034).

How I got it working:

  1. Setup the 1Password extension and connect it to the 1Password app on Firefox FIRST, then go through this process.
  2. Follow the guide from 1Password to enable additional trusted browsers here: https://support.1password.com/connect-1password-browser-app/?linux+active=&linux%20active#appendix-add-additional-trusted-browsers
    NOTE STEP ONE: DO NOT USE FLATPAK OR SNAP PACKAGES FOR THIS. IT WILL NOT WORK.
  3. Copy the native messaging folder from .mozilla into .librewolf by following the same method found here: https://github.com/keepassxreboot/keepassxc/discussions/7669#discussioncomment-2857593
  4. Without even restarting, the 1Password extension should now be able to communicate with the desktop app. It did for me at least!
Edit: My solution is for **Linux**. Apologies for not clarifying previously! I have this working on LibreWolf v138.0.4-1, 1Password browser extension version 8.10.76.34, and 1Password for Linux 8.10.76 (81076034). How I got it working: 1. Setup the 1Password extension and connect it to the 1Password app on Firefox FIRST, then go through this process. 2. Follow the guide from 1Password to enable additional trusted browsers here: https://support.1password.com/connect-1password-browser-app/?linux+active=&linux%20active#appendix-add-additional-trusted-browsers NOTE STEP ONE: DO NOT USE FLATPAK OR SNAP PACKAGES FOR THIS. IT WILL NOT WORK. 3. Copy the native messaging folder from `.mozilla` into `.librewolf` by following the same method found here: https://github.com/keepassxreboot/keepassxc/discussions/7669#discussioncomment-2857593 4. Without even restarting, the 1Password extension should now be able to communicate with the desktop app. It did for me at least!

@cordlord Thanks for the addition!

For context: The screenshots + 1Password community link are about macOS. For me copying the NativeMessagingHosts does not work on macOS - even if you use the macOS specific paths (~/Library/Application Support/librewolf/~/Library/Application Support/Mozilla`). I think this has to do with the way macOS code signing works.

@cordlord Thanks for the addition! For context: The screenshots + 1Password community link are about macOS. For me copying the NativeMessagingHosts does not work on macOS - even if you use the macOS specific paths (`~/Library/Application Support/librewolf`/~/Library/Application Support/Mozilla`). I _think_ this has to do with the way macOS code signing works.

@fmjansen No problem!

Apologies for not clarifying! This was linked from another issue and wanted to spread the word.

I believe you'd be correct, the link from my step 2 does mention using an Apple Code signed browser with this link: https://support.apple.com/guide/security/app-code-signing-process-sec3ad8e6e53/web

@fmjansen No problem! Apologies for not clarifying! This was linked from another issue and wanted to spread the word. I believe you'd be correct, the link from my step 2 does mention using an Apple Code signed browser with this link: https://support.apple.com/guide/security/app-code-signing-process-sec3ad8e6e53/web

I believe this is still a problem in macOS. Is there a workaround? From the linked posts, I couldn't easily tell. If code signing through Apple is required to make this work, is there an issue to track for that? And is there a way to support that?

I believe this is still a problem in macOS. Is there a workaround? From the linked posts, I couldn't easily tell. If code signing through Apple is required to make this work, is there an issue to track for that? And is there a way to support that?

The issue that tracks code signature thing: #2664 (the pinned issue, right on the top ;P)

The issue that tracks code signature thing: https://codeberg.org/librewolf/issues/issues/2664 (the pinned issue, right on the top ;P)
Sign in to join this conversation.
No Branch/Tag specified
main
No results found.
Labels
Clear labels
Branding
Issues that relate to our logo or the branding of our browser and website.
Broken Upstream
Issue is also present in Firefox
Build
Alpine
Issues specific to the Alpine Linux build of LibreWolf.
Build
AppImage
Issues specific to the AppImage release of LibreWolf.
Build
AUR
Issues specific to the AUR build of LibreWolf.
Build
Debian
Issues specific to our official release for Debian based distros.
Build
DebianOBS
Issues specific to the non-official OBS build of LibreWolf.
Build
Fedora
Issues specific to our official release for Fedora.
Build
FedoraCOPR
Issues specific to the non-official COPR build of LibreWolf.
Build
Flatpak
Issues specific to the Flatpak release of LibreWolf.
Build
Gentoo
Issues specific to the Gentoo build of LibreWolf.
Component: Infrastructure
Issues related to infrastructure provided by LibreWolf
Component
Builds
Issues related to how we build LibreWolf
Component
Patches
Issue with one of the patches in our source code.
Component
Settings
Issues related to the settings of LibreWolf.
Component
UI
A purely cosmetic issue in our browser.
Component
Website
Issues with our website.
Docs
Change required
A needed change in our documentation.
Docs
FYI
Issues that document a change, or how stuff gets patched, built or configured.
Flag
Caution
Change that might be tricky or that needs to be carefully evaluated. Best suited for core members.
Flag
Good first issue
Suited for a first contribution as it is a straightfoward task!
FreeBSD
Issues related to the FreeBSD release of LibreWolf.
Linux
Issues realted to one or all our Linux releases.
macOS
Issues realated to the MacOS release of LibreWolf.
Needed
Help
We are stuck :-(
Needed
Info
Closing in ten days if no details are provided.
Needed
Testing
We are almost there!
Prio
High
Issues with a high priority
Prio
Low
Prio
Normal
Prio/Urgent
Issues needing immediate attention
Repositories
An issue with our repositories.
Research
Collecting informations to document something or to evaluate a change.
Source
Issues related to the source code of LibreWolf.
Status
Blocked
An issue blocked by another one.
Status
Duplicate
Look for existing issues.
Status
Icebox
Change that is not happening soon or issue that cannot be tested.
Status
Known issue
An issue that we are aware of but that we cannot fix at the moment.
Status
Not Planned
The requested feature is currently not planned
Status
Upstream
Either we upstreamed the issue or a fix is coming directly from Mozilla!
Status
Won't fix
Does not require a fix.
Type
?
What?
Type
Bug
Ouch...
Type
Discussion
Let's have a talk...
Type
Feature
A feature request.
Type
Question
Not a issue but just a user question
Type
Task
This needs to be done
Windows
Issues related to the Windows release of Librewolf.
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
9 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
librewolf/issues#1707
Reference in a new issue
librewolf/issues
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?