I started a code contribution to add this and many other ciphers quite a while ago, but this was reduced down to a much smaller set (for good reason, at least in the core functionality). You can see my code for that in earlier revisions of https://codereview.appspot.com/5342057/
Adding block mode ciphers like CBC requires some careful and fiddly coding in the transport layer to get the frame length correct, I think it's only stream mode ciphers at the moment which are much simpler to deal with.
Taru makes a good point from the security standpoint: the better option is to change the peer to be aes-ctr capable.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/J2XCsTsNQ9o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
templateSshConfig := ssh.ClientConfig{
User: ......,
Auth: ....,
Config: ssh.Config{
Ciphers: ssh.AllSupportedCiphers(), // include cbc ciphers (even though they're bad, mmmkay)
},
}
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/J2XCsTsNQ9o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "golang-nuts" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/golang-nuts/J2XCsTsNQ9o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to golang-nuts...@googlegroups.com.
I don't think its the language's job to police security in a library.
--
Hi,To start off I'm fairly new to Go, I would just like to know the following:If I make changes similar to yours in common.go, how would I be able to make use of them in my main package.For example in my common.go file I added the following==== common.go ====func returnCiphers() []string {return supportedCiphers}In my main package, how will I call it as the following does not seem to work:==== main.go ====fmt.Println(ssh.returnCiphers())Assistance will greatly be appreciated.