Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-23-2005, 07:51 AM
|
#1
|
Member
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 385
Rep:
|
Decrypting files using GNU PG
I'm trying to migrate from Windows XP and have recently installed Debian Sarge. Now I've encrypted some files in XP using PGP Desktop 9. I successfully imported my key into GNU PG but when I select decrypt from the context menu and I enter my pass phrase correctly nothing happens. I cannot find the decrypted files. I am not sure they even have been decrypted as there was no progress bar, etc the application just closes. There is no error about an incorrect passphrase, I tried deliberately entering it incorrectly just to check.
Please help
|
|
|
08-23-2005, 06:05 PM
|
#2
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
Sounds like it may be crashing. Try doing it from the command line like this:
Code:
gpg encryptedfile.xxx
|
|
|
08-25-2005, 11:02 AM
|
#3
|
Member
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 385
Original Poster
Rep:
|
I tried the CLI from root:
#gpg /Home/mark/Mark's/Cv.doc.pgp
>
But this time it didn't even prompt me for a passphrase, it just gave me a '>'. I don't think it's crashing. Do you think it could be because it was encrypted using a different app and OS?
|
|
|
08-25-2005, 05:49 PM
|
#4
|
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549
Rep:
|
Make that:
Code:
gpg "/Home/mark/Mark's/Cv.doc.pgp"
and try again. Remember that the ' is a special character in the shell - it means the start or end of a string. So you either need to put the whole thing inside " marks or escape the ' like this:
Code:
gpg /Home/mark/Mark\\'s/Cv.doc.pgp
Last edited by tkedwards; 10-12-2005 at 03:38 AM.
|
|
|
10-12-2005, 02:31 AM
|
#5
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
|
I'm having a problem very similar to Marc's.
I'm running both Mandrake 9.2 and XP on my machine. I have a lot of PGP encrypted (XP side) files that I need to access when running Linux. When I use
pgp file_to_decrypt
I'm asked for my passphrase, I type it but the cursor doesnt move and apparantly the passphrase is not enterred either because I get an error message
You need a pass phrase to decrypt this file ....
I've already tried to put my passphrase in a file and export that to PGPPASSFILE but no luck either.
Any solutions anybody ?
tia,
Ray
|
|
|
10-12-2005, 05:48 AM
|
#6
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
Try giving infile outfile as in: gpg --decrypt filename targetfilename
|
|
|
10-12-2005, 06:30 AM
|
#7
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
|
Makuyl,
Tried and died....
There's something that bothers me... in almost all posts I see GpG and not PgP mentioned... is there a difference ?
Ray
|
|
|
10-12-2005, 08:14 AM
|
#9
|
LQ Newbie
Registered: Oct 2005
Posts: 3
Rep:
|
Thats also the difference as I understood it.
I got pgp of the official pgpi site.
The keys are the ones created under PGP (in XP) and work fine ENcrypting a file... which I can DEcrypt under XP to check the encryption process.
I think the problem lies in PGP (under Linux) blockin the typing I'm doing when entering the pass phrase ... do you think thats possible ? It's that or else something very screwy in the PGP application.
Ray
|
|
|
10-12-2005, 12:21 PM
|
#10
|
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107
Rep:
|
I really don't know why it would block typing. Sorry, but all I can suggest at this point is to follow the howto closely and try using the gpg command instead of pgp.
|
|
|
All times are GMT -5. The time now is 04:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|