> While in theory, this adds at least some small layer of protection, I have doubts that it adds anything meaningful to stop a smart attacker.
You’re not wrong, but for most of us the threat of a simple credential stealer is a million times more likely than being targeted by a dedicated, intelligent hacker.
In the most common compromise scenario, the attack comes along with some widely distributed software and is going for quantity of keys compromised via automated scripts, not precision extraction of one person’s keys through interactive exploration of their computer.
Adjust your security model if you’re in an important position at a big company or some other high value target.
For most of us, though, anything that defeats a common credential stealer is highly valuable.