After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 680653 - "gnome-keyring import" should initialize pkcs11
"gnome-keyring import" should initialize pkcs11
Status: RESOLVED OBSOLETE
Product: gnome-keyring
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on: 680652
Blocks:
 
 
Reported: 2012-07-26 14:21 UTC by Stef Walter
Modified: 2021-06-18 10:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tool: Initialize pkcs#11 before beginning import (866 bytes, patch)
2012-07-26 14:58 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2012-07-26 14:21:06 UTC
The "gnome-keyring import" command should initialize pkcs11. Currently the GcrPkcs11Importer fails because this isn't done. Regression.
Comment 1 Stef Walter 2012-07-26 14:58:53 UTC
Created attachment 219694 [details] [review]
tool: Initialize pkcs#11 before beginning import
Comment 2 Dan Winship 2012-07-26 15:21:24 UTC
danw@laptop:tool> ./gnome-keyring-3 import ~/.fedora.cert 
Gnome2 Key Storage: imported private key: unknown
	identifier: 8562D4DB7F228332626B602D0DCBB413CA642BE4
Gnome2 Key Storage: imported certificate: danw
	identifier: 8562D4DB7F228332626B602D0DCBB413CA642BE4
gnome-keyring: couldn't import: No user has logged in

(gnome-keyring-3:32145): Gck-CRITICAL **: gck_list_unref_free: assertion `G_IS_OBJECT (l->data)' failed
danw@laptop:tool> 


The "couldn't import" seems to be erroneous (unless maybe it's trying to import it into the User Key Storage too?)
Comment 3 thehesiod 2013-11-26 22:01:28 UTC
I just logged a bug between gnome-keyring and seahorse, it sounds similar: https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/1254946
Comment 4 André Klapper 2021-06-18 10:41:06 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/gnome-keyring/-/issues/

Thank you for your understanding and your help.