@@ -34,8 +34,8 @@ RUN apt-get install -y autoconf pkgconf libtool liburcu-dev libcap-dev libuv1-de
3434RUN wget https://github.com/openssl/openssl/releases/download/openssl-3.4.0/openssl-3.4.0.tar.gz && tar xzf openssl-3.4.0.tar.gz
3535RUN cd openssl-3.4.0 && ./Configure --openssldir=/opt/openssl --prefix=/opt/openssl && make -j$(nproc) && make install
3636
37- RUN git clone https://github.com/open-quantum-safe/liboqs.git liboqs
38- RUN git clone https://github.com/open-quantum-safe/oqs-provider.git oqs-provider
37+ RUN git clone https://github.com/SIDN/ liboqs
38+ RUN git clone https://github.com/SIDN/ oqs-provider
3939RUN git clone https://github.com/SIDN/OQS-bind.git
4040
4141ENV PATH="/opt/openssl/bin:$PATH"
@@ -45,13 +45,15 @@ ENV liboqs_DIR="$OPENSSL_ROOT_DIR"
4545
4646# Build liboqs and install in /app/liboqs-bin
4747
48- RUN cd liboqs && git checkout 0.13.0
49- RUN cmake -S liboqs -B liboqs/build -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=$liboqs_DIR -DOQS_BUILD_ONLY_LIB=ON
48+ RUN cd liboqs && git checkout 85e6927ca15f6a998dee7a0c3ceaf657432632ba # wip-sqisign
49+ RUN cmake -S liboqs -B liboqs/build -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=$liboqs_DIR
5050RUN cmake --build liboqs/build --parallel $(nproc)
5151RUN cmake --build liboqs/build --target install
52+ # Basic sanity test to verify if algorithm's integration in liboqs works
53+ RUN ./liboqs/build/tests/test_sig sqisign-1
5254
5355# Build liboqs to /app/oqsprovider-bin
54- RUN cd oqs-provider && git checkout 0.9.0
56+ RUN cd oqs-provider && git checkout cedcdf34416faf7cc9495438ea06c6df264da444 # wip-sqisign
5557RUN cd oqs-provider && cmake -S . -B _build
5658RUN cd oqs-provider && cmake --build _build
5759RUN cd oqs-provider && cmake --install _build
@@ -61,7 +63,7 @@ ENV OPENSSL_CONF=/opt/pqc-openssl.cnf
6163
6264RUN (test -f /opt/openssl/lib64/ossl-modules/oqsprovider.so && sed -i /opt/pqc-openssl.cnf -e 's#/opt/openssl/lib#/opt/openssl/lib64#g' ) || :
6365
64- RUN cd OQS-bind && git checkout 2aeb0420392282d062feeb6831ae885d08ce2b6c
66+ RUN cd OQS-bind && git checkout acd32406f844bdc65d269eab0a9a23ed0024fd79 # sqisign
6567ADD patches/falcon-unpadded.patch /OQS-bind/falcon-unpadded.patch
6668RUN cd OQS-bind && git apply --ignore-space-change --ignore-whitespace falcon-unpadded.patch
6769RUN cd OQS-bind && autoreconf -fi
@@ -84,5 +86,9 @@ RUN rm -rf /liboqs
8486RUN mkdir /var/cache/bind
8587ADD named.conf /usr/local/etc/named.conf
8688
89+ # Do some tests to verify functionality
90+ RUN dnssec-keygen -a SQISIGN1 example.nl
91+ RUN dnssec-keygen -a SQISIGN1 -f KSK example.nl
92+
8793CMD named -g
8894# ENTRYPOINT /OQS-bind/bin/dnssec/dnssec-signzone
0 commit comments