Re: Key usage of ECC keys on PKCS#15 smartcards doesn't allow decryption?

2024-02-20 Thread Werner Koch via Gnupg-devel
On Mon, 19 Feb 2024 16:47, Mario Haustein said: > came to a similar solution which just differs in a detail. I was wondering > why > the derive key usage was not considered in do_getattr(). Is there a specific > reason for it? From my understanding it should allow to use the card for

Re: Key usage of ECC keys on PKCS#15 smartcards doesn't allow decryption?

2024-02-19 Thread Mario Haustein via Gnupg-devel
Hi Werner, Am Sonntag, 18. Februar 2024, 17:46:11 CET schrieb Werner Koch: > On Fri, 16 Feb 2024 15:12, Mario Haustein said: > > Is it likely that the `derive` check was just forgotten at this place? I > > cannot judge the consequences of this change, which is the reason for > > asking > Well,

Re: Key usage of ECC keys on PKCS#15 smartcards doesn't allow decryption?

2024-02-18 Thread Werner Koch via Gnupg-devel
On Fri, 16 Feb 2024 15:12, Mario Haustein said: > Is it likely that the `derive` check was just forgotten at this place? I > cannot judge the consequences of this change, which is the reason for asking Well, not forgotten but I have never seen that used by cards. I'll check tomorrow whether I

Key usage of ECC keys on PKCS#15 smartcards doesn't allow decryption?

2024-02-16 Thread Mario Haustein via Gnupg-devel
Dear developers, while implementing the D-Trust ECC smartcards I encountered an issue I couldn't make sense of and would like to request assistance from you. I also couldn't find an issue in the bug tracker looking similar to it. My test cards provides two certificates: one for qualified