~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-15 15:27:38 UTC
  • mto: This revision was merged to the branch mainline in revision 6262.
  • Revision ID: jelmer@samba.org-20111115152738-3j971lto8xs4swg3
Support verifying remote signatures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
341
341
    from bzrlib import gpg
342
342
 
343
343
    gpg_strategy = gpg.GPGStrategy(None)
344
 
    result = repo.verify_revision(rev_id, gpg_strategy)
 
344
    result = repo.verify_revision_signature(rev_id, gpg_strategy)
345
345
    if result[0] == gpg.SIGNATURE_VALID:
346
346
        return "valid signature from {0}".format(result[1])
347
347
    if result[0] == gpg.SIGNATURE_KEY_MISSING: