rsa(8): provide example for converting OpenSSL generated PEM file to factotum
This commit is contained in:
parent
ad6b99359d
commit
93a86cea66
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue