From 0a3695ba844972e332dc28efa1ecb232a8eff9ba Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Fri, 6 Oct 2017 20:55:57 +0200 Subject: rsa: add auth/rsa2asn1, check write error in auth/rsa2x509 and auth/rsa2pub, document in rsa(8) --- sys/man/8/rsa | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'sys/man') diff --git a/sys/man/8/rsa b/sys/man/8/rsa index a176f0553..20b444b59 100644 --- a/sys/man/8/rsa +++ b/sys/man/8/rsa @@ -1,6 +1,6 @@ .TH RSA 8 .SH NAME -rsagen, rsafill, asn12rsa, rsa2pub, rsa2ssh, rsa2x509, rsa2csr \- generate and format rsa keys +rsagen, rsafill, asn12rsa, rsa2asn1, rsa2pub, rsa2ssh, rsa2x509, rsa2csr \- generate and format rsa keys .SH SYNOPSIS .B rsagen [ @@ -26,6 +26,11 @@ rsagen, rsafill, asn12rsa, rsa2pub, rsa2ssh, rsa2x509, rsa2csr \- generate and f .I file ] .PP +.B rsa2asn1 +[ +.I file +] +.PP .B rsa2pub [ .I file @@ -173,6 +178,11 @@ reads a Plan 9 RSA public or private key, removes the private attributes, and prints the resulting public key. Comment attributes are preserved. .PP +.I Rsa2asn1 +is like +.I rsa2pub +but outputs the public key in ASN.1/DER format. +.PP .I Rsa2ssh reads a Plan 9 RSA public or private key and prints the public portion in the format used by SSH2. The -- cgit v1.2.3