Solved

GPG command line for decrypting  ZIP files encrypted by PGP

Posted on 2009-04-09
5
881 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
5 Comments
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
Background Still having to process all these year-end "csv" files received from all these sources (including Government entities), sometimes we have the need to examine the contents due to data error, etc... As a "Unix" shop, our only readily …
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now