Private Key

I have two types of files

pubring.pkr
secring.skr

secring.skr is encrypted and not able to read.
How can i read secring.skr in text format after decrypting ?

is there any way of decrypting this file?

Unix HP - UX Version.

You need to install pgp package and then you can extract it with the command.

 
# pgp -kv   ==> Check user_id
# pgp -kx user_id ==> extract

I am not sure why you want to read public/secure key files.

You can get user_id without the pgp package

# strings secring.skr

Cheers,

pubring.pkr
secring.skr

above two files exist and pgp installed also - please see below error

pgp -kv 0xA69AB5E3
Invalid flag "-kv" on the command line.

Can you please show me the output of 'pgp -h' ?

pgp -h

Help for basic operations.
Use "--help" with the following options for individual usage.

--armor         Encode a file with PGP's base-64 encoding, with optional
                compression
--decrypt       Decrypt data that was previously encrypted
--encrypt       Encryption
--help          Display help for pgp
--key-edit      Specifies a keypair to be updated
--key-export    Exports a key from the keyring
--key-gen       Generate a new keypair
--key-list      Display keys on the keyring
--key-sign      Sign a key
--list-aliases  Show the active aliases
--sign          Perform a cryptographic signature on input data
--version       Displays version information about the PGP executable
--wipe          Performs a secure deletion of files

For help on key management operations:  pgp --help --key
For help on key editing operations:     pgp --help --key-edit
For help on keyserver operations:       pgp --help --keyserver
For help on group operations:           pgp --help --group
For help on smartcard operations:       pgp --help --smartcard
For help on X.509 operations:           pgp --help --x509