You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pietroalbini opened this issue
Dec 14, 2018
· 4 comments
Labels
C-bugCategory: This is a bug.O-windowsOperating system: WindowsP-highHigh priorityT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.
Reported on Reddit. Quickly looking at the issue seems like the website makes you install the 32bit version instead of the 64bit one, and the 32bit one triggers Windows Defender.
It's not an issue with 32-bit vs 64-bit, it just so happens that the two are flagged differently.
Windows SmartScreen is a pretty nice solution to code signing problems, basically it uses the tuple (code_signing_certificate?, hash_of_download) to determine whether a download is flagged. If the binary in question (as identified by the hash) has been downloaded/scanned without actual malware detected enough times, the warning goes away. If the binary is also signed, if other binaries signed with the same certificate have been downloaded/scanned many times the warning is not shown or goes away (this prevents new binaries by existing publishers from being flagged).
Now in this case, both the 32-bit and 64-bit installers are not signed (this sucks and needs to be corrected - certificates are cheap). But the 64-bit installer is more popular and has been run bypassing SmartScreen or with SmartScreen disabled without event enough times that Microsoft has learned to trust that binary.
rustup team can contact me via email to talk about asap band-aid if interested.
I'm going to close this in favour of the slightly older issue at rust-lang/rustup#1568. I've left a comment on that issue - in short, we're happy to explore code signing, it's just not something we have experience with or have prioritised so far. Help with understanding what's involved would be much appreciated!
C-bugCategory: This is a bug.O-windowsOperating system: WindowsP-highHigh priorityT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.
Reported on Reddit. Quickly looking at the issue seems like the website makes you install the 32bit version instead of the 64bit one, and the 32bit one triggers Windows Defender.
cc @rust-lang/infra @ashleygwilliams
The text was updated successfully, but these errors were encountered: