This directory contains scripts for testing the OQS fork of OpenSSL with liboqs, using all supported algorithms. The README.md file for the OQS-OpenSSL fork describes the various key exchange and authentication mechanisms supported.
First make sure you have installed the dependencies for the target OS as indicated in the top-level testing README.
The scripts have been tested on macOS 10.14, Debian 10 (Buster), Ubuntu 14.04, Ubuntu 16.04, and Ubuntu 18.04.
Run:
cd oqs_test
./run.sh
Alternatively, to log the run.sh output while following live, try:
./run.sh | tee `date "+%Y%m%d-%Hh%Mm%Ss-openssl.log.txt"`
You can locally run any of the integration tests that CircleCI runs. First, you need to install CircleCI's local command line interface as indicated in the installation instructions. Then:
circleci local execute --job <jobname>
where <jobname>
is one of the following:
debian-buster-amd64
ubuntu-xenial-x86_64
ubuntu-xenial-x86_64-shared
By default, these jobs will use the current Github versions of liboqs and OQS-OpenSSL. You can override these by passing environment variables to CircleCI:
circleci local execute --job <jobname> --env <NAME>=<VALUE> --env <NAME>=<VALUE> ...
where <NAME>
is one of the following:
LIBOQS_REPO
: which repo to check out from, defaulthttps://github.com/open-quantum-safe/liboqs.git
LIBOQS_BRANCH
: which branch to check out, defaultmaster
Note that as of April 13, 2019, CircleCI has a bug which causes it to fail when trying to locally run with a repository with a large number of files, such as OpenSSL. A work-around is available by editing .circleci/config.yml
as indicated by the comments in that file.