fix: Adapt to changes in sequoia-sq 0.31.0.

With sequoia-sq 0.31.0 the `--export` parameter for `sq key generate`
has been replaced by the generalized `--output`.
This commit is contained in:
David Runge 2023-07-09 15:28:51 +02:00
parent 3c78104904
commit f3d2c171e7
No known key found for this signature in database
GPG Key ID: 139B09DA5BF0D338

View File

@ -319,7 +319,7 @@ def key_generate(uids: List[Uid], outfile: Path) -> str:
cmd = ["sq", "key", "generate"]
for uid in uids:
cmd.extend(["--userid", str(uid)])
cmd.extend(["--export", str(outfile)])
cmd.extend(["--output", str(outfile)])
return system(cmd)