Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

GPG command line for decrypting  ZIP files encrypted by PGP

Posted on 2009-04-09
5
Medium Priority
?
959 Views
Last Modified: 2013-12-21
     
Hello,

I am trying to decrypt ZIP Files which have been encrypted using the PGP. I am usign the following command:

"echo" + "passphrase" + "| gpg.exe --passphrase-fd 0 -o \"" +  outputFileNameFullPath + "\" --decrypt \"" + encryptedFile.FullName + "\"";

It works fine for encrypted 'text' o r 'excel' files. But I cannot get it to work for Zip files.

Any help will be greatly appreciated

Thanks


            
      
0
Comment
Question by:Mumbai Indian
  • 2
3 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 24288008
Hi,

use gpg-zip!

http://www.gnupg.org/documentation/manuals/gnupg/gpg_002dzip.html

-- doesn't work on Windows, thus not included in the Windows version! Which is your platform?

wmp

0
 
LVL 38

Expert Comment

by:younghv
ID: 25333415
gregclough -
This Member has asked two different hacking/cracking questions and then abandoned them.
This should be a 'Delete/No Refund'.
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 25333494
younghv,
I can't see any hacking/cracking stuff here.
The question doesn't give any reason to assume that the asker wouldn't have legal access to the appropriate key/passphrase.
gregclough -
I think that my answer # 24288008 is correct as well as conforming to EE rules and should be accepted.
wmp
 
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If, like me, you have a lot of Dell servers in the estate you manage this article should save you a little time. When attempting to login to iDrac on any server I would be presented with two errors. The first reads "Do you want to run this applicati…
Recently, an awarded photographer, Selina De Maeyer (http://www.selinademaeyer.com/), completed a photo shoot of a beautiful event (http://www.sintjacobantwerpen.be/verslag-en-fotoreportage-van-de-sacramentsprocessie-door-antwerpen#thumbnails) in An…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question