Hi, > Part of the changes here -- especially that of config-win32-vc.h > should go upstream to pkcs11-helper isn't it? In fact it may have to > be added to config-win32-vc.h.in as the former is a generated file. > > Was it rejected upstream and we have to maintain this ourselves?
it was accepted to upstream: https://github.com/OpenSC/pkcs11-helper/commit/1d33a743bc67cfeb62293bc75f1bf2949c8115bb However the latest release 1.27 was tagged in November, 2020. Either we switch to using master or maintain this change ourselves until 1.28 is out. Or politely ask Alon to tag 1.28, for the sake of his good contributions to openvpn :) > Also the patch adding the RFC 7512 (pkcs11: URI) serialization is > applied in openvpn-build as well. Adding a patch inside a patch > already makes it so hard to read/review and keep current, and now > having the same in two places would add to that burden. I agree. Does anybody know if that patch is required (on Windows), why wasn't it merged (submitted?) to upstream and shall we try to submit it to upstream now? > Is there any real advantage of building openvpn.exe directly from here > as opposed to from openvpn-build? Anyway, for Windows releases we need > more than openvpn.exe. IMO yes, at least from developers' perspective. While you need openvpn-build to make installers, it is not required (not when "standalone msvc build" patch is merged) for openvpn Windows development. pkcs11-helper is not a separate tool like, say, openvpn-gui or EasyRSA, but a real dependency of openvpn.exe, same as openssl. So I don't see reasons not to include it into build process, especially when it doesn't require much effort (and will require even less with 1.28). Maybe I should submit this port to vcpkg upstream, but currently it won't work on non-Windows systems. Not sure if this is an obstacle, though. -- -Lev _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel