You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
598 B

4 years ago
4 years ago
4 years ago
  1. # Configuration environnement GnuPG
  2. ### Créer le répertoire :
  3. ```
  4. apt install pinentry-gnome3
  5. mkdir -p ~/.gnupg/
  6. curl -s -o ~/.gnupg/gpg.conf https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/gpg/gpg.conf
  7. curl -s -o ~/.gnupg/gpg-agent.conf https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/gpg/gpg-agent.conf
  8. chmod 700 -R .gnupg
  9. ```
  10. ### Puis, charger sa clé publique :
  11. ```
  12. gpg --auto-key-locate keyserver --locate-keys <e-mail>
  13. gpg --card-status
  14. ```
  15. Si la config est correcte, ssh-add -l doit retourne une clé ssh publique se terminant par cardno:XXXXX