From: Sergey Matveev Date: Tue, 13 Apr 2021 09:42:18 +0000 (+0300) Subject: More OCB friendliness X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=94fbba94751f96519772188937daa54a2925a5c7 More OCB friendliness --- diff --git a/bin/bin/gpg-e-fast.sh b/bin/bin/gpg-e-fast.sh index 580c8b5..5d44e28 100755 --- a/bin/bin/gpg-e-fast.sh +++ b/bin/bin/gpg-e-fast.sh @@ -1,3 +1,3 @@ #!/bin/sh -gpg --compress-level 0 --encrypt --cipher-algo AES-128 $@ +gpg --compress-level 0 --encrypt --force-aead --cipher-algo AES-128 $@ diff --git a/gnupg/.gnupg/gpg.conf b/gnupg/.gnupg/gpg.conf index 3f0d89e..84b4a16 100644 --- a/gnupg/.gnupg/gpg.conf +++ b/gnupg/.gnupg/gpg.conf @@ -11,11 +11,12 @@ photo-viewer sxiv %i trust-model tofu+pgp auto-key-locate dane wkd hkp://pool.sks-keyservers.net local +aead-algo OCB personal-aead-preferences OCB EAX personal-cipher-preferences TWOFISH AES256 CAMELLIA256 AES192 CAMELLIA192 AES CAMELLIA128 CAST5 BLOWFISH IDEA 3DES personal-digest-preferences SHA512 SHA384 SHA256 SHA224 RIPEMD160 SHA1 personal-compress-preferences ZLIB ZIP BZIP2 Uncompressed -default-preference-list TWOFISH AES256 CAMELLIA256 AES192 CAMELLIA192 AES CAMELLIA128 CAST5 BLOWFISH IDEA 3DES SHA512 SHA384 SHA256 SHA224 RIPEMD160 SHA1 ZLIB ZIP BZIP2 Uncompressed +default-preference-list OCB EAX TWOFISH AES256 CAMELLIA256 AES192 CAMELLIA192 AES CAMELLIA128 CAST5 BLOWFISH IDEA 3DES SHA512 SHA384 SHA256 SHA224 RIPEMD160 SHA1 ZLIB ZIP BZIP2 Uncompressed cert-digest-algo SHA512 group myself=AE1A8109E49857EF