When you add an encrypted signature to an email message, you might see the following error:
Failed to GPG sign: Broken pipe gpg: skipped '<KEY>': secret key not available gpg: signing failed: secret key not available
To correct this error, perform the following steps:
Open the following file: $HOME/.gnupg/gpg.conf
Comment out the following line: use-agent