summaryrefslogtreecommitdiff
path: root/lib/rob
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-08-30 07:34:35 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-08-30 07:34:35 +0200
commit85216d3d95505c19a57d3bbe74e8a7eca109a8e6 (patch)
tree11be5cfbb3a1ab2854013be14f0728ea2d2a346a /lib/rob
parent7bb1a9a18566ea9c8ae7f6c2fa99e448026521d2 (diff)
downloadplan9front-85216d3d95505c19a57d3bbe74e8a7eca109a8e6.tar.xz
auth/rsa2asn1: implement private key export with -a flag (thanks kvik)
kvik writes: I needed to convert the RSA private key that was laying around in secstore into a format understood by UNIX® tools like SSH. With asn12rsa(8) we can go from the ASN.1/DER to Plan 9 format, but not back - so I wrote the libsec function asn1encodeRSApriv(2) and used it in rsa2asn1(8) by adding the -a flag which causes the full private key to be encoded and output.
Diffstat (limited to 'lib/rob')
0 files changed, 0 insertions, 0 deletions