Mailing List Archive

two keys - delete one
Hi.

During my tests with pgp/gpg I imported my old pgp-key.

gpg --list-keys shows me the list of known keys - inclusive the one I
want to remove. My problem is, I can't access the second one and
delete it.
The only possibility I found is to delete first my secret key, then
the public key, then the pgp-key.
After that I reimported my public key and the backup of my
secring.gpg. The pgp-key was removed, but I don't think this is the
right way to do ?-)

--
With best wishes, GR
To Mucki and Nane: miss you even now.
Live is too short to waste it with M$.
mail -s "get gpgkey" g.ristic@berlin.de (GnuPG)
Re: two keys - delete one [ In reply to ]
On Wed, Feb 09, 2000 at 05:39:05AM +0000, Goran Ristic wrote:
> Hi.
>
> During my tests with pgp/gpg I imported my old pgp-key.
>
> gpg --list-keys shows me the list of known keys - inclusive the one I
> want to remove. My problem is, I can't access the second one and
> delete it.

gpg --delete-private-key <key-id-in-hex-not-user-id>
gpg --delete-key <key-id-in-hex-not-user-id>
Re: two keys - delete one [ In reply to ]
On Wed, Feb 09, 2000 at 02:08:15PM +0100, Remi Guyomarch wrote:
> On Wed, Feb 09, 2000 at 05:39:05AM +0000, Goran Ristic wrote:
> > Hi.
> >
> > During my tests with pgp/gpg I imported my old pgp-key.
> >
> > gpg --list-keys shows me the list of known keys - inclusive the one I
> > want to remove. My problem is, I can't access the second one and
> > delete it.
>
> gpg --delete-private-key <key-id-in-hex-not-user-id>

Oops, it's "gpg --delete-secret-key" not "private".