Explorar el Código

pq: introduces caddy with post quantum crypto

keep-around/7f12695beac7e08f9823d3e7cc13bb5387f277d7
Kris hace 6 años
padre
commit
7f12695bea
Se han modificado 5 ficheros con 35 adiciones y 0 borrados
  1. +9
    -0
      images/pq/Caddyfile
  2. +10
    -0
      images/pq/Dockerfile
  3. +12
    -0
      images/pq/Makefile
  4. BIN
     
  5. +4
    -0
      images/pq/index.html

+ 9
- 0
images/pq/Caddyfile Ver fichero

@@ -0,0 +1,9 @@
:443 {
tls fullchain.pem privkey.pem
tls {
protocols tls1.2 tls1.3
curves X25519 P256 "SIDH/503-X25519"
}
log stdout
ext .html
}

+ 10
- 0
images/pq/Dockerfile Ver fichero

@@ -0,0 +1,10 @@
FROM buildpack-deps

EXPOSE 443

ADD certs/privkey.pem /
ADD certs/fullchain.pem /
ADD bin/caddy /
ADD Caddyfile /
ADD index.html /
CMD [ "/caddy", "-conf", "/Caddyfile" ]

+ 12
- 0
images/pq/Makefile Ver fichero

@@ -0,0 +1,12 @@
NAME=pq
PORT=50511
build:
mkdir -p certs
cp ../../cert/fullchain.pem certs/
cp ../../cert/privkey.pem certs/
docker build -t ${NAME} .
run:
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}

restart:
docker restart ${NAME}


+ 4
- 0
images/pq/index.html Ver fichero

@@ -0,0 +1,4 @@
<html><body>DUPA
<a href="https://git.amongbytes.com/kris/qrtesting/tree/master">Details</a>
</body></html>

Cargando…
Cancelar
Guardar