I have the same problem trying to set the passphrase directly in the shell script (I know, it isn't great, but none of these options are).
Neither --gpg-options "--passphrase='[passphrase]'" nor --gpg-options "--passphrase [passphrase]" worked.
I have the same problem trying to set the passphrase directly in the shell script (I know, it isn't great, but none of these options are).
Neither '[passphrase] '" nor
--gpg-options "--passphrase=
--gpg-options "--passphrase [passphrase]"
worked.