summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/man/8/rsa8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/man/8/rsa b/sys/man/8/rsa
index 5baf18574..2326088a5 100644
--- a/sys/man/8/rsa
+++ b/sys/man/8/rsa
@@ -249,6 +249,14 @@ auth/rsa2ssh key | ssh unix 'cat >>.ssh/authorized_keys'
cat key >/mnt/factotum/ctl
ssh unix
.EE
+.PP
+Convert a private key in PEM format (as generated by OpenSSL)
+and load it into factotum:
+.IP
+.EX
+auth/pemdecode 'PRIVATE KEY' key.pem |
+ auth/asn12rsa -t 'service=tls' >/mnt/factotum/ctl
+.EE
.SH SOURCE
.B /sys/src/cmd/auth
.SH "SEE ALSO