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 ++-- .travis/docker/ssh/client_key | 62 +++++---------------------------------- .travis/docker/ssh/client_key.pub | 2 +- .travis/docker/ssh/server_key | 58 +++++------------------------------- .travis/docker/ssh/server_key.pub | 2 +- 5 files changed, 20 insertions(+), 110 deletions(-) (limited to '.travis/docker') 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 diff --git a/.travis/docker/ssh/client_key b/.travis/docker/ssh/client_key index 3e15c7e..7502c82 100644 --- a/.travis/docker/ssh/client_key +++ b/.travis/docker/ssh/client_key @@ -1,54 +1,8 @@ ------BEGIN RSA PRIVATE KEY----- -Proc-Type: 4,ENCRYPTED -DEK-Info: AES-128-CBC,EFA2E15B12D68FC649086F06E013568D - -YHB3av+cDZz7vlQDZuZkCsAXjoM8Ms6nrTHUV7s4Vck58qEFB9Zbk1yD86cJVPFr -/p2fbdG3m7ZBC8QU3SvE1Saqzp1Pmi/6/QwvwlqMcEwXLMCdRuI52yO6F824/3Re -uRlCzCw1JIt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AAAzAAAAC3NzaC1lZDI1NTE5AAAAIDkpIMideN05ni89 +cmRjdbff6fj4qyukThD2X/gINlVMAAAAkOVOKvBjvIbIoc9JA2q8ui62PqP6dQwwsR94Vr +/czMBQah5jFKdH9vDiI2JLaGjoH4VvT9mzuPBoE0Vchk6MEpud2dNXWMdb2ubG1d9yTWfV +XhMXMeNd6UEjY7ypsldhR2X55dvIFeNr9B6A8dMy1Qpeyd62maBOwNdumbsG6MalXOFuv7 +srvnjlwUdHKZV9wg== +-----END OPENSSH PRIVATE KEY----- diff --git a/.travis/docker/ssh/client_key.pub b/.travis/docker/ssh/client_key.pub index 35dbd54..6b0e3e9 100644 --- a/.travis/docker/ssh/client_key.pub +++ b/.travis/docker/ssh/client_key.pub @@ -1 +1 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCju682tFYvigNZquMd9k89Z00YgSRl48Q9TevkweTKXmgp0P58rV+i1YypT7e2WWI7lOXs0QHxdXaU+aMplJqs4ek1SxzL7ySTYWDzUqPlbDKnd2zDEG0xF941w2t+DBTia+L5Bkc75z2ClYBDt49bXNFSixQhVM+HjZX/gHTknFtOSZGAwCQh/jw+Zdj+SBKaE2CVtKtLYtroKRNJH8K8EOQNpWY7e5/7r7I1bwtpCL6NWKNq38KmvacQqF4kfJ2oFW7HGj/k0DgQYcawh/WrV53IFzs6Ig2k7dPrGqFOFWcQZiFKYT7ndN6SNiu3yqIwjfHh5FLnFv+kOaCNHOy3f2Xebeb6ErwCMEbEK4k3KsWCceP8t0q8tzahw13tUgXplt3Z9rWWKDijeoS2HrmK4EwKBJinjRJqQrR/l8dKBi/0B00nq7SKgZ37Na+5/Q/tWGUU1V9ZbJPjZy2MYEWaf419mDCMpi7UUVz+8uGnB28ZxEYHiVnrJQm3MxytFGvdbGju5WwRw2zvin0BDtn/B+uFxYY0u2M2cOebSRDxGmQGqQfUIt4cnkc6HGwULa8UBI31Cjz0loW66QpDIL4MUm43+y6EnHzIZxWVUw6blgKy17jXAZgLZyjiOC5FNwOEuxNfui6BCIvTIerbtaUFfKcr6krBPNc+byU3yL96oQ== travis@example.org +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDkpIMideN05ni89cmRjdbff6fj4qyukThD2X/gINlVM root@client diff --git a/.travis/docker/ssh/server_key b/.travis/docker/ssh/server_key index ae28564..07774eb 100644 --- a/.travis/docker/ssh/server_key +++ b/.travis/docker/ssh/server_key @@ -1,51 +1,7 @@ ------BEGIN RSA PRIVATE KEY----- -MIIJKQIBAAKCAgEAt3NZMSCzeyccuAlUrWGvaOaJQnAjzdv9sZDn2km6Lu5Nnc18 -IlcY8F/DjlBh8PICFM5X6penzet69pVazhF8BF9u0fd3+/wv6ZOSifJ9Uk2fOtIF -r2yjn9WW2SHMs7xA78Dgk+UVGcd6E5v00pKRNWqrilB8Zj/P4y+9jWHSd85AWpGk -Nrx9izMbyYEqu/vZFL6bPEEW+xxLtJcPseiRVp56TGhLNSJE741Hv3dyEwp7qKqg -lc/bqCPLMV4lmqdIQAqyd4BKPyJfQj/kxWK4E1L59zmJegOJI8itP13aEYY3GdEF -8Ka4cTqqp8B212QQ5x2F8rPDvCMUv7A8B+Zc3F+sqlHVLZU1sU356oZT+2MXnFcu -EdfUxCNslUeGAfgzUT8anJvLH6FhrajUBnXfxI0duxSYfGJzFS8dnHZvzrQmVt0s -VeSSQgS89jb8xlzG7+WBcBLMhXwhNuf2Ft2tWTf4qLDbo7mMQXD4Kyr7ZQim7kjR -uZ7IjdpLZMysAzoHexv33+mkA7dP1/cyNHqyn2AAkUz0HnRogumlH+8umHUuVR8A -RsF8dpeGW/CZtbJQ+YIYX+glybq3V7VzkGu0xPFcJbkJS+Yfh3xN+GQTZATMR1hR -JeRpjybMFPB/ZFe4Dyl8Sc0R5Ze00z088J/g0ISvo0ym1qI/5n5I0YSXia0CAwEA -AQKCAgEAhumgrX2UITzJZRsPmBbgDnCEf0TDQBDKiPy9Vg6kiwEcObI12XdeUuDK -i23YKX+BQlXh2Bf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WHXinOq6suf -ul3KYvmtx1/QQ44fKJk7haJpaAl7fbuxeOKwTQG3ClPBia0Da3955IriYeReWdur -JkaDJ1tV5QBJULOcijgL0WGgSTzcsBaO1hqhrcHqyZI4NtGvXXDsfIznn+EtW2SK -WtgnqUBvmHCncxFeysqQlDBf4tIBSJvF9j9RUJamJeoweRpnK5x4BiLrCsLRZ2oN -yLMXQTEEGdcHsIjs9G9W7yeSloxG7PHjWu93p30hrdYgkCI/1ZuvhMIVd8UY ------END RSA PRIVATE KEY----- +-----BEGIN OPENSSH PRIVATE KEY----- +b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW +QyNTUxOQAAACCXhJs2H7dvamDdK51mhWEAGuXnBsCVEKdWxyPjWYNgigAAAJDx95CI8feQ +iAAAAAtzc2gtZWQyNTUxOQAAACCXhJs2H7dvamDdK51mhWEAGuXnBsCVEKdWxyPjWYNgig +AAAEBkubMLhAF/0hCKnq2l3BuexD4UIQ+qcXW5ke+DWhQ8DJeEmzYft29qYN0rnWaFYQAa +5ecGwJUQp1bHI+NZg2CKAAAAC3Jvb3RAc2VydmVyAQI= +-----END OPENSSH PRIVATE KEY----- diff --git a/.travis/docker/ssh/server_key.pub b/.travis/docker/ssh/server_key.pub index 788daca..601277f 100644 --- a/.travis/docker/ssh/server_key.pub +++ b/.travis/docker/ssh/server_key.pub @@ -1 +1 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3c1kxILN7Jxy4CVStYa9o5olCcCPN2/2xkOfaSbou7k2dzXwiVxjwX8OOUGHw8gIUzlfql6fN63r2lVrOEXwEX27R93f7/C/pk5KJ8n1STZ860gWvbKOf1ZbZIcyzvEDvwOCT5RUZx3oTm/TSkpE1aquKUHxmP8/jL72NYdJ3zkBakaQ2vH2LMxvJgSq7+9kUvps8QRb7HEu0lw+x6JFWnnpMaEs1IkTvjUe/d3ITCnuoqqCVz9uoI8sxXiWap0hACrJ3gEo/Il9CP+TFYrgTUvn3OYl6A4kjyK0/XdoRhjcZ0QXwprhxOqqnwHbXZBDnHYXys8O8IxS/sDwH5lzcX6yqUdUtlTWxTfnqhlP7YxecVy4R19TEI2yVR4YB+DNRPxqcm8sfoWGtqNQGdd/EjR27FJh8YnMVLx2cdm/OtCZW3SxV5JJCBLz2NvzGXMbv5YFwEsyFfCE25/YW3a1ZN/iosNujuYxBcPgrKvtlCKbuSNG5nsiN2ktkzKwDOgd7G/ff6aQDt0/X9zI0erKfYACRTPQedGiC6aUf7y6YdS5VHwBGwXx2l4Zb8Jm1slD5ghhf6CXJurdXtXOQa7TE8VwluQlL5h+HfE34ZBNkBMxHWFEl5GmPJswU8H9kV7gPKXxJzRHll7TTPTzwn+DQhK+jTKbWoj/mfkjRhJeJrQ== travis@example.org +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJeEmzYft29qYN0rnWaFYQAa5ecGwJUQp1bHI+NZg2CK root@server -- cgit v1.2.3