Supprimer une clé

La commande gpg --delete-key slack supprime la clé dont la description ressemble le plus à slack. Dans ce cas, j'obtiens le résultat suivant:

bash-2.05b$ gpg --delete-key slack
gpg (GnuPG) 1.2.3; Copyright (C) 2003 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
pub  1024D/40102233 2003-02-26   Slackware Linux Project <security@slackware.com>

Delete this key from the keyring? y
bash-2.05b$

Si je réponds y alors la clé sera supprimée.

La commande gpg --delete-secret-key CoCoZ supprime la clé privée de CoCoZ :

bash-2.05b$ gpg --delete-secret-key CoCoZ
gpg (GnuPG) 1.2.3; Copyright (C) 2003 Free Software Foundation, Inc.
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.

gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/faq.html for more information
sec  1024D/920625BC 2003-11-07   Julien Francoz (CoCoZ) <julien@francoz.net>

Delete this key from the keyring? y
This is a secret key! - really delete? y
bash-2.05b$