We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I created 2x ecdsa keypairs with flag CKA_COPYABLE
and used the following template to copy both public and private key from Object1 to Object2
CK_ATTRIBUTE copyTemplate[] = { {CKA_TOKEN, &true_val, sizeof(CK_BBOOL)}, {CKA_LABEL, dest_label, (CK_ULONG)strlen((char*)dest_label)}, {CKA_ID, dest_keyid, KEYID_LEN }, };
The operation return CKR_OK
But the Object2 is still different from Object1.
However this seems to be working with SoftHSM.
The text was updated successfully, but these errors were encountered:
Do you mean the objects' attributes differ? Which ones differ? From your code spinet, i guess label and ID would differ.
Sorry, something went wrong.
No branches or pull requests
I created 2x ecdsa keypairs with flag CKA_COPYABLE
and used the following template to copy both public and private key from Object1 to Object2
The operation return CKR_OK
But the Object2 is still different from Object1.
However this seems to be working with SoftHSM.
The text was updated successfully, but these errors were encountered: