Spyke
Kogasareply
programming.dev

Seems like a pretty basic security precaution to avoid loading decrypted secrets into memory before they're needed. Someone who can access application memory can already own you but there isn't really a good reason why they should be able to access secrets that you never accessed while they were in.

I wouldn't say it's an alarming flaw, just seems weirdly and unnecessarily unsafe

16
lemmy.zip

At some point they will need to be decrypted anyway

I think this was done for performance and simplicity

2

Yep, and at that point they will be in memory until a reasonable time to clean up. But decrypting the whole password database and leaving it there forever seems needlessly unsafe.

2

TIL: If you cat /proc/sys/kernel/yama/ptrace_scope on your linux distro:

  • 0: All processes with same UID can read each other's memory
  • 1: Restricted (Only parents can read children)
  • 2: Admin only (Requires sudo).

Most distros have this set to 1 by default.

More details: man 2 ptrace, search using /: scope

5

You reached the end

Edge may reportedly leak all your passwords easily and Microsoft says it's "by design" | Spyke