Creating
gpg --full-generate-keyExporting
gpg --export-secret-keys --output 'keyfile.gpg' 'keyid'Importing
- Import the key:
gpg --import <keyfile> - Trust the key:
gpg --edit-key <keyid>and then trust, then choose 5 for ultimate trust (or other type of trusts). - Verify the key:
gpg --list-secret-keys. The key should haveultimatetrust.