Tweak GPG conf (SHA1 again, check cert level) and alias for SSHFS
parent
5be59973aa
commit
ba482e3efc
|
@ -12,9 +12,7 @@ with-subkey-fingerprint
|
||||||
personal-cipher-preferences AES256
|
personal-cipher-preferences AES256
|
||||||
personal-digest-preferences SHA512
|
personal-digest-preferences SHA512
|
||||||
default-preference-list SHA512 SHA384 SHA256 RIPEMD160 AES256 TWOFISH BLOWFISH ZLIB BZIP2 ZIP Uncompressed
|
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
|
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
|
# Par défaut, je considère que je n'ai pas vérifié les clés que je certifie
|
||||||
default-cert-level 1
|
default-cert-level 1
|
||||||
|
@ -26,3 +24,10 @@ tofu-default-policy unknown
|
||||||
|
|
||||||
# On réduit la profondeur de la chaine de certification à 5
|
# On réduit la profondeur de la chaine de certification à 5
|
||||||
max-cert-depth 4
|
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
1
.zshrc
|
@ -102,6 +102,7 @@ alias cp="cpv"
|
||||||
# To use when .cfg contains a bare git repo.
|
# 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/
|
# 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 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
|
# Start ssh-agent and retain passphrase for 1 hour
|
||||||
# ssh-add is not used for convenience
|
# ssh-add is not used for convenience
|
||||||
|
|
Loading…
Reference in New Issue