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.
 
 
 
 
Julien Escario 8f2924f047 Merge pull request 'Added correct key owner in cpe pubkey' (#7) from julien into master 3 years ago
..
Readme.md Added ALTINEAUSERMAIL variable 4 years ago
config Moved ssh config file in correct dir 4 years ago
gpg-agent.conf Config update (using pinentry gnome3 4 years ago
gpg.conf Removed duplicate line 4 years ago

Readme.md

Configuration environnement GnuPG

Créer le répertoire :

export ALTINEAUSERMAIL=<e-mail address>
apt install pinentry-gnome3
mkdir -p ~/.gnupg/
curl -s -o ~/.gnupg/gpg.conf https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/gpg/gpg.conf
curl -s -o ~/.gnupg/gpg-agent.conf https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/gpg/gpg-agent.conf
chmod 700 -R .gnupg
mkdir -p .ssh
curl -s -o ~/.ssh/config https://gitlab.altinea.fr/altinea/install-scripts/raw/branch/master/gpg/config

Puis, charger sa clé publique :

gpg --auto-key-locate keyserver --locate-keys <e-mail>
gpg --card-status

Si la config est correcte, ssh-add -l doit retourne une clé ssh publique se terminant par cardno:XXXXX