Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Is there software to encrypt a pdf document in Ubuntu 16.04?

  1. #1
    Join Date
    Jan 2014
    Beans
    462
    Distro
    Lubuntu

    Is there software to encrypt a pdf document in Ubuntu 16.04?

    I am using Ubuntu 16.04 LTS. I would like to encrypt a pdf document so that it can be sent attached to an email and opened by the recipient with a password that I send via a secure method. Is there software to encrypt a pdf document in Ubuntu 16.04? I would prefer something free and in the repos if possible.

    Thank you,


    A.

  2. #2
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    VeraCrypt can be used to make a small encrypted container, but it would require the recipient to use the same software. If you do this regularly, then using encrypted email would be a better method. https://support.mozilla.org/en-US/kb...pting-messages
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  3. #3
    Join Date
    Dec 2014
    Beans
    2,590

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    If you're talking about turning an unencrypted pdf file into an encrypted one with a user and / or owner password with various restrictions set for users, than the command line tool qpdf from the repositories can do that. If you are generating the pdf yourself and the source material from which you're generating it is some kind of LibreOffice / OpenOffice document, then you can simply set the password(s) and the applicable restrictions in the export dialog.

    Holger

  4. #4
    Join Date
    Jun 2007
    Location
    Arizona U.S.A.
    Beans
    5,739

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    Quote Originally Posted by AbleTassie View Post
    I am using Ubuntu 16.04 LTS. I would like to encrypt a pdf document so that it can be sent attached to an email and opened by the recipient with a password that I send via a secure method. Is there software to encrypt a pdf document in Ubuntu 16.04? I would prefer something free and in the repos if possible.
    I would use gpg encryption. For that, you need the gnupg package. You can use a passphrase to both encrypt and decrypt, or a public/private key pair. gnupg uses terminal commands to encrypt and decrypt the document, or if you want a GUI to handle this, install seahorse and seahorse-nautilus in any supported Ubuntu version.

  5. #5
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    +1 for using gpg. But the setup is non-trivial and non-portable. The entire message is encrypted this way. Thunderbird + enigmail addon. Probably need to have pinentry installed too, so the gpg keys can be unlocked.

    For non-technical people, the only way I've been able to get them to understand was with a ZIP file that has a password on it. That's how I deal with my accountant. It was a major thing to get them to actually encrypt ZIP files and send them to me. ZIP being cross-platform helps too. I set an acceptable, long, passphrase that we'd use. There are ZIP cracking tools which can brute-force billions of passwords/second.
    ZIP isn't perfect. There are many more secure choices, but it is something normal people can understand and use. Just be certain to use a long, somewhat random, passphrase with ZIP passwords.

    None of these are PDF-specific. They work with any files.
    Last edited by TheFu; November 2nd, 2019 at 03:57 AM.

  6. #6
    Join Date
    Jan 2010
    Location
    Wheeling WV USA
    Beans
    2,023
    Distro
    Xubuntu 20.04 Focal Fossa

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    IOW, a PDF is just stored, attached to email, and encrypted, like any other kind of file. that's because it is a file. you don't need to compress a PDF file, though, because it already uses compression. but, if you do compress it, it will not be ruined. just uncompress it to get it back. ZIP compresses it. but that's no big deal. it will be uncompressed when it is unzipped. each of your documents is stored in an individual file. be sure you save backups of them all somewhere that you know where they are. do this frequently as they are edited.
    Mask wearer, Social distancer, System Administrator, Programmer, Linux advocate, Command Line user, Ham radio operator (KA9WGN/8, tech), Photographer (hobby), occasional tweetXer

  7. #7
    Join Date
    Oct 2005
    Location
    Lab, Slovakia
    Beans
    10,791

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    I agree with TheFu that ZIP is the only encryption method that ordinary mortals can understand. So you have to pick the method according to your audience.

  8. #8
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    Quote Originally Posted by HermanAB View Post
    I agree with TheFu that ZIP is the only encryption method that ordinary mortals can understand. So you have to pick the method according to your audience.
    Another +1 for this. Methods like the one I mentioned are tedious for non-techies.
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  9. #9
    Join Date
    Nov 2007
    Location
    London, England
    Beans
    7,703

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    You can use gpg with a symmetric cipher. I thnk that is what AbleTassie is asking for.
    gpg -c filename will ask you for a passphrase and create filename.gpg. send filename.gpg and (by other means) the passphrase to your recipient. Recipient uses gpg -d filename.gpg and gets asked for the decryption passphrase.

    However, I gather that PDFs have their own encryption - just as Holger_Gehrke says - if you are generating the PDF yourself use the encryption option in the creating software. PDF readers recognise such PDFs as encrypted and ask for a passphrse when you try to open them - no extra software needed.

  10. #10
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Is there software to encrypt a pdf document in Ubuntu 16.04?

    Not all PDF readers can handle PDF passwords.

    Additionally, any PDF file using the PDF standard newer than v1.6 will be tougher for F/LOSS people.

    If you want to make it hard for Ubuntu users, use Adobe PDF tools or use the newer than v1.6 PDF standard files. Pretty much all F/LOSS PDF tools can handle 1.6 and older PDF files. Just for clarity, this isn't about the version of Acrobat .... the PDF file specification has versioning. That's what's important.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •