I understand that nowadays passwords are not stored in plaintext, only as password + salt and hashed (minimum). But I haven't found any exact confirmation that gpg does NOT store (cache, place in RAM) the passphrase in plaintext.
And if a password is stored in plaintext, i.e. it is decrypted repeatedly using this password, how is it protected so that it is not stolen from the cache (RAM or wherever it is located)?