Tweak GPG conf (SHA1 again, check cert level) and alias for SSHFS

master
Quentin Duchemin 2019-01-27 20:40:18 +01:00
parent 5be59973aa
commit ba482e3efc
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
2 changed files with 8 additions and 2 deletions

View File

@ -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

1
.zshrc
View File

@ -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