| ci: require explicit branches filter for pull_request trigger main, openhitls-0.3, openhitls-0.2 Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1801 | 11 天前 |
| fix: address security review findings on rsa, bn, sha2, mldsa, cmac and CI - ci: run the riscv64 self-hosted job on push only, so untrusted PR code cannot execute on the self-hosted runner - sha2: gate the multi-buffer SHA256 path on the ARM SHA2 extension at init to avoid SIGILL on cores without it; add missing input checks to the one-shot CRYPT_SHA256_MB - mldsa: decrement the loop counter in the ARMv8 UseHint32/88 routines; the missing decrement emitted a 17th 64-byte chunk store, writing 64 bytes past each w[i] polynomial during signature verification. Add an SDV case with a canary after the last polynomial to guard the bound - rsa: reject inLen < 2 in CRYPT_RSA_VerifyPkcsV15Type2TLS before reading in[0]/in[1] to prevent an out-of-bounds read with a malformed short modulus - bn: BN_GenPrime now retries only on a composite candidate and aborts on real errors, preventing an infinite loop when the rand source fails persistently (aligned with OpenSSL behavior) - cmac: replace NULL + 0 pointer arithmetic on empty updates with an index loop to remove undefined behavior - curve25519: clear the partially duplicated key context on the DupCtx failure path - benchmark: reject -l values beyond the fixed buffer size Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1803 | 8 天前 |
| feat: Command-line password parsing supports retrieval from environment variables. Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1794 | 12 天前 |
| fix: harden file permissions for sensitive data and add input validation - Introduce HITLS_APP_UioOpenPrivate to create key files with 0600 permissions, replacing open-then-chmod pattern to avoid TOCTOU race - Migrate key/PKCS12/rand output paths to use private file creation - Refactor PKCS12 generation to use GenBuff + private UIO write - Add null check for confirmP.data in SPAKE2+ RespDerive - Add max length validation for private pass token challenge requests - Reject AEAD ciphers in enc command explicitly - Add 30s handshake timeout on accepted TCP connections Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1575 | 2 个月前 |
| fix:remove uio overflow check and param maker free Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1827 | 1 天前 |
| feat(quic): support quic-tls-api according to rfc9001 Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1774 | 8 天前 |
| feat: CDP, IDP, and DeltaCrl encoding/decoding capability trimming Signed-off-by: Lzhjian <liuzhijian24@huawei.com> Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1636 | 1 个月前 |
| Support Pure cmake build build: Migrate build system from Python/JSON/CMake hybrid to pure CMake The previous build system mixed Python scripts and JSON configuration files with CMake, scattering build logic across multiple languages and formats. This made the system hard to understand and maintain, and required a Python interpreter at configure time. The build system has been rewritten entirely in CMake. Feature flags, dependency resolution, platform detection, compiler options, and config-header generation are now all expressed natively in CMake. For more details, see the "Build and Installation" section in README.md. | 4 个月前 |
| Ingore the reinit return value that does not fail. Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1825 | 1 天前 |
| feat: Command-line password parsing supports retrieval from environment variables. Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1794 | 12 天前 |
| fix: TLS 1.3 server correctly handles client early_data extension A rejecting server cannot decrypt 0-RTT records but replied with a fatal bad_record_mac alert, which RFC 8446 4.2.10 does not allow. The discard guards also read hsCtx->extFlag.haveEarlyData, which was never set, so the discard path was dead code. - Sync extFlag.haveEarlyData after ClientHello validation; reject early_data in the second ClientHello after HRR (illegal_parameter). - Add error code HITLS_MSG_HANDLE_ILLEGAL_EARLY_DATA. - Silently discard empty and too-short records; count at least the record header against the 16KB cap; skip plaintext early-data records after HRR instead of caching them. - Add SDV suite test_suite_sdv_frame_tls13_0rtt (8 cases). Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1810 | 7 天前 |
| fix:CDP, IDP and DELTACRL fields are not supported under the HITLS_PKI_X509_VFY_CRL_LITE Signed-off-by: Lzhjian <liuzhijian24@huawei.com> Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1793 | 8 天前 |
| fix:Fix the issue where RECEIVED_SHUTDOWN is set after the second successful call to hitls_closeio_busy, following the initial call Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1838 | 8 小时前 |
| fix:Fix the issue where RECEIVED_SHUTDOWN is set after the second successful call to hitls_closeio_busy, following the initial call Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1838 | 8 小时前 |
| add .clang-format file # message auto-generated for no-merge-commit merge: merge main into main add .clang-format file Created-by: dumb Author-id: 822999 MR-id: 4358051 Commit-by: Liu-Ermeng Merged-by: tlhcd E2E-issues: Description: add .clang-format file See merge request: openHiTLS/openhitls!49 | 1 年前 |
| normalize: add .gitattributes and convert CRLF to LF across repo Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1667 | 1 个月前 |
| feat: build system improvements and cross-platform support (macOS) Major Features: - Multi-compiler/linker configuration system with toolchain support - Auto-manage Secure C (libboundscheck) dependency - Dynamic provider library names for CMVP modes (ISO19790, SM) - macOS/Darwin platform support with unified POSIX abstractions - Cross-platform build improvements and optimizations Build System: - Add toolchain management for cross-compilation - Support nested 'common' format in compile config - with _EXTRA/_REMOVE/_OVERRIDE in common flags, we can add remove by per compiler - Unify toolchain naming convention (arch-vendor-os-abi-compiler) Platform Support: - Unify Linux and Darwin sources under POSIX - Add Darwin support for SAL and build flags - Add Darwin support for REC wrapper functions (WIP) - Cross-platform ops count macros for benchmarking - Platform-specific library extension detection (.dylib vs .so) Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/652 | 10 个月前 |
| Remove libboundscheck (securec) dependency and harden sensitive data cleansing Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1086 | 4 个月前 |
| | 2 个月前 |
| docs: update CONTRIBUTING-zh.md - Changing the serial number. Signed-off-by: zhoutianli <2093795515@qq.com> Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1282 | 4 个月前 |
| openhitls repo init | 1 年前 |
| docs: update README for DTLS1.3 support Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1738 | 29 天前 |
| docs: update README for DTLS1.3 support Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1738 | 29 天前 |
| docs: add security-policy(SECURITY.md) Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1682 | 1 个月前 |
| docs: add security-policy(SECURITY.md) Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1682 | 1 个月前 |
| | 1 年前 |