-
-
Notifications
You must be signed in to change notification settings - Fork 109
Description
I found another issue with the latest gpg used by ubuntu 24.04 lts.
It seems to use a method called aead. When I encrypted new passwords on my local pc (which is running ubuntu 24.04), the passwords can not be decrypted by pass for ios.
Older passwords were encrypted by "mdc_method: 2", can be decrypted without any issue.
Gemini told me, that I have to set for each gpg key some preferences, which method for encryption to use, so the the gpg 2.4.4 don't use aead anymore. For this, you have to call
gpg --edit-key YOUR_KEY_ID
Then gpg commandline will open
gpg> setpref SHA512 SHA384 SHA256 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed
gpg> save
This does prevent the usage of aead method for encryption, without the need of installation of an older gpg version.