From 5b9d843e65d73526e8bc176ac378f54a5fd6ea17 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 7 Nov 2014 16:14:08 +0100 Subject: Added API to read/write/delete key-cert pairs (limited to windows for now) --- src/systemkey-args.def | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 src/systemkey-args.def (limited to 'src/systemkey-args.def') 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_; +}; + + -- cgit v1.2.1