From 014495122d6c2c73f4e183b831af477d4fd0dd94 Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 5 Jun 2015 14:30:33 +0200 Subject: Add catlfish-dev-lunahsm. --- catlfish-dev-lunahsm/Dockerfile | 8 ++++++++ .../luna-debs/configurator_5.1.0-26_amd64.deb | Bin 0 -> 22742 bytes .../luna-debs/libcryptoki_5.1.0-26_amd64.deb | Bin 0 -> 1499490 bytes .../luna-debs/libshim_5.1.0-26_amd64.deb | Bin 0 -> 114378 bytes .../luna-debs/lunacmu_5.1.0-26_amd64.deb | Bin 0 -> 1173392 bytes .../luna-debs/multitoken_5.1.0-26_amd64.deb | Bin 0 -> 123848 bytes .../luna-debs/salogin_5.1.0-26_amd64.deb | Bin 0 -> 42636 bytes catlfish-dev-lunahsm/luna-debs/vtl_5.1.0-26_amd64.deb | Bin 0 -> 990528 bytes catlfish-dev-lunahsm/start.sh | 9 +++++++++ 9 files changed, 17 insertions(+) create mode 100644 catlfish-dev-lunahsm/Dockerfile create mode 100644 catlfish-dev-lunahsm/luna-debs/configurator_5.1.0-26_amd64.deb create mode 100644 catlfish-dev-lunahsm/luna-debs/libcryptoki_5.1.0-26_amd64.deb create mode 100644 catlfish-dev-lunahsm/luna-debs/libshim_5.1.0-26_amd64.deb create mode 100644 catlfish-dev-lunahsm/luna-debs/lunacmu_5.1.0-26_amd64.deb create mode 100644 catlfish-dev-lunahsm/luna-debs/multitoken_5.1.0-26_amd64.deb create mode 100644 catlfish-dev-lunahsm/luna-debs/salogin_5.1.0-26_amd64.deb create mode 100644 catlfish-dev-lunahsm/luna-debs/vtl_5.1.0-26_amd64.deb create mode 100644 catlfish-dev-lunahsm/start.sh (limited to 'catlfish-dev-lunahsm') diff --git a/catlfish-dev-lunahsm/Dockerfile b/catlfish-dev-lunahsm/Dockerfile new file mode 100644 index 0000000..78f4ebe --- /dev/null +++ b/catlfish-dev-lunahsm/Dockerfile @@ -0,0 +1,8 @@ +FROM catlfish-dev +USER root +RUN echo 'debconf debconf/frontend select noninteractive' | debconf-set-selections +ADD luna-debs /tmp/ +RUN dpkg -i /tmp/*.deb +VOLUME /usr/lunasa/cert +ADD start.sh / +ENTRYPOINT ["/start.sh"] diff --git a/catlfish-dev-lunahsm/luna-debs/configurator_5.1.0-26_amd64.deb b/catlfish-dev-lunahsm/luna-debs/configurator_5.1.0-26_amd64.deb new file mode 100644 index 0000000..b8949c9 Binary files /dev/null and b/catlfish-dev-lunahsm/luna-debs/configurator_5.1.0-26_amd64.deb differ diff --git a/catlfish-dev-lunahsm/luna-debs/libcryptoki_5.1.0-26_amd64.deb b/catlfish-dev-lunahsm/luna-debs/libcryptoki_5.1.0-26_amd64.deb new file mode 100644 index 0000000..8698457 Binary files /dev/null and b/catlfish-dev-lunahsm/luna-debs/libcryptoki_5.1.0-26_amd64.deb differ diff --git a/catlfish-dev-lunahsm/luna-debs/libshim_5.1.0-26_amd64.deb b/catlfish-dev-lunahsm/luna-debs/libshim_5.1.0-26_amd64.deb new file mode 100644 index 0000000..324df41 Binary files /dev/null and b/catlfish-dev-lunahsm/luna-debs/libshim_5.1.0-26_amd64.deb differ diff --git a/catlfish-dev-lunahsm/luna-debs/lunacmu_5.1.0-26_amd64.deb b/catlfish-dev-lunahsm/luna-debs/lunacmu_5.1.0-26_amd64.deb new file mode 100644 index 0000000..73e3b98 Binary files /dev/null and b/catlfish-dev-lunahsm/luna-debs/lunacmu_5.1.0-26_amd64.deb differ diff --git a/catlfish-dev-lunahsm/luna-debs/multitoken_5.1.0-26_amd64.deb b/catlfish-dev-lunahsm/luna-debs/multitoken_5.1.0-26_amd64.deb new file mode 100644 index 0000000..be4a9bb Binary files /dev/null and b/catlfish-dev-lunahsm/luna-debs/multitoken_5.1.0-26_amd64.deb differ diff --git a/catlfish-dev-lunahsm/luna-debs/salogin_5.1.0-26_amd64.deb b/catlfish-dev-lunahsm/luna-debs/salogin_5.1.0-26_amd64.deb new file mode 100644 index 0000000..c05daa5 Binary files /dev/null and b/catlfish-dev-lunahsm/luna-debs/salogin_5.1.0-26_amd64.deb differ diff --git a/catlfish-dev-lunahsm/luna-debs/vtl_5.1.0-26_amd64.deb b/catlfish-dev-lunahsm/luna-debs/vtl_5.1.0-26_amd64.deb new file mode 100644 index 0000000..5239d3a Binary files /dev/null and b/catlfish-dev-lunahsm/luna-debs/vtl_5.1.0-26_amd64.deb differ diff --git a/catlfish-dev-lunahsm/start.sh b/catlfish-dev-lunahsm/start.sh new file mode 100644 index 0000000..27a25e7 --- /dev/null +++ b/catlfish-dev-lunahsm/start.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +if ! [ -e /usr/lunasa/cert/client/catlfishKey.pem ]; then + /usr/lunasa/bin/vtl addServer \ + -n ${HSM_SERVER_NAME} -c /usr/lunasa/cert/server/${HSM_SERVER_NAME}.pem + /usr/lunasa/bin/vtl createCert -n ${HSM_CLIENT_NAME} +fi + +su catlfish -c /var/run/catlfish/start.sh -- cgit v1.1