From 463bbddb8d6cdc1fb3df8dce42b9b5e0afd3cedb Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 27 Oct 2021 17:04:13 +0000 Subject: [PATCH] rsa(8): document rsa2jwk --- sys/man/8/rsa | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sys/man/8/rsa b/sys/man/8/rsa index bc0decceb..a36175692 100644 --- a/sys/man/8/rsa +++ b/sys/man/8/rsa @@ -1,6 +1,6 @@ .TH RSA 8 .SH NAME -rsagen, rsafill, asn12rsa, rsa2asn1, rsa2pub, rsa2ssh, rsa2x509, rsa2csr, x5092pub \- generate and format rsa keys +rsagen, rsafill, asn12rsa, rsa2asn1, rsa2pub, rsa2ssh, rsa2x509, rsa2csr, rsa2jwk, x5092pub \- generate and format rsa keys .SH SYNOPSIS .B rsagen [ @@ -48,6 +48,11 @@ rsagen, rsafill, asn12rsa, rsa2asn1, rsa2pub, rsa2ssh, rsa2x509, rsa2csr, x5092p .I file ] .PP +.B rsa2jwk +[ +.I file +] +.PP .B rsa2x509 [ .B -e @@ -202,6 +207,10 @@ in the format used by SSH2. The .B -c option will set the comment. .PP +.I Rsa2jwk +reads a Plan 9 RSA public or provate key and prints the public portion +as a RFC7517 formated JSON Web Key. +.PP .I Rsa2x509 reads a Plan 9 RSA private key and writes a self-signed X.509 certificate encoded in ASN.1/DER format to standard output.