diff options
author | Hristo Venev <hristo@venev.name> | 2022-05-17 18:35:05 +0300 |
---|---|---|
committer | Hristo Venev <hristo@venev.name> | 2022-05-17 18:35:05 +0300 |
commit | 7241d28151ad944ba5a00f6fd8848e43ae0a170a (patch) | |
tree | 84e3a735afbe7a590de2395b9dbb8bdd7d3a2fb6 | |
parent | 66b975426601138cef52fc511d5a5e49e9fd70e0 (diff) |
Fix subprocess.run() call
-rw-r--r-- | rebiss.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |