ref: 463bbddb8d6cdc1fb3df8dce42b9b5e0afd3cedb
parent: e8083eca17b53fbe7738bf365839491b10dc5f3f
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Oct 27 13:04:13 EDT 2021
rsa(8): document rsa2jwk
--- 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 @@
.I file
]
.PP
+.B rsa2jwk
+[
+.I file
+]
+.PP
.B rsa2x509
[
.B -e
@@ -201,6 +206,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