3 ms·
It doesn't help that many of these password managers are written in high-level languages (some are Electron based, ffs!) where you have zero control over the ac
by ComputerGuru 8y ago
It doesn't help that many of these password managers are written in high-level languages (some are Electron based, ffs!) where you have zero control over the actual allocation (and subsequent clearing) of bits. The best you can do is overwrite the memory and hope that the framework/runtime/GC does the right thing.
- magnat 8y agoFor .NET, there is SecureString class [1] which provides reasonable protection against stealing secrets from memory. Not many password managers (if any) use .NET, though. [1] https://docs.microsoft.com/en-gb/dotnet/api/system.security.securestring?view=netframework-4.7.2 https://docs.microsoft.com/en-gb/dotnet/api/system.security....
- Someone1234 8y agoHere's the source code if anyone is interested in how it works: https://referencesource.microsoft.com/#mscorlib/system/security/securestring.cs https://referencesource.microsoft.com/#mscorlib/system/secur...