Export a Key to an External File
Export a Key to an External File
In the Key Store section at the top of the form:
- Click the File Open Dialog button.
- Select the local.keystore file.
- Click Open.
- At the Key Store Password Prompt that appears, type password for the password.
- Click OK to return to the main form.
In the Key section of the form:
- Click the New Key button.
- Fields have been erased and reinitialized to default values.
- Enter the following information:
- Type externalKey in the UserId field.
- Type 12/31/2019 in the Expires field.
- Select RSA for Key Type.
- Select 1024 for Key Size.
- Type password for Private Key Password.
- Modify the values in the Cypher list:
- Uncheck IDEA
- Uncheck SAFER
- Uncheck BLOWFISH
- Uncheck TWOFISH
- Leave all other cypher values checked.
- Modify the values in the Hash list:
- Uncheck MD2.
- Uncheck MD5.
- Leave all other hash values checked.
- Modify the values in the Compression list:
- Uncheck UNCOMPRESSED
- Leave all other compression values checked.
- Click the Save Key button.
- Click the Get Keys button.
- The KeyListForm is displayed.
- externalKey now appears in the Key List grid.
- Click Cancel button to return to main form.
- Make sure the following fields in the Items To Export area of the form have a check mark next to them:
- Public Key
- Private Key
- Ascii Armored
- Click the Export Key button.
- Type extermalKey.asc for the file name at the Save As popup dialog.
- Click Save button on the Save As dialog.
- Uncheck the Private Key check box in the Items To Export area of the form.
- Click the Export Key button.
- Type externalKey_public.asc for the file name at the Save As popup dialog.
- Click Save button on the Save As dialog.
- Uncheck the Public Key item and check the Private Key item in the the Items To Export area of the form.
- Click the Export Key button.
- Type externalKey_private.asc for the file name at the Save As popup dialog.
- Click Save button on the Save As dialog.
- You can use Windows Explorer to open the PFApps\pfPgpEncryptor\Keys folder under your Documents folder to verify that the following three files have been created.
- externalKey.asc
- externalKey_private.asc
- externalKey_public.asc
NOTE: You can use Notepad to explore the contents of the above three files.