System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to generate the PGP public key

Narendra Uttekar
Regular Advisor

How to generate the PGP public key

I have received the PGP public key from our vendor but i guess they are using the Windows FTP Server and the public key which he has send me(Version: PGP Command Line v9.0.6 (Win32)is of windows version. The question here is will i be able to import that key in our HP-UX system. If yes how to import that PGP public key. Second thing he has ask me to send our PGP public key, So that he can import that key on his system. I don't know how to generate the PGP pubic key. When i searched on the HP-UX system i am not able to find the PGP software, Do i need to download this and then generate the PGP public key,If yes then which version PGP software to download and how to generate the PGP public key. But on our system GnuPG is there. Is this the same as PGP? And also when he will send us the encrpted file with PGP, then how i can decrpyt that file with there imported PGP public key on our HP-UX system. And while sending files from our system how i can encrypt and send to them through FTP server.
Thanks,
Narendra
3 REPLIES
Stephan._1
Trusted Contributor

Re: How to generate the PGP public key

Hi,
never used pgp on a hp-ux box, regarding to http://www.informatik.uni-frankfurt.de/doc/man/hpux/pgp.1.html

To generate your own unique public/secret key pair:
pgp -kg

To add a public or secret key file's contents to your public or secret
key ring:
pgp -ka keyfile [keyring]

hth
Share what you know, learn what you don't.
Steven Schweda
Honored Contributor

Re: How to generate the PGP public key

> [...] not able to find the PGP software,
> Do i need to download this [...]

If you want PGP, you may need to buy it.
Source is available for very old versions
(2.6.x), but I don't think that that's true
for modern versions.

> But on our system GnuPG is there. Is this
> the same as PGP?

Do they have the same name or different
names?

They should interoperate, but, due to
patents, GnuPG may not share every algorithm
used by PGP.

> [...] how can i [...]

How to use GnuPG:

gpg -h
man gpg
http://gnupg.org/
http://www.gnupg.org/documentation/index.en.html

> Second thing he has ask me to send our PGP
> public key [...]

You could generate a GnuPG key, and send that
to him, and see if he can use it.
Narendra Uttekar
Regular Advisor

Re: How to generate the PGP public key

Thanks for the solution.