You are Here:
Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.



Which tool to encrypt existing PDF file [solved]

Author (Read 531 times)

0 Members and 1 Guest are viewing this topic.

Which tool to encrypt existing PDF file [solved]
« on: July 16, 2019, 10:59:23 AM »
 

Sprintrdriver

  • Occasional Poster
  • **
  • 94
    Posts
  • Country: no
  • Reputation: 4
  • Linux Lite on Dell Lattude D620

  • Linux Lite: 4.2 64bit

  • CPU: Intel Core2 T5500

  • MEMORY: 3Gb

  • VIDEO CARD: Intel Mobile 945GM/GMS 943/940GML Express
Hi.
Does anyone know a tool to put encrypt/putting passwords on existing PDF files? Both gui tool and non-gui tool work for me.
Normally my PDF files is generated either by the built-in pdf printer in Linux, or by export from Inkscape.
Last Edit: July 17, 2019, 12:37:48 PM by Sprintrdriver
I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux :)
 


Re: Which tool to encrypt existing PDF file [solved]
« Reply #1 on: July 16, 2019, 11:07:47 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7023
    Posts
  • Country: nz
  • Reputation: 653
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
File encryption guide in Help Manual.

Sent from my Phone using Tapatalk

 

Re: Which tool to encrypt existing PDF file [solved]
« Reply #2 on: July 16, 2019, 11:08:24 AM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1482
    Posts
  • Country: us
  • Reputation: 242
  • * Forum Moderator *

  • Linux Lite: 4.6 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics
Go to the Help Manual (Menu, Favorites, Help Manual).  From the left hand panel, click on Software.  And then select File Encryption.
Want to thank me?  Click my [Thank] link.
 

Re: Which tool to encrypt existing PDF file [solved]
« Reply #3 on: July 16, 2019, 05:59:27 PM »
 

Sprintrdriver

  • Occasional Poster
  • **
  • 94
    Posts
  • Country: no
  • Reputation: 4
  • Linux Lite on Dell Lattude D620

  • Linux Lite: 4.2 64bit

  • CPU: Intel Core2 T5500

  • MEMORY: 3Gb

  • VIDEO CARD: Intel Mobile 945GM/GMS 943/940GML Express
Thank you for answering.
I see that I haven't being specific in my question, so I need to elaborate.
This PDF files I mentioned, I opt to send them by mail to other people that only do windows. Also I prefer to encrypt the pdf file itself (opposed to zip it) just because it's less chance that the file will be laying around in an unencrypted state on somebody's windows computer.That is - I assume for a zip-package, it's pretty normal that the casual receiver just unpack it, leaving the unencrypted file to their own companys file server for anyone to read.

So my goal is to try to prevent other people on the receiver end full access to the file.
I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux :)
 

Re: Which tool to encrypt existing PDF file [solved]
« Reply #4 on: July 16, 2019, 07:34:36 PM »
 

Oobuntus

  • New to Forums
  • *
  • 32
    Posts
  • Country: ca
  • Reputation: 34
  • Linux Lite Member
    • Some Ubuntu Freebies

  • Linux Lite: 4.6 64bit

  • CPU: i7-3630QM 2.4 GHz

  • MEMORY: 8Gb

  • VIDEO CARD: Intel HD 4000
This might work for you:

1. Open the PDF file with LibreOffice Writer
2. Click File, Export as PDF...
3. Click on the 'Security' tab
4. Click on 'Set Passwords...'
5. Enter password(s)
6. Click OK and Export

Works for me.

