There are at least 2 bugs here.

One is that gnome-keyring doesn't whitelist Seahorse in
/usr/share/p11-kit/modules/gnome-keyring.module, so its PKCS#11 module
doesn't load inside Seahorse at all, cutting off Seahorse from the
user's certificates. A merge request (with a patch to remove that whole
list and allow loading everywhere) is at
https://gitlab.gnome.org/GNOME/gnome-keyring/-/merge_requests/61.

The other is a gcr-3 regression introduced when they migrated from
autotools to meson, that left out a resource file from the build. A
merge request with my patch is at
https://gitlab.gnome.org/GNOME/gcr/-/merge_requests/134 but I am not
sure whether the gcr team is making any further gcr-3 releases. It's not
yet clear what is happening in future versions, such as gcr-4, as it
deleted that file, and it is presumably moving to Seahorse. Seahorse's
nielsdg/gtk4 branch with that change was last updated mid-2022 and has
not yet been merged to main.

Having applied those patches on Xubuntu 23.04, I can import certificates
perfectly. However after import I have to restart Seahorse to see the
new certificates, which seems like some other bug.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-keyring in Ubuntu.
https://bugs.launchpad.net/bugs/1771880

Title:
  Seahorse unable to import pkcs12 certificates

Status in seahorse:
  New
Status in gnome-keyring package in Ubuntu:
  Triaged
Status in seahorse package in Ubuntu:
  Triaged
Status in gnome-keyring package in Fedora:
  New
Status in seahorse package in Fedora:
  Unknown

Bug description:
  seahorse 3.20.0-5 / gnome-keyring 3.28.0.2-1ubuntu1.18.04.1 / Ubuntu
  18.04 LTS / GNOME 3.28.1

  When trying to import a certificate into seahorse/gnome-keyring on
  Ubuntu 18.04, seahorse GUI application shows the 'import' button
  greyed out, while mouse hovering the "import" button shows the message
  "Cannot import because there are no compatible importers".

  This problem doesn't occur on Ubuntu 16.04 LTS (Seahorse 3.18.0), as
  I've just tested on my wife's laptop, but happens in my Laptop with
  Ubuntu 18.04 LTS (Seahorse 3.20.0-5).

  Because that problem, it's not possible to digitally sign documents
  with LibreOffice.

To manage notifications about this bug go to:
https://bugs.launchpad.net/seahorse/+bug/1771880/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to