Quantcast
Channel: Symantec Connect - Security - Discussions
Viewing all articles
Browse latest Browse all 203

PGP CLI with KMS not working

$
0
0
I need a solution

Hello All,

This is my first attempt to use the PGP CLI tool with KMS, my intention is to encrypt a file with a key on the KMS.
When I try to execute the encrypt command with the key, I get back a key not found error, so I tried a listing of keys.

What I see that there is no communication with the KMS at all [I did a network trace also].
I am communicating with KMS with a IP address , do I have to provide a port number. How do I do that?
Please can you guys tell me what am I missing?

The keylistings below always gives me back local keys and never the keys on the KMS.

pgp --usp-server <IP Address> --list-keys --verbose
pgp:list keys (3157:current local time 2013-08-06T16:20:41+02:00)
D:\PGP\pubring.pkr:open keyrings (1006:public keyring)
D:\PGP\secring.skr:open keyrings (1007:private keyring)
Alg  Type Size/Type Flags   Key ID     User ID
----- ---- --------- ------- ---------- -------
*RSA4 pair 2048/2048 [VI---] 0x2B052AB5 localkeyid
1 key found

pgp --usp-server <IP Address> --auth-username <username> --auth-passphrase "<passphrase>" --list-keys --verbose
pgp:list keys (3157:current local time 2013-08-06T16:37:10+02:00)
D:\PGP\pubring.pkr:open keyrings (1006:public keyring)
D:\PGP\secring.skr:open keyrings (1007:private keyring)
Alg  Type Size/Type Flags   Key ID     User ID
----- ---- --------- ------- ---------- -------
*RSA4 pair 2048/2048 [VI---] 0x2B052AB5 localkeyid
1 key found
 

 


Viewing all articles
Browse latest Browse all 203

Trending Articles