Created
February 13, 2014 05:50
-
-
Save ld86/8970402 to your computer and use it in GitHub Desktop.
Store your id_rsa on EToken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl rsa -in id_rsa -out pub.der -outform DER -pubout | |
openssl rsa -in id_rsa -out priv.der -outform DER | |
pkcs11-tool --module /usr/local/lib/libeToken.dylib -w pub.der --type pubkey --label "label" --id 01 | |
pkcs11-tool --module /usr/local/lib/libeToken.dylib -w priv.der --type privkey --label "label" --id 01 | |
ssh-keygen -D /usr/local/lib/libeToken.dylib |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment