Solved

PGP Decryption - Manual vs programmatically

Posted on 2006-10-25
4
1,962 Views
Last Modified: 2007-12-19
I've inherited an old application that uses PGP 6.5.2 and VB6. I am trying to decrypt a file from a vendor. I am able to decrypt it if I right-mouse-click on it in Windows Explorer and select PGP, Decrypt. But if I try to do it programmatically I get a "PGP Error 32: Decryption Error." Encrypted files from other vendors can be decrypted programmatically without a problem.

I'm new to PGP so I don't know if a problem with the public key for this vendor could cause it to behave that way. Any suggestions are greatly appreciated!

Thanks...
MK
0
Comment
Question by:MDCPS
[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
4 Comments
 
LVL 3

Accepted Solution

by:
mahe2000 earned 150 total points
ID: 17808987
why don't you try GPG API (it's free) and/or GPGME
http://www.gnupg.org/related_software/gpgme/
0
 

Author Comment

by:MDCPS
ID: 17810835
I wish, but they want the least changes possible. Just enough to fix this one file. I'll keep it in mind as a last resort, though. Thanks!
0
 
LVL 14

Assisted Solution

by:chris_calabrese
chris_calabrese earned 150 total points
ID: 17812197
Also FYI PGP 6.51 is a) no longer supported, and b) has known security vulnerabilities.
0
 

Author Comment

by:MDCPS
ID: 17834362
I just found out they are using GPG version 1.2.1. At this point, I don't have any more time to devote to this, so I'll keep doing it manually. I'll go ahead and split the points.

Thanks...
MK
0

Featured Post

Are You Headed to Black Hat USA 2017?

Getting ready for Black Hat next week? Kick things off with the WatchGuard Badge Challenge and test your puzzle and cipher skills. Do you have what it takes to earn our limited edition Firebox Badge? Get started today - https://crimsonthorn.net

Question has a verified solution.

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

This process allows computer passwords to be managed and secured without using LAPS. This is an improvement on an existing process, enhanced to store password encrypted, instead of clear-text files within SQL
Let's recap what we learned from yesterday's Skyport Systems webinar.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month4 days, 2 hours left to enroll

630 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