1833760 Members
2144 Online
110063 Solutions
New Discussion

PGP Software on unix

 
Manuales
Super Advisor

PGP Software on unix

Hi ..
Currently i work with a server which uses pgp software to encrypt information.

When a key is added, there is an ascii file which is the key and which is added into the system using:

pgp --encrypt file_key.txt --user 0xU8JU98EI

the file file_key.txt contains something similar to:

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP 7.1.1

BEFkS+ULu3Pgp/oKjSkbQ/cEAM0Et3O9EAe+AOBaRX+B9pMbavEmUqVn68Y/pg7O
dLZvXVbZ8Ut+kskl56456dgag


Now, i need to export these key, when i use the following instruction apparently the key is exported as .pgp format:

pgp --key-export 0xU8JU98EI

the result is:
EY-EDS.pgp

what do i have to do to get a file as "ascii" (.asc) format? i mean, i need to get a file using the command export (or other one) and get information like the following:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP 7.1.1

BEFkS+ULu3Pgp/oKjSkbQ/cEAM0Et3O9EAe+AOBaRX+B9pMbavEmUqVn68Y/pg7O
dLZvXVbZ8Ut+kskl56456dgag

I mean, i have to move these keys to other system and i need to get them to add them to the other system located in other server, we are migrating.

thanks in advace.
Dma.
1 REPLY 1
Manuales
Super Advisor

Re: PGP Software on unix

I got the answer thanks God !!!!!!!!!


pgp --key-export 0xU8JU98EI -a

i got:

file_key.asc

cat file_key.asc :
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP 7.1.1

DASD345345SKFfadfa54645ertewrtdfgasdfae


Thanks anyway !!!

:0)