I’m having an issue while trying to generate key on my smart card after installing the Minidriver.
Basically, im using NCryptCreatePersistedKey to create the key and then i use NCryptFinalizeKey to finish the process.
The issue is that when i call NCryptFinalizeKey, i get presented with all the connected readers and need to choose the one i want to use but when i choose my reader that contain the card i get the following error message: “The card is not fully personalized for use”.
Does anyone know what the issue is and how can it be fixed?
Any help would be greatly appreciated, thanks in advance!