axodotdev / axodotdev/cargo-dist

set tls v1.2 for powershell installers as well

Open
#823 5 comments 0 reactions 0 assignees View on GitHub
feature request
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.