Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async tls support #5

Merged
merged 5 commits into from
Oct 12, 2024
Merged

Async tls support #5

merged 5 commits into from
Oct 12, 2024

Commits on Sep 25, 2024

  1. feat(async): Asynchronous quote generation phase

    1. Asynchronous tdx sgx quote generation phase via
    `tokio::spawn_block`.
    2. Propagate `async` to function that call or implicitly call
    asynchronous interface.
    3. add asynchronous test.
    csyJoy committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    317fd46 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. feat(async): async tls support using tokio-rustls, crates features …

    …refactor
    
    1. add `rustls` module in transport module which use
    `tokio-rustls` to support async IO by `tokio`
    2. refactor current crates' features structure to avoid feature
    contention
    csyJoy committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    989c4a1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4da7593 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. fix(test): resolve build failed error during cargo test

    1. adjust the position of `#[maybe_async]` for test cases.
    2. remove `example/*` from default-members in `Cargo.toml` which
    will cause default `cargo build` fail.
    3. use `-p` instead of `--bin` while building an example.
    4. adding `base` feature in `rats-rs`, making it convenient to
    re-add the basic features after disabling the default features.
    csyJoy committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    9f463bf View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. fix(misc): code quality and security improvements, comments added, do…

    …cumentation updated.
    
    1. add missing error handling code.
    2. move `Vec` instead of raw ptr while spawning a async block
    task
    3. add comments explaining the reason for implementing `Send` to
    tls `Client` `Server`
    4. document update about cargo building package from `--bin` to
    `-p`
    csyJoy committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    c6bbaf1 View commit details
    Browse the repository at this point in the history