Skip to content

Commit 088714b

Browse files
committed
_cli: add warning to bare sigstore verify
Signed-off-by: William Woodruff <[email protected]>
1 parent b62e39c commit 088714b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sigstore/_cli.py

+5
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ def _set_default_verify_subparser(parser: argparse.ArgumentParser, name: str) ->
107107
# subcommand, and insert it directly after it.
108108
verify_idx = sys.argv.index("verify")
109109
sys.argv.insert(verify_idx + 1, name)
110+
logger.warning(
111+
"`sigstore verify` without a subcommand will be treated as "
112+
"`sigstore verify identity`, but this behavior will be deprecated "
113+
"in a future release"
114+
)
110115
except ValueError:
111116
# This happens when we invoke `sigstore sign`, since there's no
112117
# `verify` subcommand to insert under. We do nothing in this case.

0 commit comments

Comments
 (0)