← Back to context

Comment by dingaling

1 month ago

> but why should PDFs have encryption built-in to the file format?

Because very few 'end user' people know how to use en/decryption. So it's much easier to send them a familiar file and say 'enter this password' than to have them searching the web to work out which arguments to pass to openssl. In a command line? What's that?

I received an AES-encrypted file recently but neither gnupg nor openssl could determine what mode and keysettings the sender had used, so it was just a useless lump of data. Very secure though...

This should simply be an option in the context menu of the file manager. (And is on my Linux machine)

> Because very few 'end user' people know how to use en/decryption

That's the point, rather than PDF viewers implementing this, it should be an OS-wide UX, so that you could click any encrypted file and have a unified password prompt, regardless of whether it's a PDF, PNG, DOCX, etc.

And the same goes the other way, rather than having your PDF viewer implement the encryption UX, you should just have an "Encrypt with password" entry in your file manager's context menu.