PDF/A error: the document is encrypted

PDF/A forbids encryption of any kind, including permission-only passwords. How to get an unencrypted copy.

PDF/A forbids encryption in any form, including an owner password that only restricts printing or copying. Remove the encryption and save again.

ISO 19005-1 clause 6.1 · File structure

What causes it

  • Permissions such as "no printing" were set at export, which encrypts the file.
  • The document is password-protected on purpose.
  • A document management system encrypted it automatically.

How to fix it

  1. Re-export without security settings, and protect the archive at the storage layer instead.
  2. If you have the password, convert with gopdfrab. It decrypts RC4 and AES and writes the output unencrypted.

Or drop the file into the converter, which fixes what it can in your browser.

FAQ

The file opens without a password. Why is that a problem?

It is still encrypted, so it depends on a decryption implementation and a key. An archival file can't.

What if I don't have the password?

Then it can't be verified or converted. gopdfrab returns ErrPasswordRequired so your code can tell this apart from a broken file.

Related

← All PDF/A errors