AWS Airflow (mwaa) and decryption using Python gnupg library

@bernhard I’m facing the same issue but I seem to have the full gnupg installation but still getting the gpg-agent not found error.

gpg --version:

gpg (GnuPG) 2.3.7
libgcrypt 1.10.2-unknown
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /usr/local/airflow/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
AEAD: EAX, OCB
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224

cat /etc/os-release: PRETTY_NAME="Amazon Linux 2023.6.20241121"

I tried running gpg-agent --version but it is not installed. Could you advice?