Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
2946461
refactor the whole structure
stevefan1999-personal Sep 27, 2024
7e5bd91
fixup! refactor the whole structure
stevefan1999-personal Sep 27, 2024
8f93ce9
remove derive_more
stevefan1999-personal Sep 27, 2024
7e73263
let tls suite features be optional
stevefan1999-personal Sep 27, 2024
0132366
remove useless code
stevefan1999-personal Sep 27, 2024
cff0bff
enhance feature selection
stevefan1999-personal Sep 27, 2024
5f49b10
fix references
stevefan1999-personal Sep 27, 2024
66478de
spread der feature to various format
stevefan1999-personal Sep 27, 2024
c952b8f
make sure more features are correctly separated
stevefan1999-personal Sep 27, 2024
d5ae16b
rsa: make pkcs1 independent
stevefan1999-personal Dec 7, 2024
65d74f9
ensure a fallback slice when tls 1.2 is disabled
stevefan1999-personal Dec 7, 2024
680cbcd
fixup! make sure more features are correctly separated
stevefan1999-personal Dec 7, 2024
d31abc4
upgrade dependencies
stevefan1999-personal Dec 7, 2024
bfa3dfb
require pkcs8 for pkcs1 decode in rsa
stevefan1999-personal Dec 7, 2024
8934e0f
Merge branch 'master' of https://github.com/RustCrypto/rustls-rustcry…
stevefan1999-personal Dec 7, 2024
c8911d4
enable all suites when testing
stevefan1999-personal Dec 7, 2024
1a03061
add experimental CCM support
stevefan1999-personal Dec 7, 2024
53eb412
add a more comprehensive test method
stevefan1999-personal Dec 7, 2024
634e212
fix getrandom by fixating feature when building for wasm
stevefan1999-personal Dec 7, 2024
9d44f14
fix getrandom problem with unsupported target
stevefan1999-personal Dec 7, 2024
f2eba45
enable ccm for openssl test suite
stevefan1999-personal Dec 8, 2024
bfac1b0
fix length for Aes128Ccm8
stevefan1999-personal Dec 8, 2024
edd6c4e
fix wrong aead algorithm for TLS13_AES_128_CCM_8_SHA256
stevefan1999-personal Dec 8, 2024
5c11f64
update Cargo.lock for OpenSSL test
stevefan1999-personal Dec 8, 2024
7b4a773
fixup! fix wrong aead algorithm for TLS13_AES_128_CCM_8_SHA256
stevefan1999-personal Dec 8, 2024
a625d9c
update readme to expand the supported cipher suites
stevefan1999-personal Dec 8, 2024
b8598da
update readme to remove production warning
stevefan1999-personal Dec 8, 2024
3d554e7
remove aes feature from aes-gcm and manually define the type instead
stevefan1999-personal Dec 9, 2024
3f8520d
add a static assertion to make sure at least one suite is available
stevefan1999-personal Dec 9, 2024
74fabd8
use spki independently
stevefan1999-personal Dec 9, 2024
eb1f2c3
remove std and alloc implied feature to bare minimum instead
stevefan1999-personal Dec 9, 2024
051219e
save the base name for round trip test
stevefan1999-personal Dec 9, 2024
16c1411
feature revamp and implementing the last hash feature todo
stevefan1999-personal Dec 9, 2024
a7d55e3
allow p521 to be tested by openssl
stevefan1999-personal Dec 10, 2024
1ed2a27
add x448 support
stevefan1999-personal Dec 10, 2024
a74fa6d
patch crrl for mishandling dependencies
stevefan1999-personal Dec 10, 2024
b22eabf
remove unnecessary mod redirection
stevefan1999-personal Dec 10, 2024
4b6bbc7
don't include the root cert in the cert chain for the fake resolver
stevefan1999-personal Dec 10, 2024
7ffad43
simplify and reinforce feature selection
stevefan1999-personal Dec 10, 2024
30f82f6
chore: upgrade code
stevefan1999-personal May 21, 2025
38ce929
add devfile
stevefan1999-personal Jul 1, 2025
34b4347
add vscode extension recommendations
stevefan1999-personal Jul 1, 2025
fe2150c
upgrade to latest rustcrypto crates
Sep 10, 2025
72311f3
Refactor dependencies and update cryptographic implementations
stevefan1999-personal Sep 10, 2025
069b79e
Enhance cryptographic implementations with generic hash and HMAC stru…
stevefan1999-personal Sep 10, 2025
8994135
Update GitHub Actions workflow to use Rust 1.85.0 and improve job con…
stevefan1999-personal Sep 10, 2025
9a1e6b4
Update Rust toolchain to version 1.88.0 in CI workflow and Cargo.toml
stevefan1999-personal Sep 10, 2025
9ec1985
Refactor: Replace ConstDefault with Default for various structures an…
stevefan1999-personal Sep 11, 2025
d5351b3
Remove unused dependencies
stevefan1999-personal Sep 11, 2025
c9dd194
Set RUSTFLAGS for custom getrandom_backend in build and test jobs
stevefan1999-personal Sep 11, 2025
07c3d40
Remove redundant RUSTFLAGS from cross test job in CI workflow
stevefan1999-personal Sep 11, 2025
98ae4cf
Enhance CI workflow: Add caching for Rust toolchain, Cargo registry, …
stevefan1999-personal Sep 11, 2025
36a0a82
Refactor: Move common module imports to explicit_nonce for clarity an…
stevefan1999-personal Sep 11, 2025
5ba80dd
Enhance CI workflow: Expand target matrix for cross job to include ad…
stevefan1999-personal Sep 11, 2025
7f3d8a8
fixup! Enhance CI workflow: Expand target matrix for cross job to inc…
stevefan1999-personal Sep 11, 2025
4699eb0
Refactor CI workflow: Replace manual caching with houseabsolute/actio…
stevefan1999-personal Sep 11, 2025
a171434
Refactor CI workflow: Replace manual caching with Swatinem/rust-cache…
stevefan1999-personal Sep 11, 2025
091a148
Enhance CI workflow: Integrate sccache for improved build caching and…
stevefan1999-personal Sep 11, 2025
ed9e1e7
fixup! Enhance CI workflow: Integrate sccache for improved build cach…
stevefan1999-personal Sep 11, 2025
2db6ce0
Add rustls real socket test with TLS server and client implementation
stevefan1999-personal Sep 11, 2025
61acd2f
fixup! Add rustls real socket test with TLS server and client impleme…
stevefan1999-personal Sep 11, 2025
a533ca3
Update ESP32 test configuration: Set target for Rust toolchain and sp…
stevefan1999-personal Sep 11, 2025
3252670
Update ESP32 test build process: Use release profile and correct arti…
stevefan1999-personal Sep 11, 2025
36719ec
Refactor ESP32 test workflow: Simplify environment setup and improve …
stevefan1999-personal Sep 11, 2025
fbee122
Update ESP32 test workflow: Change ESP_IDF_TOOLS_INSTALL_DIR to custo…
stevefan1999-personal Sep 11, 2025
4039392
fixup! Update ESP32 test workflow: Change ESP_IDF_TOOLS_INSTALL_DIR t…
stevefan1999-personal Sep 11, 2025
5d3c95c
Update rustls version in Cargo.toml for esp32-test and rustls-real-so…
stevefan1999-personal Sep 11, 2025
efc4f60
Remove TLS handshake IO handling from server and client functions
stevefan1999-personal Sep 11, 2025
e67c410
Remove commented-out code and clarify ED25519 key support in TryFrom …
stevefan1999-personal Sep 11, 2025
9741739
Update ESP32 test workflow artifact path
stevefan1999-personal Sep 11, 2025
f32f5cd
Enhance documentation and validation for rustls-rustcrypto
stevefan1999-personal Sep 12, 2025
d6b80b0
Refactor ECDSA implementation by consolidating curve and hash algorit…
stevefan1999-personal Sep 12, 2025
093276a
Add comprehensive cipher suite combination testing script and GitHub …
stevefan1999-personal Sep 12, 2025
c3666ca
fixup! Add comprehensive cipher suite combination testing script and …
stevefan1999-personal Sep 12, 2025
b58c68d
Refactor cipher suite testing workflow by removing hash algorithm inp…
stevefan1999-personal Sep 12, 2025
85115fa
Remove comprehensive cipher suite matrix testing workflow for simplif…
stevefan1999-personal Sep 12, 2025
c59dfc7
Rename workflow from 'rustls-rustcrypto' to 'Unit Tests' for clarity
stevefan1999-personal Sep 12, 2025
4aafdf7
OpenSSL test workflow rename and cache improvement
stevefan1999-personal Sep 12, 2025
d961f5b
Add support for Ed448 signature verification and update dependencies
stevefan1999-personal Sep 12, 2025
7399095
Add Ed448 signature support and implement related structures
stevefan1999-personal Sep 12, 2025
cd3752c
fixup! Add Ed448 signature support and implement related structures
stevefan1999-personal Sep 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 72 additions & 0 deletions .github/workflows/esp32-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: ESP32 Test Build

