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

[IMPORTANT] Crate status change #320

Closed
6 tasks done
Taowyoo opened this issue Oct 17, 2023 · 0 comments · Fixed by #323
Closed
6 tasks done

[IMPORTANT] Crate status change #320

Taowyoo opened this issue Oct 17, 2023 · 0 comments · Fixed by #323
Assignees

Comments

@Taowyoo
Copy link
Collaborator

Taowyoo commented Oct 17, 2023

Because of the design change of mbedtls and important bugs found:

We (Fortanix) decided not to use mbedtls for TLS. But we still use it (mbedtls 2.28.X) for crypto and PKI.

As a result, following changes will be made to this repository:

  • Yank rust-mbedtls versions based on mbedtls 3.X, which includes 0.10.0 0.11.0 0.11.1
  • Yank mbedtls-sys-auto versions based on mbedtls 3.X, which includes 3.5.0-alpha.3+0b3de6f 3.5.0-alpha.2+0b3de6f 3.5.0-alpha.1+0b3de6f 3.4.0
  • Yank mbedtls-platform-support versions based on mbedtls 3.X, which includes 0.2.0 0.3.0 0.3.1
  • Switch rust-mbedtls default branch to a new branch master based on v0.9 branch (a branch for the latest version of rust-mbedtls that based on C mbedtls 2.28.X)
  • Update rust-mbedtls README that we're now in maintenance mode and will only ever support 2.28.x.
  • Old master now change name to mbedtls-3
@Taowyoo Taowyoo self-assigned this Oct 17, 2023
@Taowyoo Taowyoo changed the title Cleanup and change status of this crate [IMPORTANT] Change status of this crate Oct 17, 2023
@Taowyoo Taowyoo changed the title [IMPORTANT] Change status of this crate [IMPORTANT] Crate status change Oct 17, 2023
@Taowyoo Taowyoo mentioned this issue Oct 19, 2023
@Taowyoo Taowyoo linked a pull request Oct 19, 2023 that will close this issue
@Taowyoo Taowyoo reopened this Oct 19, 2023
@Taowyoo Taowyoo closed this as completed Oct 20, 2023
@Taowyoo Taowyoo reopened this Feb 9, 2024
@Taowyoo Taowyoo pinned this issue Feb 9, 2024
@Taowyoo Taowyoo closed this as completed Feb 9, 2024
pulsastrix added a commit to namib-project/libcoap-rs that referenced this issue Jun 11, 2024
- using mbedtls or tinydtls will no longer force usage of the vendored
  library version of mbedtls-sys-auto/tinydtls-sys by default
- remove dependency on gnutls-sys crate as it is unmaintained, we now
  handle linking to gnutls ourselves
- mbedtls-sys-auto is only used if mbedtls should be vendored, as the
  crate doesn't allow for disabling vendoring independently and doesn't
  support mbedtls >= 3.0.0
  (see fortanix/rust-mbedtls#320)
- in order to use the vendored versions of DTLS crate, you now have to
  enable the `dtls_backend_[BACKEND]_vendored` feature of libcoap-sys
  (or the `dtls_[BACKEND]_vendored` feature of libcoap-rs)
pulsastrix added a commit to namib-project/libcoap-rs that referenced this issue Jul 2, 2024
…DTLS

- using mbedtls or tinydtls will no longer force usage of the vendored
  library version of mbedtls-sys-auto/tinydtls-sys by default
- remove dependency on gnutls-sys crate as it is unmaintained, we now
  handle linking to gnutls ourselves
- mbedtls-sys-auto is only used if mbedtls should be vendored, as the
  crate doesn't allow for disabling vendoring independently and doesn't
  support mbedtls >= 3.0.0
  (see fortanix/rust-mbedtls#320)
- in order to use the vendored versions of DTLS crate, you now have to
  enable the `dtls_backend_[BACKEND]_vendored` feature of libcoap-sys
  (or the `dtls_[BACKEND]_vendored` feature of libcoap-rs)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant