Part of bzrlib.gpg View In Hierarchy
Static Method | verify_signatures_available | check if this strategy can verify signatures |
Method | __init__ | Undocumented |
Method | sign | Undocumented |
Method | verify | Check content has a valid signature. |
Method | set_acceptable_keys | sets the acceptable keys for verifying with this GPGStrategy |
Method | do_verifications | do verifications on a set of revisions |
Method | verbose_valid_message | takes a verify result and returns list of signed commits strings |
Method | verbose_not_valid_message | takes a verify result and returns list of not valid commit info |
Method | verbose_not_signed_message | takes a verify result and returns list of not signed commit info |
Method | verbose_missing_key_message | takes a verify result and returns list of missing key info |
Method | verbose_expired_key_message | takes a verify result and returns list of expired key info |
Method | valid_commits_message | returns message for number of commits |
Method | unknown_key_message | returns message for number of commits |
Method | commit_not_valid_message | returns message for number of commits |
Method | commit_not_signed_message | returns message for number of commits |
Method | expired_commit_message | returns message for number of commits |
Method | _command_line | Undocumented |
Returns | boolean if this strategy can verify signatures |
Check content has a valid signature. :param content: the commit signature :param testament: the valid testament string for the commit :return: SIGNATURE_VALID or a failed SIGNATURE_ value, key uid if valid
Parameters | command_line_input | comma separated list of patterns from command line |
Returns | nothing |
Parameters | revisions | list of revision ids to verify |
repository | repository object | |
process_events_callback | method to call for GUI frontends that want to keep their UI refreshed | |
Returns | count dictionary of results of each type, result list for each revision, boolean True if all results are verified successfully |