python-pkcs11
python-pkcs11 copied to clipboard
private key extraction
Hello,
I am trying to extract from HSM token the private key and convert it to pem. RubyGems signing requires both ca_cert.pem, which I managed to extract and convert to pem, and the private_key.pem. I only got the Label, Id and other object staff, but clearly it's not enough for external signing. Can I do that? If not - any other suggestions for the process?
Thank You!