[rt-commit] r116 - /redwax-tool/trunk/redwax-tool.c

rt-commit at redwax.eu rt-commit at redwax.eu
Sat Dec 4 23:55:10 CET 2021


Author: minfrin at redwax.eu
Date: Sat Dec  4 23:55:08 2021
New Revision: 116

Log:
Add proposed future output formats.

Modified:
    redwax-tool/trunk/redwax-tool.c

Modified: redwax-tool/trunk/redwax-tool.c
==============================================================================
--- redwax-tool/trunk/redwax-tool.c	(original)
+++ redwax-tool/trunk/redwax-tool.c	Sat Dec  4 23:55:08 2021
@@ -184,6 +184,11 @@
 #define REDWAX_TOOL_FORMAT_OUT 294
 #define REDWAX_TOOL_JWKS_OUT 295
 #define REDWAX_TOOL_TEXT_OUT 296
+#define REDWAX_TOOL_SSH_PRIVATE_OUT 297
+#define REDWAX_TOOL_SSH_PUBLIC_OUT 298
+#define REDWAX_TOOL_SMIMEA_OUT 299
+#define REDWAX_TOOL_SSHFP_OUT 300
+#define REDWAX_TOOL_TLSA_OUT 301
 
 #define REDWAX_EXIT_OK 0
 #define REDWAX_EXIT_INIT 1
@@ -265,6 +270,11 @@
     { "format-out", REDWAX_TOOL_FORMAT_OUT, 1, "  --format-out=xml|json|yaml\tFormat of output metadata." },
 #if 0
     { "jwks-out", REDWAX_TOOL_JWKS_OUT, 1, "  --jwks-out=file\t\tWrite keys to the given file as an RFC7517 JSON\n\t\t\t\tWeb Key Set." },
+    { "ssh-private-out", REDWAX_TOOL_SSH_PRIVATE_OUT, 1, "  --ssh-private-out=file\t\tWrite an SSH private key to the given file." },
+    { "ssh-public-out", REDWAX_TOOL_SSH_PUBLIC_OUT, 1, "  --ssh-public-out=file\t\tWrite an SSH public key to the given file." },
+    { "smimea-out", REDWAX_TOOL_SMIMEA_OUT, 1, "  --smimea-out=file\t\tWrite an SMIMEA DNS record to the given file." },
+    { "sshfp-out", REDWAX_TOOL_SSHFP_OUT, 1, "  --sshfp-out=file\t\tWrite an SSHFP DNS record to the given file." },
+    { "tlsa-out", REDWAX_TOOL_TLSA_OUT, 1, "  --tlsa-out=file\t\tWrite a TLSA DNS record to the given file." },
 #endif
     { NULL }
 };



More information about the rt-commit mailing list