rsa(8): provide example for converting OpenSSL generated PEM file to factotum
This commit is contained in:
parent
ad6b99359d
commit
93a86cea66
1 changed files with 8 additions and 0 deletions
|
@ -249,6 +249,14 @@ auth/rsa2ssh key | ssh unix 'cat >>.ssh/authorized_keys'
|
||||||
cat key >/mnt/factotum/ctl
|
cat key >/mnt/factotum/ctl
|
||||||
ssh unix
|
ssh unix
|
||||||
.EE
|
.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
|
.SH SOURCE
|
||||||
.B /sys/src/cmd/auth
|
.B /sys/src/cmd/auth
|
||||||
.SH "SEE ALSO
|
.SH "SEE ALSO
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue