[mirror] Go supplementary cryptography libraries
Перейти к файлу
Sven Blumenstein 986d331358 crypto/ssh: keep user in ConnMetadata if NoClientAuth is used
The current behaviour of the crypto/ssh server implementation is to
remove the username from ConnMetadata if the connection is done without
authentication (NoClientAuth). This appears to be a bug.

This behaviour is different from other SSH server implementations like
for example Paramiko (Python) which keeps the username.

Additionally RFC4252 (https://www.ietf.org/rfc/rfc4252.txt) section
5 states the username has to be included in every USERAUTH message.

Change-Id: I27fa50db92eb535e90fe088453faa6f2a76ee31f
Reviewed-on: https://go-review.googlesource.com/27612
Reviewed-by: Han-Wen Nienhuys <hanwen@google.com>
Run-TryBot: Han-Wen Nienhuys <hanwen@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-08-24 15:16:49 +00:00
acme acme: add Client.WaitAuthorization for polling 2016-08-22 20:33:07 +00:00
bcrypt crypto: add import comments. 2014-12-09 23:26:36 +00:00
blowfish go.crypto/blowfish: fix typo in docstring in cipher.go 2016-06-07 17:52:46 +00:00
bn256 crypto: add import comments. 2014-12-09 23:26:36 +00:00
cast5 crypto: add import comments. 2014-12-09 23:26:36 +00:00
curve25519 poly1305, curve25519: add build constraints for appengine 2015-03-27 05:11:19 +00:00
ed25519 x/crypto/ed25519: add package. 2016-04-25 23:11:06 +00:00
hkdf crypto: add import comments. 2014-12-09 23:26:36 +00:00
md4 crypto: add import comments. 2014-12-09 23:26:36 +00:00
nacl nacl: use HTTPS for nacl.cr.yp.to links 2016-08-19 14:58:26 +00:00
ocsp ocsp: fix default value of Version in ResponseData 2016-07-11 18:24:12 +00:00
openpgp x/crypto: fix typos 2016-07-06 16:40:51 +00:00
otr x/crypto/otr: reformat the libotr test harness with clang-format. 2015-11-20 20:14:19 +00:00
pbkdf2 crypto: add import comments. 2014-12-09 23:26:36 +00:00
pkcs12 x/crypto/pkcs12: fix typo in struct tag 2016-01-07 16:18:51 +00:00
poly1305 x/crypto/poly1305: fix memory alignment fault in ARM 2015-08-19 00:13:40 +00:00
ripemd160 crypto: add import comments. 2014-12-09 23:26:36 +00:00
salsa20 crypto: add import comments. 2014-12-09 23:26:36 +00:00
scrypt crypto: add import comments. 2014-12-09 23:26:36 +00:00
sha3 x/crypto: fix typos 2016-07-06 16:40:51 +00:00
ssh crypto/ssh: keep user in ConnMetadata if NoClientAuth is used 2016-08-24 15:16:49 +00:00
tea x/crypto: add support for Tiny Encryption Algorithm (TEA) 2015-07-29 20:20:17 +00:00
twofish crypto: add import comments. 2014-12-09 23:26:36 +00:00
xtea crypto: add import comments. 2014-12-09 23:26:36 +00:00
xts crypto: add import comments. 2014-12-09 23:26:36 +00:00
.gitattributes crypto: copying .gitattributes to all subrepositories 2014-12-23 06:54:52 +00:00
.gitignore convert .hgignore to .gitignore. 2014-12-08 10:41:13 +11:00
AUTHORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
CONTRIBUTING.md doc: add CONTRIBUTING.md 2015-02-18 23:42:20 +00:00
CONTRIBUTORS go.empty: prototype for new subrepository 2012-01-25 14:45:13 -05:00
LICENSE LICENSE: add 2012-03-17 15:19:30 +11:00
PATENTS go.crypto: add PATENTS file to the subrepo. 2012-04-16 11:25:08 +10:00
README go.crypto: initial code 2012-01-25 15:31:12 -05:00
codereview.cfg crypto: add codereview.cfg 2015-03-18 17:04:25 +00:00

README

This repository holds supplementary Go cryptography libraries.

To submit changes to this repository, see http://golang.org/doc/contribute.html.