From 5460f276bfc6903d70a35de660e4b09f3fd14934 Mon Sep 17 00:00:00 2001 From: russeree Date: Wed, 1 Apr 2026 09:56:17 -0700 Subject: [PATCH] [Req] Remove file extension check --- ckcc/cli.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ckcc/cli.py b/ckcc/cli.py index b6f3987..5138d25 100755 --- a/ckcc/cli.py +++ b/ckcc/cli.py @@ -490,11 +490,6 @@ def sign_msg_file(json_file, outfile, outdir): basename = os.path.basename(json_file) name, ext = os.path.splitext(basename) - ext_lower = ext.lower() - - if ext_lower not in ('.txt', '.json'): - click.echo("Error: file must have .txt or .json extension") - sys.exit(1) if '-signed' in name: click.echo("Error: filename cannot contain '-signed'")