« GPG » : différence entre les versions

De NCad Wiki
Aller à la navigation Aller à la recherche
Ligne 12 : Ligne 12 :


{{ Box Console | objet=gpg2 --list-keys<br />
{{ Box Console | objet=gpg2 --list-keys<br />
C:/Users/NCACHELOU/AppData/Roaming/gnupg/pubring.gpg<br />
C:/Users/Cacheln/AppData/Roaming/gnupg/pubring.gpg<br />
- - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
- - - - - - - - - - - - - - - - - - - - - - - - - - -<br />
pub  2048R/EBF80ECB 2015-11-23 [révoquée : 2015-11-23]<br />
pub  2048R/EBF80ECB 2015-11-23 [révoquée : 2015-11-23]<br />

Version du 23 novembre 2015 à 11:01

Révoquer une clée

  • On génère un certificat de révocation.

gpg2 --output revoke.asc --gen-revoke <uid>

  • On importe ce certificat de révocation.

gpg2 --import revoke.asc

  • Notre clé est désormais à l'état révoquée.

gpg2 --list-keys
C:/Users/Cacheln/AppData/Roaming/gnupg/pubring.gpg
- - - - - - - - - - - - - - - - - - - - - - - - - - -
pub 2048R/EBF80ECB 2015-11-23 [révoquée : 2015-11-23]
uid [ révoquée] Nicolas CACHELOU <nicolas.cachelou@ncad.fr>

  • On exporte la clé révoquée sur les serveurs de clés publiques.

gpg2 --send-keys <uid>
gpg: envoi de la clef EBF80ECB au serveur hkp keys.gnupg.net