zeroinstall.injector.gpg
Module gpg
source code
Python interface to GnuPG.
This module is used to invoke GnuPG to check the digital signatures on
interfaces.
|
|
Signature
Abstract base class for signature check results.
|
|
|
ValidSig
A valid signature check result.
|
|
|
BadSig
A bad signature (doesn't match the message).
|
|
|
ErrSig
Error while checking a signature.
|
|
|
Key
A GPG key.
|
|
Load a set of keys at once. This is much more efficient than making
individual calls to load_key.
- Parameters:
- Returns: {str: Key}
- a list of loaded keys, indexed by fingerprint
|
|
Query gpg for information about this key.
- Returns: Key
- a new key
|
|
Run gpg --import with this stream as stdin.
- Parameters:
|
|
Verify the GPG signature at the end of stream. stream must be
seekable.
- Parameters:
- Returns: (file, [Signature])
- (stream, [Signatures])
|