You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i do not know if specs requires it or not but the fix used was to check for either
varerrNoCkaIdOrLabel=errors.New("private key has no CKA_ID or CKA_LABEL")
// Ensure the private key actually has a non-empty CKA_ID to match onif (id==nil||len(id) ==0) && (label==nil||len(label) ==0) {
returnnil, nil, errNoCkaIdOrLabel
}
The text was updated successfully, but these errors were encountered:
If there's no id= or object= in the URI used to specify the object, why do we even care if it has one? If I have a token with only one key in it, I should be able to use just pkcs11:manufacturer=mytoken;type=private as the key, surely?
FindKeyPair
only looks for keys that has anid
value herehttps://github.com/ThalesIgnite/crypto11/blob/master/keys.go#L122
In my case, the tpm-backed key has a label but not an id
which still works with openssl with used with modules
i do not know if specs requires it or not but the fix used was to check for either
The text was updated successfully, but these errors were encountered: