File tree Expand file tree Collapse file tree 2 files changed +760
-4
lines changed
Expand file tree Collapse file tree 2 files changed +760
-4
lines changed Original file line number Diff line number Diff line change @@ -2,14 +2,20 @@ FROM buildenv
22
33# Install MoCOCrW dependencies (except OpenSSL)
44RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y --no-install-recommends install \
5- # libp11 engine
6- libengine-pkcs11-openssl \
7- # headers for p11 engine
8- libp11-dev \
95 # for pkcs11-tool which we use to create keys in token
106 opensc \
117 # p11-kit-modules allows loading of libp11 engine without having to edit openssl.cnf
128 p11-kit-modules \
139 # softhsm2: includes both softhsm2-util and libsofthsm2
1410 softhsm2 \
1511 && rm -rf /var/lib/apt/lists/*
12+
13+ ADD keygen_patch.patch /tmp/
14+
15+ RUN cd /tmp && \
16+ wget https://github.com/OpenSC/libp11/releases/download/libp11-0.4.12/libp11-0.4.12.tar.gz && \
17+ tar xvf libp11-0.4.12.tar.gz && \
18+ cd libp11-0.4.12 && \
19+ git apply /tmp/keygen-patch.patch && \
20+ ./configure && make -j$(nproc) && make install
21+
You can’t perform that action at this time.
0 commit comments