You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HSM support is an **optional** feature for MoCOCrW. This allows for loading and storing keys on HSM
84
+
and using those keys in various cryptographic algorithms without having keys in memory. To build
85
+
MoCOCrW with HSM support, a patched version of libp11 is necessary since upstream libp11 does not
86
+
support key generation through OpenSSL's ENGINE API.
87
+
88
+
[libp11 release 0.4.12](https://github.com/OpenSC/libp11/releases/tag/libp11-0.4.12) patched with
89
+
[patch for key generation](https://github.com/bmwcarit/MoCOCrW/blob/openssl1.1/dockerfiles/feature-support/hsm-patches/0001-Introduce-generic-keypair-generation-interface-and-e.patch) is required for building MoCOCrW with
90
+
HSM feature enabled. To build and install patched libp11, check out [how it's done](https://github.com/bmwcarit/MoCOCrW/blob/openssl1.1/dockerfiles/feature-support/Dockerfile#L31) in our CI or [official instructions by libp11](https://github.com/OpenSC/libp11/blob/master/INSTALL.md).
91
+
92
+
Then, to use the HSM feature, replace the CMake invocation with:
0 commit comments