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.

22 lines
756 B

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