Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

GPG command line for decrypting  ZIP files encrypted by PGP

Posted on 2009-04-09
5
907 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

808 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