Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PGP Encryption

Status
Not open for further replies.

dantheinfoman

Programmer
May 5, 2015
131
US
Hi All,

I've been reading up on what PGP encryption is, but most forums have outdated/broken links, so I don't know how to download required 3rd party programs nor the VFP classes or files needed to explore PGP encryption. Does anyone have any dropbox or web links and/or info on this elusive topic?

Thank you for your time!!

Dan
 
When you encounter many broken links it probably means it's something people used to do but not so much any more.
 
Hi Danfreeman,

Thanks for your reply. So true! Unfortunately, my work requires me to use this type of encryption for an upcoming project. I'll have to figure it out some way.

Thanks!
Dan
 
Hi Olaf,

I think I'll need to open encrypted files as well as encrypt them for submission/billing etc, so I believe the answer is both PGP and OpenPGP.

I will read the wiki tomorrow. I've read that the product by Symantec will allow you to encrypt using VFP even after the 30 day trial and you can use it as freeware or something, nobody's clear on procedurally how this happens.

Yours,

Dan
 
A while back I was required to repeatedly do a PGP encryption of a file for a customer.

However when I attempted to do it I got totally lost in the PGP process.
So someone suggested that I look into GPG (which if Free & I was told is fully compatible).

I did it and the customer was happy. So it must have been compatible since they were using PGP decryption on their end.

As Dave Summers commented previously, I used the Brute Force method, but it turned out to not be too difficult.
You can look at my previous posting about it:
And Mike Lewis used to have some info at:
If you try it out and run into difficulties, come back and I'll share some code.

Good Luck,
JRB-Bldr
 
Hi JRB-Bldr,

lol, I just read your article about an hour ago and couldn't figure out how to get in touch with you. I then downloaded gpg4win, but couldn't figure out how to get some test keys for myself or others?! I have not yet seen Mike Lewis' article, so I thank you and I will take a gander at it and will reply back later after some more due diligence if I still am completely stumped. Very glad to hear from you!

Thanks!

Dan
 
These YouTube videos are EXTREMELY helpful, thanks! Also, the shell command thing is going to be very helpful also. Thanks again!

I was able to manually run a command and then was able to create a batch file for the same and it Encrypted it!!

Code:
cd c:\testdrive
gpg --recipient testemail@gmail.com --encrypt testfile.txt

I'm very excited as I'm sure I can figure out how to create this batch file and run it using the referred Shell command! My only question for the moment is can someone using Symantec's PGP program be able to decrypt my GPG file, since they are slightly different extensions, wasn't sure if it's identical encryption that works the same for both parties.

The company we'll be submitting files to wanted PGP, not necesarily GPG. Hopefully they are cross compatible and one just happens to be Free (GPG).

Yours

Dan
 
GPG is supposed to be 100% compatible with PGP.

I wouldn't mention to the recipient that you are using GPG instead of PGP. See if they notice.
If not, then you are Good to Go.

Good Luck,
JRB-Bldr
 
Thanks JRB-Bldr,

I already asked them, however they said they can use anything that is OpenPGP compliant, so we believe it will work. The youtube videos mentioned that it's basically the same also.

Ps. I've been able to make a batch file which runs the encryption successfully. The last piece of the puzzle is to figure out how to take file1.txt, file2.txt and file3.txt and shove them into a zip file and then ENCRYPT just the zip file.

Thoughts??

Thanks for everything!!!

Dan
 
Typically I'd say - post that new question as a separate thread

But you might want to look at:
or

I guess you need to find out if your recipient wants:
* the individual files encrypted and then put into a non-encrypted ZIP file
* Or the individual files in non-encrypted format put into an encrypted ZIP file
* Or Both.

Regardless, for the GPG encryption, a file is just a file - regardless of its format.
So now that you know the GPG encryption process you can do it on any file - even the ZIP file.

Good Luck,
JRB-Bldr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top