How to encrypt file with GNUPG for user who use PGP

Posted on 2006-03-27
Last Modified: 2010-04-11
Hello experts,
I have secret key (just some word) from user, who use PGP. But we are using GNUPG with legally added idea module.
And we can decrypt files receiving from him.
How can I encrypt file for him, if I don't have any keypair etc....

Thanks a lot
Question by:IKeystone
    LVL 14

    Expert Comment

    Fundamentally PGP and GNUPG work the same way. If they sent you a secret key, than they sent you the wrong thing.

    At least assuming they're using the regular PGP product.

    I believe they also have an encrypted zip-file creator. Don't know if WinZip knows how to decrypt those, though.

    Author Comment

    Actually we are working on HP-UNIX. And all that I have from them is a passphrase

    Author Comment

    Hello all,
    I just found the solution to avoid keypair:

    echo “key” | gpg --pgp2 --passphrase-fd 0 –output “output.file” --symmetric “input.file”

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

    730 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

    16 Experts available now in Live!

    Get 1:1 Help Now