Description of problem:
Engine_pkcs11 is simple to use for applications as it hides all the PKCS #11 stuff, but it doesn't cope with the case of applications that fork. That is PKCS #11 (v2.40) requires the reinitialization (C_Initialize) of any open modules after fork. That would also imply that open handles to objects have to be reopened again.
That is not done by the engine. See upstream issue:
Reassigning to libp11, as this seems like the proper place to fix the issue.
Do you want commit access to push the fixes out yourself?
I don't use the pkcs11 stack myself any more and I'd be happy to hand it over to you, if you want - I've only been holding on to them so they don't get removed from the distro.
I wouldn't really like to maintain this package. If David cannot handle as well, then we don't have a choice anyway. I'll apply.
I'm somewhat reluctant to take on new packages, as I know I don't do an excellent job of maintaining them — my attention is fairly sporadic. I'm happy to comaintain, but as a provenpackager I tend to do that anyway.
Ok. I'll apply for comaintainership.
I've sent a pull request upstream, and applied it in rawhide for testing.