Michał Trojnara

Results 96 comments of Michał Trojnara

@vgottardi2 Do you use libp11 on an operating system that does not automatically release memory at application exit?

OpenSSL does not provide official Windows installers: https://wiki.openssl.org/index.php/Binaries Would you like to sponsor building Windows windows installers for libp11 releases?

Provided in https://github.com/OpenSC/libp11/releases/tag/libp11-0.4.11

I'm working on automatic Windows builds with GitHub Actions. Please be patient.

Please take a look at Artifacts at the bottom of https://github.com/OpenSC/libp11/actions/runs/2856550857#artifacts. What do you think?

With all due respect, this PR is insane. Does any other engine do it this way?

> Allegedly they all do I guess I should have been more precise... I checked OpenSSL 1.1.0 engines for `RSA_new_method()` invocations. They are used by `e_capi.c` and `e_chil.c`. None of...

... or even better to obsolete them (for compatibility) and add new `PKCS11_engine_get_private_key()` and `PKCS11_engine_get_public_key()`.

I can see quite a few problems here. Which of them is the fundamental one for you? I guess we can implement the fall through to the OpenSSL default methods...

Existing engines (`e_capi.c`, `e_chil.c`, `e_dasync.c`) **do** call `ENGINE_set_RSA()`. If this is a problem then it is bigger than just our engine.