summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHristo Venev <hristo@venev.name>2022-05-17 18:35:05 +0300
committerHristo Venev <hristo@venev.name>2022-05-17 18:35:05 +0300
commit7241d28151ad944ba5a00f6fd8848e43ae0a170a (patch)
tree84e3a735afbe7a590de2395b9dbb8bdd7d3a2fb6
parent66b975426601138cef52fc511d5a5e49e9fd70e0 (diff)
Fix subprocess.run() call
-rw-r--r--rebiss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rebiss.py b/rebiss.py
index 4541574..8df6a2c 100644
--- a/rebiss.py
+++ b/rebiss.py
@@ -69,7 +69,7 @@ def pkcs11_sign(key, msg, hash_alg, pin):
env = os.environ.copy()
env['PIN'] = pin
proc = subprocess.run(
- cmd = ['pkcs11-tool', '--slot', reader, '--id', kid, '-m', mech, '--pin', 'env:PIN', '--sign'],
+ ['pkcs11-tool', '--slot', reader, '--id', kid, '-m', mech, '--pin', 'env:PIN', '--sign'],
input = msg,
stdout = subprocess.PIPE,
env = env,