summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2020-12-06 20:51:27 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2020-12-06 20:51:27 -0800
commitcf0312360acbeaf30b292897826f915179e7bfe6 (patch)
tree013fdf19eae3cf0a90f0076edc4acaeda0988db0
parentRemove github specific constraints from gitea. (diff)
downloadgithooks-cf0312360acbeaf30b292897826f915179e7bfe6.tar.gz
githooks-cf0312360acbeaf30b292897826f915179e7bfe6.tar.bz2
githooks-cf0312360acbeaf30b292897826f915179e7bfe6.zip
github-mirror: kex/cipher/mac override no longer neededgithooks-20201207T045127Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rwxr-xr-xgithub-mirror/github-ssh-wrapper8
1 files changed, 4 insertions, 4 deletions
diff --git a/github-mirror/github-ssh-wrapper b/github-mirror/github-ssh-wrapper
index cb4f432..fe4a3ce 100755
--- a/github-mirror/github-ssh-wrapper
+++ b/github-mirror/github-ssh-wrapper
@@ -1,9 +1,9 @@
#!/bin/sh
# Use via GIT_SSH
-# Github is terrible and requires old ciphers/kex/macs
-CIPHERS='-o Ciphers=chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc'
-KEX='-o KexAlgorithms=curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1'
-MACS='-o MACs=hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,hmac-sha1'
+# OBSOLETE!!! Github is terrible and requires old ciphers/kex/macs
+#CIPHERS='-o Ciphers=chacha20-poly1305@openssh.com,aes256-gcm@openssh.com,aes128-gcm@openssh.com,aes256-ctr,aes192-ctr,aes128-ctr,aes256-cbc,aes192-cbc,aes128-cbc'
+#KEX='-o KexAlgorithms=curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1'
+#MACS='-o MACs=hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-ripemd160-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-512,hmac-sha2-256,hmac-ripemd160,hmac-sha1'
# Now run it
exec ssh ${GIT_SSH_KEY:+-i} ${GIT_SSH_KEY} $CIPHERS $KEX $MACS "$@"