Re: Decrypt PGP Files



Below is a link to Delphi PGP components. I used an older version of the
library 1.x and current version is 4.12.

http://idw-doc.homepage.t-online.de/PGPcomp.htm


I was using an earlier version, but it was quite simple to get it working.

PGPDecode.FileIn := 'c:\temp\test.zip.pgp';
PGPDecode.FileOut := 'c:\temp\test.zip';
if not GeneratingKeys then
begin
PGPDecode.DoDecodeFile;
Invalidate;

end;

I have one other method that is used to set the passphrase and it works
fine.

Download and install a PGP package for Windows on you PC.
Downlaod and install components into Delphi (I use Delphi 5)
Play with sample programs. I have yet to run my app as a system service,
but that is next on my list of things to do.

Hope this helps.

- Lou


"Kevin McBrearty" <kevin@xxxxxx> wrote in message
news:42d6bb06$1@xxxxxxxxxxxxxxxxxxxxxxxxx
> I have an email database I received from a client, which contains
> various emails with PGP-encrypted attachments (I assume it's PGP, since
> that is the file extension of the attachments, e.g. file1.doc.pgp). I
> need to extract the attachments and decrypt them. My (limited)
> understanding of PGP is that to decrypt these attachments I will need
> the secret key of the recipient, since the files were encrypted with the
> recipient's public key.
>
> I have taken a quick look at PGPBlackBox and a couple of other products,
> but before I embark on this thing I would appreciate if someone could
> confirm that the following approach is valid and that it will work:
>
> 1- I need to get the private keys of the various recipients. Do I need
> the complete key file or just the master key value ?
> 2- I would have to import these keys into my keyring
> 3- I could then write some code to loop through the encrypted files and
> decrypt them one by one.
>
> Does this sound like a workable plan or am I about to walk off a cliff ?
>
> Thanks.
>
> Kevin McBrearty
> ATG Automation Technologies Group Ltd.
> kevin@xxxxxx
> http://www.atg.ca


.



Relevant Pages

  • Re: PGP for Hp3000
    ... Subject: PGP for Hp3000 ... for delivering the message to the intended recipient, ... copying of this e-mail and/or any files or attachments ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: Encryption Software
    ... Well, several years ago, at least PGP 5.0i built on MPE/iX... ... for delivering the message to the intended recipient, ... copying of this e-mail and/or any files or attachments ... To join/leave the list, search archives, change list settings, * ...
    (comp.sys.hp.mpe)
  • Re: Decrypt PGP Files
    ... Download and install a PGP package for Windows on you PC. ... various emails with PGP-encrypted attachments. ... My understanding of PGP is that to decrypt these attachments I will need the secret key of the recipient, since the files were encrypted with the recipient's public key. ... 3- I could then write some code to loop through the encrypted files and ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: [Full-Disclosure] Re: PGP attachments (was: NEVER open attachments)
    ... > the correct PGP plugin of course. ... I had forgotten about that means of sigining attachments. ... Do you know of an Outlook plugin that can do PGP/MIME? ...
    (Full-Disclosure)