sneako / finch

Elixir HTTP client, focused on performance
MIT License
1.23k stars 114 forks source link

Remove castore dependency #274

Open wojtekmach opened 3 weeks ago

wojtekmach commented 3 weeks ago

Closes #178.

Mint was recently updated to automatically use OS trust store: https://github.com/elixir-mint/mint/pull/435.

If we are on OTP 24, we'd receive this error:

image

Same error when using OTP 25+ but the OS happens not to have certs:

image

I believe the error is good enough however I'm happy to improve it of course!

wojtekmach commented 3 weeks ago

@sneako actually let's hold off on this for a second, perhaps we should set Mint version requirement to >= 1.6.1 so we always pick a Mint which would use OS certs?