crypto icon indicating copy to clipboard operation
crypto copied to clipboard

[mirror] Go supplementary cryptography libraries

Results 102 crypto issues
Sort by recently updated
recently updated
newest added

This is a rebase of the following PR https://github.com/golang/crypto/pull/197 with some changes and improvements: - added support for client certificate authentication - removed read loop from server handshake - adapted...

Client.NewSession方法仅仅返回了Session,而打开的channel通道却没有用武之地,且使用方无法获取到该通道,因为是私有属性,如果想要使用channel,需要再次调用openChanne()方法。本人进行服务器和交换机ssh远程登录时,使用到了该源码,服务器可以正常使用,但交换机只能一个Session一个Channel。本人添加NewSessionAndChannel()方法将Session中的channel及request一并返回,使用该channel与交换机及服务器都能正常通信。

Buggy SSH clients, such as gpg-agent v2.2.4 and OpenSSH v7.6 shipped in Ubuntu 18.04, may send `ssh-rsa-512` as the public key algorithm but actually include an `rsa-sha` signature. If RFC...

MultiAlgorithmSigner allows to restrict signature algorithms. Fixes #52132 #36261

This adds support for SSH extension negotiation via SSH_MSG_EXT_INFO as defined in RFC 8308 [1]. It also adds support for the `server-sig-algs` extension on both the client and server sides....

cla: yes

In the existing bcrypt, pad and unpad by the base64Encode and base64Decode methods of bcrypt/base64. However, in the current encoding/base64 implementation, WithPadding(base64) can omit them. Also, in the current implementation,...

cla: yes