Java Desktop System Email and Calendar User Guide

Signing Secure Messages

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:

  1. Open the following file: $HOME/.gnupg/gpg.conf

  2. Comment out the following line: use-agent