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 159671 - Export Secret Keys
Export Secret Keys
Status: RESOLVED FIXED
Product: seahorse
Classification: Applications
Component: general
0.7.x
Other Linux
: Low enhancement
: ---
Assigned To: Seahorse Maintainer
Seahorse Maintainer
: 169774 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-11-28 00:27 UTC by zerohalo
Modified: 2005-03-12 06:15 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description zerohalo 2004-11-28 00:27:50 UTC
At present, when exporting a key, there is no indication of whether both the
public/secret key pair is being exported or just the public key.

An option is needed in the export dialog box where the user can select to
include the secret key along with the public key. Generally this would be left
unchecked, and could be greyed out if the key being exported is not a
public/secret key pair.
Comment 1 Adam Schreiber 2004-11-28 19:53:48 UTC
I looked at the possibility of exporting private keys while adding the backup
keyring functionality.   GPGME doesn't provide a method for doing so at this
time, and judging from mailing list traffic, will not anytime soon.  Currently
the export menu selection has the same functionality as using gpg --export,
which only exports public keys.  If you want to export private keys, your only
option at the moment is the backup keyring function which compresses your public
and private keyrings into an archive of your choosing.
Comment 2 Stef Walter 2004-11-29 02:44:56 UTC
Yes, that's the case. 

However at some point, if the GPGME devs don't want to add it, we're going to
have to push ahead with these features. Not a priority though.

Comment 3 Adam Schreiber 2004-11-29 03:29:03 UTC
Is there a point at which we should consider expanding GPGME ourselves?
Comment 4 Stef Walter 2004-11-29 03:53:43 UTC
I believe we've already started with the gpg options and keyserver code. I named
the files and functions gpgmex_*. I need to consolidate what we have and make
the API consistent before we add too much more, however. 
Comment 5 Adam Schreiber 2004-11-30 00:53:54 UTC
Is the goal to eventually get these functions added to gpg or do they just make
use of the gpg plugins?
Comment 6 Stef Walter 2004-11-30 02:53:06 UTC
Do you mean GPGME? I guess it's a balance. We should ask them to include the
functionality, however they seem to be set on making GPGME the lowest common
denominator between gpg and gpgsm (and handle both PGP and S/MIME keys equally),
so I imagine certain features will not get in. 

But yes, that's a good idea, you could request this specific feature in GPGME
and see what the response is. That would help us figure a course of action, no?
Comment 7 Adam Schreiber 2004-11-30 05:30:50 UTC
Yes, GPGME.

I suppose my point is that we will be maintaining our own set of functionality
that perhaps all programs that use GPGME would benefit from.  I suppose I don't
necessarily understand all of the aims/goals of GPGME, but I am agreed we need
to figure out where we're going.
Comment 8 Stef Walter 2004-12-15 02:53:46 UTC
Any chance you could ask on the GPG lists about the secret key issue? That would
give us some insight into where they're headed, and what's happening. The fact
that they LGPL'd GPGME shows promise. 

I would, but I have my hands full with a million things at the moment. 
Comment 9 Adam Schreiber 2004-12-20 03:44:39 UTC
Werner Koch of gpg-devel has made it clear that no allowance for exporting
normal secret keys will be made in GPGME and those users with subkeys are
advanced enough to use the command line to do such tasks.
Comment 10 Stef Walter 2004-12-21 17:36:54 UTC
I think we may need to provide an option in seahorse to do this. It is
especially importan for users of different operating systems to be able to
transport their secret keys between machines. In lieu of this option, the
'un-advanced' user will create a second secret key, which is less than desirable.
Comment 11 Adam Schreiber 2005-01-18 00:10:38 UTC
The more I think about this, the more I don't see any difference between
exporting their public keys that correspond to their private ones, copying their
secret keyring, and then importing their pub keys and pasting their private
ones.  Am I missing something?
Comment 12 Stef Walter 2005-01-23 00:54:32 UTC
I guess people want to move keys between machines and OS's, and as such they'll
need some way toget the secret key out. 
Comment 13 Stef Walter 2005-02-23 00:42:15 UTC
Added support. Checked into CVS.
Comment 14 Stef Walter 2005-03-12 06:15:49 UTC
*** Bug 169774 has been marked as a duplicate of this bug. ***