Skip to main content

PGP.ENCRYPT_FAILED

Error code PGP.ENCRYPT_FAILED, raised by packages. Area: PGP.

What it means​

  • No public key for '…' in the key folder
  • Encryption failed: …

What to do​

  • Import the recipient's public key first.
  • Check the key and that the target folder is writable.
  • …Check GnuPG is installed and the target folder is writable.…Import the recipient's public key first.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: PGP ENCRYPT_FAILED encrypt failed