How to extract files from pgp file
-
I have a a.zip.pgp file along with an key.asc file. How can I extract the files from a.zip.pgp ? I have tried the following:- $ gpg --import key.asc then $ gpg --decrypt-files a.zip.pgp gpg: encrypted with 2048-bit ELG-E key, ID 20242EB8, created 2009-12-17 gpg: encrypted with RSA key, ID 744D6CB7 gpg: decryption failed: secret key not available $ gpk -k pub 1024D/F8802D87 2009-12-17 uid Nsit-Poison <[email protected]> sub 2048g/20242EB8 2009-12-17 Does anybody have any idea if this is because that I don't have the good key file ?
-
Answer:
Yes, you have the wrong key. gpg -k lists the public keys (ie, the keys you need to encrypt something). You need the private key that matches the public key this file was encrypted with. When you have it, gpg -K (note capital) will list it with sec ("secret") instead of pub in the output you excerpted above.
nsit_poison at Super User Visit the source
Related Q & A:
- How To Extract Zipx Online?Best solution by solvusoft.com
- How to extract frequency range from a Wav file?Best solution by Stack Overflow
- How to extract information from text file in Python?Best solution by Stack Overflow
- How to combine files into a RAR file?Best solution by smallbusiness.chron.com
- What are .cue files and how to separate a large flac file?Best solution by techsupportalert.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.