Closed C-monC closed 6 months ago
Hi @C-monC, this was a regression introduced in 0.22.0
. I've committed a fix, will do a patch release soon.
Released yesterday as 0.23.1. Thanks for the report, by the way!
Just confirming it is fixed. Thanks for the speedy patch :)
Describe the bug Using a hardware token stopped working in the recent release of PyHanko.
The above code works with pyHanko==0.21.0 and not with pyHanko==0.23.0. I haven't worked through the recent changes yet but I'll get on it soon.
Exception thrown: pkcs11.exceptions.NoSuchKey: No key matching {<Attribute.CLASS>: <ObjectClass.PRIVATE_KEY>, <Attribute.LABEL>: 'tq-a43cf071-2ad1b10724', <Attribute.ID>: b'\x99xa3'}