Solved

GPG command line for decrypting  ZIP files encrypted by PGP

Posted on 2009-04-09
5
914 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
[X]
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
  • 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
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…

756 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