Hacker GitHub

← All repos

dotnet/platform-compat

View on GitHub ↗ ★ 280 C# archived

Roslyn analyzer that finds usages of APIs that will throw PlatformNotSupportedException on certain platforms.

7 mentions on Hacker News by 7 people: 0 stories, 7 comments · first 2019-03-22 · latest 2023-03-23

Mentions per year 7 mentions · busiest year 2022 (2)
20082026
  1. …TLS handshake here" bit. [1] https://learn.microsoft.com/en-us/dotnet/api/system.net.http... [2] https://github.com/dotnet/platform-compat/issues/88 [3] https://github.com/davidfowl/BasicKestrel/tree/master/BasicK...
  2. …depends on the security of .NET's secure string, which, here's what Microsoft has to say about it ( https://github.com/dotnet/platform-compat/blob/master/docs/D... ) As for KeePassXC, last I checked it didn't even bother.
    comment by Macha · 2023-03-19 · in Bitwarden PINs can be brute-forced
  3. …docs they recommend against using that class and point to this github repo explaining the reason: https://github.com/dotnet/platform-compat/blob/master/docs/D...
    comment by aflag · 2022-12-29 · in I Lost All Faith in LastPass
  4. Except afaict SecureString doesn't reliably do that and shouldn't be used. https://github.com/dotnet/platform-compat/blob/master/docs/D...
  5. .NET (and PowerShell) have something similar. Interestingly, Microsoft recommends not using them. https://github.com/dotnet/platform-compat/blob/master/docs/D... I assume by certs and Windows auth they're implying the OS native stuff…
  6. …Infinite Noise TRNG. It reminds me of .net `SecureString`, which they then don't recommend using: https://github.com/dotnet/platform-compat/blob/master/docs/D... because it doesn't really provide any extra security anyway..
  7. FWIW SecureString should not be used: https://github.com/dotnet/platform-compat/blob/master/docs/D...