commit | 0ec3e9974c59449edd84298612e9f16fa13368e8 | [log] [tgz] |
---|---|---|
author | Ross Kinsey <rossikinsey@gmail.com> | Sun Mar 22 14:36:50 2020 -0400 |
committer | Filippo Valsorda <filippo@golang.org> | Mon Mar 23 16:52:09 2020 +0000 |
tree | 15dc73e96a4ef086ecf3fedfa821cffc5a2fa9b9 | |
parent | 891825fb96dfc23279b4a42f710d49e78e05b333 [diff] |
ssh: support aes256-cbc for passphrase-protected OpenSSH keys The existing code for decrypting OpenSSH-format keys only allows aes256-ctr, the current ssh-keygen default. However, the default encryption scheme was aes256-cbc until relatively recently, and some of these keys are still in use. Support for aes256-cbc has been added. Fixes golang/go#37939 Change-Id: I3730347109c5dd18e4cbe61b48bbca9566ad61d2 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/224817 Reviewed-by: Filippo Valsorda <filippo@golang.org>
This repository holds supplementary Go cryptography libraries.
The easiest way to install is to run go get -u golang.org/x/crypto/...
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/crypto
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the crypto repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.