~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/log.py

(jelmer) Support verifying signatures on remote repositories. (Jelmer
 Vernooij)

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: