From 51bee470d57e93faa28514cebbac59379a235693 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 12 Mar 2020 23:51:53 +0300 Subject: Travis: ed25519 keys, which are shorter --- .travis/docker/server/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.travis/docker/server') diff --git a/.travis/docker/server/Dockerfile b/.travis/docker/server/Dockerfile index 035d871..66d2957 100644 --- a/.travis/docker/server/Dockerfile +++ b/.travis/docker/server/Dockerfile @@ -8,11 +8,11 @@ RUN apk --no-cache add bash git openssh-server && \ WORKDIR /root -COPY ["ssh/server_key", "/etc/ssh/ssh_host_rsa_key"] -COPY ["ssh/server_key.pub", "/etc/ssh/ssh_host_rsa_key.pub"] +COPY ["ssh/server_key", "/etc/ssh/ssh_host_ed25519_key"] +COPY ["ssh/server_key.pub", "/etc/ssh/ssh_host_ed25519_key.pub"] COPY ["ssh/client_key.pub", "./.ssh/authorized_keys"] -RUN chmod 0600 -- /etc/ssh/ssh_host_rsa_key && \ +RUN chmod 0600 -- /etc/ssh/ssh_host_ed25519_key && \ chmod 0700 -- ./.ssh/ && \ chmod 0600 -- ./.ssh/authorized_keys -- cgit v1.2.3