aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorJakob Ackermann <das7pad@outlook.com>2019-04-04 07:09:38 +0200
committerLauris BH <lauris@nix.lv>2019-04-04 08:09:38 +0300
commit3f4e2d9d376b553ee931e1539174372ed550dd27 (patch)
treef555a2ca90601713c30e9f84be1b6640d8fbb8c5 /docker
parentbf5af87eef8913004df63aef58f71628f9c057d0 (diff)
downloadgitea-3f4e2d9d376b553ee931e1539174372ed550dd27.tar.gz
gitea-3f4e2d9d376b553ee931e1539174372ed550dd27.zip
[docker] drop the bits argument when generating an ed25519 key (#6504)
From the man page of ssh-keygen:   Ed25519 keys have a fixed length and the -b flag will be ignored. [skip ci] Signed-off-by: Jakob Ackermann <das7pad@outlook.com>
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/etc/s6/openssh/setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/etc/s6/openssh/setup b/docker/etc/s6/openssh/setup
index b529431a15..f8ef816a95 100755
--- a/docker/etc/s6/openssh/setup
+++ b/docker/etc/s6/openssh/setup
@@ -6,7 +6,7 @@ fi
if [ ! -f /data/ssh/ssh_host_ed25519_key ]; then
echo "Generating /data/ssh/ssh_host_ed25519_key..."
- ssh-keygen -t ed25519 -b 4096 -f /data/ssh/ssh_host_ed25519_key -N "" > /dev/null
+ ssh-keygen -t ed25519 -f /data/ssh/ssh_host_ed25519_key -N "" > /dev/null
fi
if [ ! -f /data/ssh/ssh_host_rsa_key ]; then