1753454 Members
6146 Online
108794 Solutions
New Discussion юеВ

PGP newbie question

 
SOLVED
Go to solution
Nick D'Angelo
Super Advisor

PGP newbie question

I need to be able to run pgp on a file and transmit it to our bank.

I have downloaded pgp for HPUX11i and I have it installed.

I have a key from the bank, called bank.asc.

I have added the banks key to my key db? Not sure if this the right term.

I need to be able to script this so that our 'bank extract' file is pgped and sent to the bank every night.
ie;
pgp -e /home1/bank/bankfile

Do I need to create my own Key? I would rather not, one more thing to remember.

Suggestions/tip, appreciated.
Always learning
2 REPLIES 2
Steven Schweda
Honored Contributor
Solution

Re: PGP newbie question

> I have downloaded pgp [...]

Version? ("pgp -v".)

> Not sure if this the right term.

"Key ring".

I'm no expert, but I believe that you don't
need your own key for this. You encrypt
using the bank's public key, and the bank
decrypts using its private key.

With PGP 2.6.2/2.6.3, I believe that you'd
need to specify the userid of the recipient
(whose public key you intend to use). As
"pgp -h" says (around here):

[...]
To encrypt a plaintext file with recipent's public key, type:
pgp -e textfile her_userid [other userids] (produces textfile.pgp)
[...]


"pgp -kv" should show you what's on your
key ring.
Nick D'Angelo
Super Advisor

Re: PGP newbie question

Steven,

With your tips and some additional reading, I have figured it out.

Thanks.
Always learning