(1) LL4.6 on System76 Gazelle Pro L4P9 (2012) i7-3630QM 2.4 GHz - 8GB - Intel HD 4000 1920x1080
(2) LL4.6 on Acer Aspire 5515 (2009) AMD Athlon 2650e 1.6 GHz - 3GB - ATI Radeon Xpress 1200 1280x800
(3) LL4.6 on HP Compaq 8000 SFF (2009) Core 2 Duo E8400 3.0 GHz - 4GB - Intel 4 Integrated Graphics 1920x1080
(4) Xubuntu 18.04 on 32bit Acer Aspire 5672 (2006) Core Duo T2300 1.66 GHz - 2GB - ATI Mobility Radeon X1400 1280x800
(5) Xubuntu 18.04 on 32bit Acer Aspire 3690 (2005) Celeron 1.6GHz - 2GB - Intel GMA 950 1024x768
 

Re: Which tool to encrypt existing PDF file [solved]
« Reply #5 on: July 17, 2019, 01:21:30 AM »
 

Moltke

  • I come here a lot
  • *****
  • 497
    Posts
  • Country: ve
  • Reputation: 68
  • Linux Lite Member

  • Linux Lite: 3.8 64bit

  • CPU: amd athlon 64 x2

  • MEMORY: 4Gb

  • VIDEO CARD: amd radeon hd 6750
Hi.
Does anyone know a tool to put encrypt/putting passwords on existing PDF files? Both gui tool and non-gui tool work for me.
Normally my PDF files is generated either by the built-in pdf printer in Linux, or by export from Inkscape.

Hi @Sprintrdriver  In LL you have two methods at your disposal:
1.- You can use LibreOffice for this; In LibreOffice, click on file menu and open  the pdf file you want to encrypt, again,  from file menu choose “Export as PDF” option and navigate to the “Security” tab. There you will find the “Set Passwords” buttons that will let you set a password for opening the file, or/and a password for editing permission. After setting the passwords, you can click the “Export” button and you are done.
2. - You can use gpg tool.
Code: [Select]
gpg -c some file.pdf you'll be asked to type a password, type it in and hit enter. confirm the password, hit enter again and that's it. For decrypting the file you do
Code: [Select]
gpg some file.pdf.gpg if by any chance, the original file is in the same folder you'll have to remove it before decrypting.

Hope this helps! :)
Last Edit: July 17, 2019, 07:07:28 AM by Moltke
Without each others help there ain't no hope for us :)
 

Re: Which tool to encrypt existing PDF file [solved]
« Reply #6 on: July 17, 2019, 12:36:37 PM »
 

Sprintrdriver

  • Occasional Poster
  • **
  • 94
    Posts
  • Country: no
  • Reputation: 4
  • Linux Lite on Dell Lattude D620

  • Linux Lite: 4.2 64bit

  • CPU: Intel Core2 T5500

  • MEMORY: 3Gb

  • VIDEO CARD: Intel Mobile 945GM/GMS 943/940GML Express
Thank you very much for this lesson - I didn't know Libre Office was able to actually open PDF files. This solves the problem for me now. At least I have tested a very simple PDF file that was exported by Inkscape, and it worked very well.
Also thank you providing lesson for the gpg command. It sure works, but I doubt a windows user ever will be able to open it  :-X ;D
Btw "molte" is the local term for cloudberrys at here, very good taste (until I spotted the "k" in the middle of the word)  :D
I won't let an old, but fully functional computer die just because some company tell me that they won't make no more security updates to their OS. Thanks Linux :)
 

Re: Which tool to encrypt existing PDF file [solved]
« Reply #7 on: July 17, 2019, 01:44:36 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1482
    Posts
  • Country: us
  • Reputation: 242
  • * Forum Moderator *

  • Linux Lite: 4.6 64bit

  • CPU: Intel Core i5-5300U (-HT-MCP-)

  • MEMORY: 8Gb

  • VIDEO CARD: Intel Broadwell-U Integrated Graphics
@Sprintrdriver ,


I don't think you properly marked this thread as solved .  It looks like you just amended the subject line as solved.  For guidance on marking it solved properly, please revisit the forum posting guidelines at https://www.linuxliteos.com/forums/introductions/forum-posting-guidelines/msg78/#msg78.
Want to thank me?  Click my [Thank] link.
 


 


Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.