https://github.com/golang/crypto/blob/master/ssh/keys.go#L751
This line blocks to parse private key, that encrypted and contains the encryption header. But is this necessary? So much keys maybe encrypted and this disturbs to authenticate client for ssh connection in many cases. It should alert if you must aware it's insecure to parse encrypted one, but just returns error and fails following process is a little bit overkill. -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.