Gateway Email Encryption

  • 1.  pgpkeymaint tool

    Posted 10-19-2021 04:19 AM
    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.


  • 2.  RE: pgpkeymaint tool

    Broadcom Employee
    Posted 10-19-2021 10:46 AM
    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


  • 3.  RE: pgpkeymaint tool

    Posted 10-19-2021 11:34 AM
    Hello Josh, great help... highly appreciated!

    with --private after --export-key   you export the key completely  and with  -o FILENAME.ASC  you will have it transportable