aboutsummaryrefslogtreecommitdiff
path: root/lib/ssh/ssh.go
diff options
context:
space:
mode:
authorShulhan <m.shulhan@gmail.com>2020-04-25 06:41:25 +0700
committerShulhan <m.shulhan@gmail.com>2020-04-25 06:41:25 +0700
commitb7f10dfa65dd1dfb43ee342b11c17da0847666e5 (patch)
tree196d70c0e3ab5840583b2b40989463c75ca44857 /lib/ssh/ssh.go
parent9295f006bdfdcc2b73c667447ff1e62508018cef (diff)
downloadpakakeh.go-b7f10dfa65dd1dfb43ee342b11c17da0847666e5.tar.xz
ssh: use algorithm names that supported by crypto/ssh package
Diffstat (limited to 'lib/ssh/ssh.go')
-rw-r--r--lib/ssh/ssh.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/ssh/ssh.go b/lib/ssh/ssh.go
index f34c1929..56fe6d77 100644
--- a/lib/ssh/ssh.go
+++ b/lib/ssh/ssh.go
@@ -4,17 +4,6 @@
package ssh
-// List of signature algorithms.
-const (
- SignAlg_ECDSA_SHA2_NISTP256 = "ecdsa-sha2-nistp256"
- SignAlg_ECDSA_SHA2_NISTP384 = "ecdsa-sha2-nistp384"
- SignAlg_ECDSA_SHA2_NISTP521 = "ecdsa-sha2-nistp521"
- SignAlg_RSA_SHA2_256 = "rsa-sha2-256"
- SignAlg_RSA_SHA2_512 = "rsa-sha2-512"
- SignAlg_SSH_ED22519 = "ssh-ed22519"
- SignAlg_SSH_RSA = "ssh-rsa"
-)
-
//
// patternToRegex convert the Host and Match pattern string into regex.
//