Oracle Fusion Security Console allows a convenient way to manage the PGP keys. Let me walk you through the process.
Pretty Good Privacy is an encryption program that provides cryptographic privacy and authentication for data communication. PGP is used for signing, encrypting, and decrypting texts, e-mails, files, directories, and whole disk partitions and to increase the security of e-mail communications. Phil Zimmermann developed PGP in 1991.
— Source Wikipedia
Security Console
Navigate to Security Console : Tools > Security Console > Certificates
You will see two options here.
- Import: Import existing PGP keys
- Generate: Generate new PGP Keys
Let’s click on Generate button to generate new PGP Keys. Select / Enter the following information
- Certificate Type as PGP
- Alias
- Passphrase (remember this, needed in export step)
- Key Type as RSA. (The other option is DSA)
- Key Length as 2048. (The other options are 512 and 1024)
- Encryption Algorithm as AES256 (the other option is AES128).
Click on “Save and Close”.
Upon Save you should see the new PGP Key listed in the certificates tab. Click on Action button and you will see :
- Export (Public Key, Private Key)
- Delete
Go ahead and export the Public Key and Private Key to your local system.
When you try exporting the Private Key, fusion will prompt you to enter the Passphrase.