Unfortunately there isn't any public documentation for this tool as it's mostly used internally by the SEMS. The supported way to export keys is through the SEMS interface or from Symantec Encryption Desktop. That being said, the --help output is fairly useful and exporting keys shouldn't be too hard of a problem. Here's what it looks like on my test system:
[root@keys-bcp ~]# pgpkeymaint --export-key --keyid64 '0xE3534E6A30CA2D0A' --repository 'internal' --subject '009faea3-6d54-4d5d-8f91-2bc5af53970a' --passphrase 'putapasswordHere!'
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP Universal 10.5.0 (Build 1180)
mQENBF+RovUBCACqu+f5HMrOvlmO/TeJfldPme1CYElHVmSRpuF3J869CgGh4B3o
...
=B5kc
-----END PGP PUBLIC KEY BLOCK-----
I hope that helps!
Josh
Original Message:
Sent: 10-19-2021 04:19 AM
From: Henning Dey
Subject: pgpkeymaint tool
Hello community, does anyone have some documentation of the pgpkeymaint tool that is on SEMS? I want to export some pgp keys directly on the console but the tool is not documented and broadcom tech support is no real help.