Konge

Results 14 issues of Konge

In some website, it could make stange response. For example, one of the largest search engines *Baidu*: ```rust let mut body = Vec::new(); http_req::request::Request::new(&"https://www.baidu.com/".try_into().unwrap()) // .header("Referer", "") // It will...

enhancement

It provides better building experiences, especially on Windows. #127

## Reproduce 1. Run server `cargo run --example libzt-test-app -- server server 0.0.0.0 9999` 2. Run client: `cargo run --example libzt-test-app -- client client 9999` 3. Run client again, following...

Any idea? I will add document if the PR is acceptable.

# My environments + cmake version 3.20.21032501-MSVC_2 + rustc 1.54.0-nightly (ff2c947c0 2021-05-25) x86_64-pc-windows-msvc LLVM 12.0.1 + clang version 12.0.0 (provides libclang.dll) + VisualStudio 2019 (with latest Windows SDKs) # Problems...

看到题目一开始的想法是试着去找 `input` 读入变量的值。 但是把源码拖下来一看,`exec(input())`,~~这没法玩啊~~。 这行代码的字节码: ``` 1 0 LOAD_NAME 0 (exec) 2 LOAD_NAME 1 (input) 4 CALL_FUNCTION 0 6 CALL_FUNCTION 1 8 RETURN_VALUE ``` Python 内部完全没提供访问这个 input 输入临时字符串的功能。 str 类型不受...

solution

https://github.com/RustCrypto/formats/blob/fdb711e56e8139c57284ce06329033e467c5a0c4/x509-cert/src/builder.rs#L199 Is there any special reason to enable it by default? I understand that the ETSI advises against combining the Non-Repudiation and other key usages. In section 4.3.2 Key usage...

https://github.com/RustCrypto/formats/blob/9fd2b44029565c98dfb6b3aa2c25d4727d735261/der/src/asn1/set_of.rs#L120C13-L120C21

The code is copied from latest `requests` https://github.com/psf/requests/blob/a3ce6f007597f14029e6b6f54676c34196aa050e/src/requests/__init__.py#L124 1. Follow upstream https://github.com/psf/requests/pull/5443 and https://github.com/psf/requests/issues/5267 2. New PyOpenSSL bundles the OpenSSL 3, which may cause performance degradation https://github.com/python/cpython/issues/95031, especially in old...

AWS [doc](https://docs.aws.amazon.com/cloudhsm/latest/userguide/pkcs11-mechanisms.html#pkcs11-mech-annotations) says > When performing AES-GCM encryption, the HSM does not accept initialization vector (IV) data from the application. You must use an IV that it generates. The 12-byte...