axodotdev / axodotdev/cargo-dist
set tls v1.2 for powershell installers as well
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
see: https://github.com/astral-sh/uv/issues/2085
Unfortunately I think this affects the initial `irm` call.
I think we want the [-SslProtocol](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-7.4#-sslprotocol) flag?
Contributor guide
Research direction
Start by tracing how cargo-dist generates and invokes its PowerShell installer, paying particular attention to the initial `irm` call mentioned in the issue. Check the documented `-SslProtocol` behavior and confirm that the installer uses TLS 1.2 for that request; done means the generated PowerShell installer works with the affected environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- release, security
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100