Skip to content

Drop mbedTLS and migrate to OpenSSL #48799

Closed
@fxcoudert

Description

@fxcoudert

There has already been an issue that proposed migration to BoringSSL (#45856), which is not what I propose here.

  • Julia already depends on OpenSSL
  • Julia currently depends on mbedTLS for:
    • libssh2, on all targets
    • libgit2, on Linux/FreeBSD
    • curl, on Linux/FreeBSD
  • All three dependencies could migrate to OpenSSL
  • We would cut down the dependency tree
  • Avoid relying on an old branch of mbedTLS

From a security perspective, this seems great (fewer updates to manage, and track record shows mbedTLS is frequently behind in Julia).

Are there any downsides to migrating to OpenSSL and removing mbedTLS?

If not, and the idea has support, I volunteer to handle the migration PRs in Yggdrasil and julia.

Metadata

Metadata

Assignees

No one assigned

    Labels

    external dependenciesInvolves LLVM, OpenBLAS, or other linked libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions