Skip to content

chore: switch TLS backend from rustls/aws-lc-rs to native-tls#970

Open
kevinschweikert wants to merge 1 commit intoCyberTimon:mainfrom
kevinschweikert:feat/native-tls
Open

chore: switch TLS backend from rustls/aws-lc-rs to native-tls#970
kevinschweikert wants to merge 1 commit intoCyberTimon:mainfrom
kevinschweikert:feat/native-tls

Conversation

@kevinschweikert
Copy link
Copy Markdown

Description

Replaces the rustls + aws-lc-rs TLS stack with native-tls, which delegates to the OS's built-in TLS implementation

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Performance improvement
  • Code refactoring
  • Documentation update
  • UI/UX improvement
  • Build/CI or Dependency update

Changes Made

switched from rusttls to native-tls

Screenshots/Videos

Testing

  • I have tested these changes locally and confirmed that they work as expected without issues

Test Configuration:

  • OS: macOS Sequoia 15.7
  • Hardware: Apple M3 Pro

Checklist

  • My code follows the project's code style
  • I haven't added unnecessary AI-generated code comments
  • My changes generate no new warnings or errors

Additional Notes

I've just had some problems compiling the project. aws-lc-sys was confused because i had XCode 26.2 installed but still run macOS Sequoia 15.7. I could solve the issue by switching to the native tls stack completely. aws-lc-sys is quite a heavy dependency and would make building the project overall simpler.

It was already tried in #823 (comment) but not merged

AI Disclaimer:

Please state the involvement of AI in this PR:

  • This PR is entirely AI-generated
  • This PR is AI-generated but guided by a human
  • This PR was handwritten with AI assistance (spell check, logic suggestions, error resolving)
  • This PR contains only blood, sweat, and coffee (AI-free)

@Duecki1
Copy link
Copy Markdown
Contributor

Duecki1 commented Apr 5, 2026

Hi @kevinschweikert

the project just switched from native tls to rustls in this commit 4feda9e to support the new android build.

#941

As far as I know, native-tls won't work.

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 this pull request may close these issues.

2 participants