Implement '--signing-only' option for 'generate-key' command

This commit is contained in:
Paul Schaub 2023-07-12 01:06:41 +02:00
parent 7e1377a28c
commit 6afe6896d8
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
4 changed files with 41 additions and 0 deletions

View file

@ -57,6 +57,12 @@ public class GenerateKeyExternal implements GenerateKey {
return this;
}
@Override
public GenerateKey signingOnly() {
commandList.add("--signing-only");
return this;
}
@Override
public Ready generate()
throws SOPGPException.MissingArg, SOPGPException.UnsupportedAsymmetricAlgo {