Part of lp.archiveuploader.dscfile View In Hierarchy
|Method||parse||Parse the tag file, optionally verifying the signature.|
|Method||parseAddress||Parse an address, using the policy to decide if we should add a|
|Method||_verifySignature||Verify the signature on the file content.|
If verify_signature is True, signingkey will be set to the signing
IGPGKey, and only the verified content will be parsed. Otherwise,
any signature will be stripped and the contained content parsed.
Will raise an
UploadError if the tag file was unparsable,
or if signature verification was requested but failed.
Raise UploadError if the signing key cannot be found in launchpad or if the GPG verification failed for any other reason.
Returns a tuple of the key (
IGPGKey object) and the verified
Raise an UploadError if the parsing of the maintainer string fails for any reason, or if the email address then cannot be found within the launchpad database.
Return a dict containing the person's name, email address and person record within the launchpad database.