From b1bf5f6fc8335b71d841ba8b82a3d771a8690ea1 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Tue, 17 Nov 2020 15:53:55 -0500 Subject: Remove standalone attverify command We're only doing this as part of b4 am now, so remove the obsolete attverify command. Signed-off-by: Konstantin Ryabitsev --- b4/command.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/b4/command.py b/b4/command.py index d3624e9..0393fea 100644 --- a/b4/command.py +++ b/b4/command.py @@ -45,11 +45,6 @@ def cmd_attest(cmdargs): b4.attest.attest_patches(cmdargs) -def cmd_verify(cmdargs): - import b4.attest - b4.attest.verify_attestation(cmdargs) - - def cmd_pr(cmdargs): import b4.pr b4.pr.main(cmdargs) @@ -126,19 +121,6 @@ def cmd(): sp_att.add_argument('patchfile', nargs='+', help='Patches to attest') sp_att.set_defaults(func=cmd_attest) - # b4 verify - sp_ver = subparsers.add_parser('attverify', help='Verify cryptographic attestation of patches in an mbox') - sp_ver.add_argument('-i', '--attestation-file', dest='attfile', - help='Use this file for attestation data instead of querying lore.kernel.org') - sp_ver.add_argument('-t', '--tofu', action='store_true', default=False, - help='Force TOFU trust model (otherwise uses your global GnuPG setting)') - sp_ver.add_argument('-X', '--no-fast-exit', dest='nofast', action='store_true', default=False, - help='Do not exit after first failure') - sp_ver.add_argument('-F', '--ignore-from-mismatch', dest='ignorefrom', action='store_true', - default=False, help='Ignore mismatches between From: and PGP uid data') - sp_ver.add_argument('mbox', nargs=1, help='Mbox containing patches to attest') - sp_ver.set_defaults(func=cmd_verify) - # b4 pr sp_pr = subparsers.add_parser('pr', help='Fetch a pull request found in a message ID') sp_pr.add_argument('-g', '--gitdir', default=None, -- cgit v1.2.3