on:
push:
branches: [ master ]
paths:
- 'validation/esp32-test/**'
- '.github/workflows/esp32-test.yml'
pull_request:
paths:
- 'validation/esp32-test/**'
- '.github/workflows/esp32-test.yml'

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

env:
ESP_IDF_VERSION: v5.4.2
ESP_IDF_TOOLS_INSTALL_DIR: custom:/opt/esp
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Cache ESP-IDF
uses: actions/cache@v4
with:
path: |
~/.espressif
/opt/esp
key: ${{ runner.os }}-espidf-${{ env.ESP_IDF_VERSION }}-
restore-keys: |
${{ runner.os }}-espidf-${{ env.ESP_IDF_VERSION }}-
${{ runner.os }}-espidf-

- name: Set up Rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rust-src
target: riscv32imac-unknown-none-elf
- name: Setup SCCache
uses: mozilla-actions/[email protected]

- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
workspaces: "validation/esp32-test"

- name: Setup ldproxy
uses: taiki-e/cache-cargo-install-action@v2
with:
tool: ldproxy

- name: Build ESP32 test
working-directory: validation/esp32-test
run: |
cargo build --release

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: esp32-test-build
path: |
validation/esp32-test/target
retention-days: 30
78 changes: 41 additions & 37 deletions .github/workflows/local_openssl.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,41 @@
name: validate-local-openssl

