ugene
ugene
> AIX宏适配下应该就可以了,欢 有时间我试一下
> 下面测试例程:测试完成后,主线程无法退出问题 > > ``` > gitevpp/benchmark/throughput/evpp/client.cc > ``` > > 原因在这个函数: loop_->Stop(); > > ``` > void Quit() { > LOG_WARN tpool_->Stop(); > loop_->Stop(); > ``` > > loop_->Stop();内部...
> > 拆构函数先后顺序造成的。 > > 不过也有一部分evpp的原因。 > > `class InitializeGlog { public: InitializeGlog(const std::string &Name = std::string("Server"), const std::string &Dir = std::string("./Log/")) { google::InitGoogleLogging(Name.c_str()); google::SetLogDestination(google::GLOG_INFO, Dir.c_str()); google::InstallFailureSignalHandler(); FLAGS_colorlogtostderr = true;...
> Per the recommendations in those threads, I tried the sciter version and it doesn't seem to be doing it. Will use it going forward until a fix is found...
> Powertoys There is no Powertoys on my system.
> Did you install it remotely? > > > 你是远程安装的吧 This is my reason.
HttpRequest req; req.http_major = 2; req.http_minor = 0; req.content_type = APPLICATION_GRPC; req.method = HTTP_POST; req.body = SerializeAsString(xxx); HttpResponse res; hv::HttpClient client("0.0.0.0",12343); client.send(&req,&res);
> > gmssl 签名出来的是 asn1(r,s), bc库中的签名函数 就有签名出 asn1(r, s) 的函数,是可以互通的 > > 注意的一个问题是,gmssl用到的私钥是加密过的,公钥是明文, BC库用的公私钥都是明文的, gmssl签名,bc库验签名没有问题,倒过来的话,需要把gmssl使用的私钥解密码下 可以用BC生成公钥、私钥,然后签名;GMSSL中用sm2_key_set_public_key设置一下公钥,然后验签,这样可以的吧?
> 可以的 用[https://github.com/ZZMarquis/gmhelper.git](url)的测试用例SM2UtilTest.java中的testSignAndVerify,生成公钥、私钥和签名后的消息,然后gmssl中用sm2_verify没通过。sm2_key_set_public_key设置公钥,再将签名hex转成str,最后用sm2_verify验签,没通过。是哪边设置有问题吗?
> ``` > gmssl sm2verify -pubkey sm2pub.pem -sig sm2.sig > ``` > > 例子中的这个sm2.sig 里存的bin类型 我分别用的是gmssl自带的demo中sing例子,以及gmhelper中单元测试的例子。 ` /***************gmhelper中签名例子*******************/ public void testSignAndVerify() { try { AsymmetricCipherKeyPair keyPair = SM2Util.generateKeyPairParameter(); ECPrivateKeyParameters priKey...