binghc

Results 5 issues of binghc

Looking at the websocket code to the official website, it seems that it can not complete one client to another client message, nor can it complete the server to actively...

readme里面介绍说 # 对接java 时验签失败可以使用 sm2_crypt = sm2.CryptSM2( public_key=public_key, private_key=private_key, asn1=True) 然而根本没用,不知作者是否已自测 已设置参数asn1=True,但是验签java、go等签名出来的签名数据依然是通不过,java、go是可以互通的 看了go的实现源码,里面有经过za函数,但是这个库找不到跟za有关的函数,是不是因为这个原因导致不能和java互通? https://github.com/duanhongyi/gmssl/issues/33 另外关于sign_with_sm3和verify_with_sm3这个两个函数,自己和自己都不能通过 经过sign_with_sm3后的签名 用verify_with_sm3验签是通不过的

# 报错密钥 # prvKeyHex = 'd26929ec5626686a2fae8e3b3ca3fe9899041ce7999aed48f80263f0277f2ab6' # pubKeyHex = '0440f13559863508ad419e34ab2499c9c777edfff6128e54a4ce044fee232cf0b70d3c55dd7d4e2b7319800ee6b57c33eec28617a542cb7ea3a898b730e330b741' # 报错密钥2 prvKeyHex = 'bcfac492fde0edcb646fb6f50e4f3ef390d2f766a4b1bc64f35516ba1c6cde77' pubKeyHex = '0404d09f362fa4464c6ff541da6ba621a161ca46ea4148d1eb66cd7cba794dd36d5e1137cadf03530a86cd8330877fd9cb1d2430e138920a30681e180f2050aada' 用公钥加密的时候会报错 TypeError: object of type 'NoneType' has no len() TypeError: 'NoneType' object...

用sign函数签名后可以用verify函数验证通过,但是sign_with_sm3后verify_with_sm3得到的结果却是False

Could not create task ':path_provider_android:generateDebugUnitTestConfig'. Could not create task ':path_provider_android:generateDebugUnitTestConfig'. this and base files have different roots。。。。 这是什么情况?