defaults:
run:
working-directory: validation/local_ping_pong_openssl

on:
pull_request:
paths-ignore:
- README.md
push:
branches: master
paths-ignore:
- README.md

permissions:
contents: read

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
test:
strategy:
matrix:
toolchain:
- stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: RustCrypto/actions/cargo-cache@master
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- name: Test against OpenSSL locally
run: cargo test
name: OpenSSL Local Comparison Tests

defaults:
run:
working-directory: validation/local_ping_pong_openssl

on:
pull_request:
paths-ignore:
- README.md
push:
branches: [master]
paths-ignore:
- README.md

permissions:
contents: read

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
test:
strategy:
matrix:
toolchain:
- stable
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- uses: mozilla-actions/[email protected]
- uses: Swatinem/rust-cache@v2
- name: Test against OpenSSL locally
run: cargo test
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
49 changes: 49 additions & 0 deletions .github/workflows/rustls-real-socket-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Rustls Real Socket Test

on:
push:
branches: [ master ]
paths:
- 'validation/rustls-real-socket-test/**'
- '.github/workflows/rustls-real-socket-test.yml'
pull_request:
paths:
- 'validation/rustls-real-socket-test/**'
- '.github/workflows/rustls-real-socket-test.yml'

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Rust
uses: dtolnay/rust-toolchain@stable

- name: Setup SCCache
uses: mozilla-actions/[email protected]

- name: Cache Cargo
uses: Swatinem/rust-cache@v2
with:
workspaces: "validation/rustls-real-socket-test"

- name: Run in release mode
working-directory: validation/rustls-real-socket-test
run: cargo run --release
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: rustls-real-socket-test-release
path: |
validation/rustls-real-socket-test/target/release/
retention-days: 30
Loading
Loading