News for hackers. Stuff that matters.
Re:MemGuard: Secure sensitive information in memory in Go by mehrdadn on Friday July 26, 2019 @03:14AM (#20532956)
Probably not a big deal, but they're reinventing the wheel a bit... Windows has RtlEncryptMemory/CryptProtectMemory for this.

https://docs.microsoft.com/en-us/windows/win32/api/dpapi/nf-...

Re:MemGuard: Secure sensitive information in memory in Go by christoph-heiss on Friday July 26, 2019 @03:46AM (#20533087)
Not really a cross-platform API, is it?
Re:MemGuard: Secure sensitive information in memory in Go by mehrdadn on Friday July 26, 2019 @03:50AM (#20533101)
No, but I'm suggesting it's not a bad idea to use it on Windows. That way if there's ever an improvement made to it (imagine better hardware support or something coming along someday), you'd get it automatically.
Re:MemGuard: Secure sensitive information in memory in Go by pjmlp on Friday July 26, 2019 @06:33AM (#20533753)
No, but it could take advantage of native API in each platform and fall back into Go ones when such kind of APIs aren't available.