linux:securite:cle_pgp

PGP

http://www.gnupg.org/(fr)/index.html

Générer une nouvelle paire de clés

  • gpg –gen-key

Générer un certificat de révocation

  • gpg –output revoke.asc –gen-revoke mykey

échanger des clés

  • gpg –list-keys

Exporter une clé publique

  • gpg –output alice.gpg –export alice@cyb.org
  • gpg –armor –export alice@cyb.org ⇐= ASCII

Importer une clé publique

  • gpg –import blake.gpg
  • gpg –edit-key blake@cyb.org ⇐= vérification
    • Command> fpr
    • Command> sign
    • Command> check
  • linux/securite/cle_pgp.txt
  • Dernière modification: 2018/10/13 14:59
  • (modification externe)