Closed Ottunger closed 2 years ago
@Ottunger Do you use onlyWithPrivateKey
or onlySmartcards
filters?
I do:
(<any>el).filters = {
expired: false,
onlySmartcards: true,
onlyWithPrivateKey: true,
keyUsage: ['digitalSignature'],
language: this.apiService.readLangString.toLowerCase()
};
onlySmartcards
or onlyWithPrivateKey
triggers require smartcard login. We did it based on special requirements (for example you can't read certificates with a private key without a smartcard login). So, you need to disable both filters for reading without login.
Hi,
I confirm your explanation is correct. A bit ad to use this as workaround (have to narrow down issuer filter better), but does the job, thanks.
Fortify seems to perform C_Login on each smartcard inserted when the listing certificates operations is called. Would it be possible to parametrize to not do C_Login but only read publicly available information of the card?
I attach log of calls done when mounting
peculiar-fortify-certificates
inside the DOM: