Displaying 1 result from an estimated 1 matches for "libopencryptoki".
2015 Jul 20
5
[Bug 2432] New: ssh-keygen and tools should be able to get public part directly from private key (portability)
...e openssh-7 release, it seems to me
like great time to rethink smart cards handling. The thing is that even
if you don't have public key object on the card, you are able to
reconstruct public key from private key (p11tool example):
$ p11tool --login --export-pubkey
--provider=/usr/lib64/pkcs11/libopencryptoki.so
"pkcs11:model=IBM%20SoftTok;manufacturer=IBM%20Corp.;serial=123;token=test;id=%92%44%ea%d2%18%12%c2%91%64%52%40%a2%83%99%07%7b%29%50%74%71;object=test2;type=private"
Enter PIN:
-----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhCyiE9NGksjVLWfG//Zj
PO8mYDtc9G/t5OUN...