unable to import p12 files in 64bit 12.04 + 13.04

Bug #1254946 reported by Alexander Mohr
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

on a fresh install of 64bit 12.04 or 13.04, if you attempt importing a password protected p12 through the command line as such:
gnome-keyring import ~/Desktop/client.p12

You will either get the error:
gnome-keyring: couldn't find any place to import files

or on 12.04:
---
amohr@ubuntu:~$ gnome-keyring import ~/Desktop/client.key

(gnome-keyring:4195): Gcr-CRITICAL **: gcr_pkcs11_get_modules: assertion `initialized_modules' failed

(gnome-keyring:4195): Gcr-CRITICAL **: populate_slots: assertion `modules' failed

(gnome-keyring:4195): Gcr-CRITICAL **: state_initialize_pin: assertion `self->pv->slot' failed
**
Gcr:ERROR:gcr-importer.c:828:gcr_importer_import: assertion failed: (!self->pv->processing)
Aborted (core dumped)

---

Furthermore, if you go to seahorse, and attempt to add a "Private key" you'll note the "Stored at" is blank and it won't let you create a new private key.

This used to work in 10.04.

It appears there's a work-around in 13.04 by first unlocking the "Gnome2 Key Storage" (which incidentally throws an error about you already being logged in, but then unlocks it), and then doing File->Import from seahorse and importing to the Gnome2 key storage area.

This trick doesn't work in 12.04 because if you try to import the p12 or they key it says its an invalid format :(

description: updated
summary: - unable to import p12 files in 12.04 + 13.04
+ unable to import p12 files in 64bit 12.04 + 13.04
description: updated
description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Revision history for this message
Alexander Mohr (thehesiod) wrote :

does this sound like the problem? https://bugzilla.gnome.org/show_bug.cgi?id=680653

Revision history for this message
Alexander Mohr (thehesiod) wrote :

actually this sounds more like it: https://bugzilla.gnome.org/show_bug.cgi?id=706527

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-keyring (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.