summaryrefslogtreecommitdiff
path: root/src/systemkey-args.def
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemkey-args.def')
-rw-r--r--src/systemkey-args.def53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/systemkey-args.def b/src/systemkey-args.def
new file mode 100644
index 0000000000..7753b1fd3b
--- /dev/null
+++ b/src/systemkey-args.def
@@ -0,0 +1,53 @@
+AutoGen Definitions options;
+prog-name = systemkey-tool;
+prog-title = "GnuTLS system key tool";
+prog-desc = "Program to handle system keys.\n";
+detail = "Program that allows handling user keys as stored in the system in a uniform way.";
+short-usage = "systemkey-tool [options]\nsystemkey-tool --help for usage instructions.\n";
+explain = "";
+
+#define OUTFILE_OPT 1
+#define INFILE_OPT 1
+#include args-std.def
+
+flag = {
+ name = list;
+ descrip = "Lists all stored keys in the TPM";
+ doc = "";
+};
+
+flag = {
+ name = delete;
+ arg-type = string;
+ arg-name = "url";
+ descrip = "Delete the key identified by the given URL (UUID).";
+ doc = "";
+};
+
+flag = {
+ name = inder;
+ descrip = "Use the DER format for keys.";
+ disabled;
+ disable = "no";
+ doc = "The input files will be assumed to be in the portable
+DER format of TPM. The default format is a custom format used by various
+TPM tools";
+};
+
+flag = {
+ name = outder;
+ descrip = "Use DER format for output keys";
+ disabled;
+ disable = "no";
+ doc = "The output will be in the TPM portable DER format.";
+};
+
+doc-section = {
+ ds-type = 'SEE ALSO';
+ ds-format = 'texi';
+ ds-text = <<-_EOT_
+ p11tool (1), certtool (1)
+_EOT_;
+};
+
+