diff options
| author | Timotej Lazar <timotej.lazar@araneo.si> | 2026-03-11 10:50:47 +0100 |
|---|---|---|
| committer | Timotej Lazar <timotej.lazar@araneo.si> | 2026-03-11 10:50:47 +0100 |
| commit | b34bee54a3fdbef2790fdeae67be05e65659ddcf (patch) | |
| tree | d6fbdd0599ba9194be956b99ae7434cca9de8f97 | |
| parent | c812e52bad579236380285d539d38c632410c296 (diff) | |
| -rwxr-xr-x | marginaltool | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/marginaltool b/marginaltool index d92f0c9..347a18e 100755 --- a/marginaltool +++ b/marginaltool @@ -44,7 +44,7 @@ def init(args): if not args.id: raise Exception('key ID not specified') if not args.module: - args.module = config.get(args.module, 'module') + args.module = config.get(args.url, 'module', fallback=None) args.module = ["--module", str(pathlib.Path(args.module))] if args.module else [] args.cert = base64.b64encode(subprocess.run(['pkcs11-tool'] + args.module + ['--read-object', '--type', 'cert', '--id', args.id], capture_output=True).stdout).decode() |
