From ba482e3efc2e1a6a6c4cc01d705460d67b65d540 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Sun, 27 Jan 2019 20:40:18 +0100 Subject: [PATCH] Tweak GPG conf (SHA1 again, check cert level) and alias for SSHFS --- .gnupg/gpg.conf | 9 +++++++-- .zshrc | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.gnupg/gpg.conf b/.gnupg/gpg.conf index 10fd10b..88cdf70 100644 --- a/.gnupg/gpg.conf +++ b/.gnupg/gpg.conf @@ -12,9 +12,7 @@ with-subkey-fingerprint personal-cipher-preferences AES256 personal-digest-preferences SHA512 default-preference-list SHA512 SHA384 SHA256 RIPEMD160 AES256 TWOFISH BLOWFISH ZLIB BZIP2 ZIP Uncompressed -personal-cipher-preferences TWOFISH CAMELLIA256 AES 3DES disable-cipher-algo 3DES -weak-digest SHA1 # Par défaut, je considère que je n'ai pas vérifié les clés que je certifie default-cert-level 1 @@ -26,3 +24,10 @@ tofu-default-policy unknown # On réduit la profondeur de la chaine de certification à 5 max-cert-depth 4 + +# Demander le niveau de certification +ask-cert-level + +# Serveur de clé par défaut +keyserver hkps://hkps.pool.sks-keyservers.net +cert-digest-algo SHA256 diff --git a/.zshrc b/.zshrc index 6c681e1..45b0005 100644 --- a/.zshrc +++ b/.zshrc @@ -102,6 +102,7 @@ alias cp="cpv" # To use when .cfg contains a bare git repo. # See this https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/ alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME' +alias ovh='sshfs chosto@51.75.250.228:/home/chosto /mnt/ovh' # Start ssh-agent and retain passphrase for 1 hour # ssh-add is not used for convenience