Part of canonical.launchpad.utilities.gpghandler View In Hierarchy
Implements interfaces: canonical.launchpad.interfaces.gpghandler.IGPGHandler
| Method | __init__ | Initialize environment variable. |
| Method | sanitizeFingerprint | See IGPGHandler. |
| Method | resetLocalState | See IGPGHandler. |
| Method | verifySignature | See IGPGHandler. |
| Method | getVerifiedSignatureResilient | See IGPGHandler. |
| Method | getVerifiedSignature | See IGPGHandler. |
| Method | importPublicKey | See IGPGHandler. |
| Method | importSecretKey | See IGPGHandler. |
| Method | generateKey | See IGPGHandler. |
| Method | importKeyringFile | See IGPGHandler.importKeyringFile. |
| Method | encryptContent | See IGPGHandler. |
| Method | signContent | See IGPGHandler. |
| Method | localKeys | Get an iterator of the keys this gpg handler |
| Method | retrieveKey | See IGPGHandler. |
| Method | retrieveActiveKey | See IGPGHandler. |
| Method | uploadPublicKey | See IGPGHandler |
| Method | getURLForKeyInServer | See IGPGHandler |
| Method | checkTrustDb | See IGPGHandler |
| Method | _setNewHome | Create a new directory containing the required configuration. |
| Method | _submitKey | Submit an ASCII-armored public key export to the keyserver. |
| Method | _getKeyIndex | See IGPGHandler for further information. |
| Method | _getPubKey | See IGPGHandler for further information. |
| Method | _grabPage | Wrapper to collect KeyServer Pages. |
This method is called inside the class constructor and genereates a new directory (name ramdomly generated with the 'gpg-' prefix) containing the proper file configuration and options.
Also installs an atexit handler to remove the directory on normal process termination.
It issues a POST at /pks/add on the keyserver specified in the configuration.