| 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 | 2 个月前 |
| Disable 'Upload artifacts' of riscv64 github flow temporarily Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/794 | 11 个月前 |
| fix(apps): correct KDF ID output and clean up CLI docs - fix the format specifier used for KDF algorithm IDs - remove merge conflict remnants from the English and Chinese CLI guides Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1766 | 2 个月前 |
| 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 | 4 个月前 |
| feat(entropy): add multi-source entropy health management - Add CPU-jitter and hash-loop delta source support with platform timing and assessment utilities - Expand entropy health-test, seed-pool, SAL timing, and SDV coverage. Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1704 | 2 个月前 |
| fix: validate DH and DSA finite-field groups DH range checks alone do not prove that a peer public key belongs to the configured q-order subgroup. Reject custom-group peer keys unless y^q mod p is one before performing the private exponentiation. Keep the range-only fast path for known safe-prime groups because p-1 is already rejected and is their only nontrivial element outside the q-order subgroup. DSA structural checks can accept composite p and q values or a generator outside the q-order subgroup. Such degenerate groups can undermine signature verification. Check p and q with the existing BN primality test and require g^q mod p to be one before accepting imported parameters. Propagate the caller library context to the primality checker and declare the BN prime dependency. Keep parameter-validation randomness separate from deterministic signing-vector nonces. Add regressions for composite DSA domains, invalid generators, custom library contexts, and out-of-subgroup DH public keys. Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1741 | 2 个月前 |
| 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 | 4 个月前 |
| 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. | 6 个月前 |
| fix:ffdhe support for dtls13 and sessionid check - check dtls13 serverhello sessionid - support ffdhe for dtls13 | 2 个月前 |
| fix(apps): correct KDF ID output and clean up CLI docs - fix the format specifier used for KDF algorithm IDs - remove merge conflict remnants from the English and Chinese CLI guides Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1766 | 2 个月前 |
| feat(dsa): add explicit domain parameter check Add CRYPT_EAL_PkeyParaCheck and the CRYPT_PKEY_CHECK_PARAM check type so full domain parameter validation can be requested explicitly instead of running on every CRYPT_DSA_SetPara call. Each import currently costs a g^q mod p subgroup test plus 64 to 128 full Miller-Rabin rounds, which is prohibitively expensive for frequent domain parameter imports, especially in pure-C builds running under sanitizers and coverage instrumentation. Restore the import-path checks to the cheap structural set. The explicit check verifies that g belongs to the q-order subgroup and that p and q are prime. Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1791 | 2 个月前 |
| fix:fix bytes counter overflow check in blake2s and bugs in verifyCrl Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1792 | 2 个月前 |
| fix:ffdhe support for dtls13 and sessionid check - check dtls13 serverhello sessionid - support ffdhe for dtls13 | 2 个月前 |
| fix:ffdhe support for dtls13 and sessionid check - check dtls13 serverhello sessionid - support ffdhe for dtls13 | 2 个月前 |
| 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 | 3 个月前 |
| 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 | 1 年前 |
| Remove libboundscheck (securec) dependency and harden sensitive data cleansing Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1086 | 6 个月前 |
| | 4 个月前 |
| 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 | 6 个月前 |
| openhitls repo init | 2 年前 |
| docs: update README for DTLS1.3 support Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1738 | 3 个月前 |
| docs: update README for DTLS1.3 support Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1738 | 3 个月前 |
| docs: add security-policy(SECURITY.md) Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1682 | 3 个月前 |
| docs: add security-policy(SECURITY.md) Cherry-picked from: https://gitcode.com/openHiTLS/openhitls/merge_requests/1682 | 3 个月前 |
| | 1 年前 |