tjfoc / gmsm

GM SM2/3/4 library based on Golang (基于Go语言的国密SM2/SM3/SM4算法库)
http://www.wutongchain.com
Apache License 2.0
1.78k stars 589 forks source link

希望可以有tls的使用样例,以及一些问题反馈 #194

Closed Laurent-Chen closed 10 months ago

Laurent-Chen commented 1 year ago

1.客户端、服务器同时使用gmtls.GMTLS_SM2_WITH_SM1_SM3使用时报handshake error : tls: no cipher suite supported by both client and server,加密套件不适配。 2.GMTLS_ECDHE_SM2_WITH_SM4_SM3会进入gm_key_agreement.go第71行的panic

emmansun commented 11 months ago

你可以尝试使用https://github.com/Trisia/gotlcp

Laurent-Chen commented 10 months ago

感谢解答