diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-11-17 15:53:55 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-11-17 15:53:55 -0500 |
commit | b1bf5f6fc8335b71d841ba8b82a3d771a8690ea1 (patch) | |
tree | 73d3dcd1082ef18396eb91918e2f86720b2e7541 | |
parent | 6f77f63b58d6bd9d07c3c0ec124145f85a0823e8 (diff) | |
download | b4-b1bf5f6fc8335b71d841ba8b82a3d771a8690ea1.tar.gz |
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 <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/command.py | 18 |
1 files changed, 0 insertions, 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, |