Even better, put the passphrase into your keyring (which is password-protected with your login password by default on most DEs) and set your keyring as the default askpass provider
Or the most secure of all, use a physical passkey/smartcard like a Yubikey or Nitrokey
You use ssh-agent and ssh-add to take the passphrase hit once, then on disk copy is protected and it is mostly password less.
Mine unlocks with PAM, so on login without additional step.
Interesting… I will add that to my TODO list.
Even better, put the passphrase into your keyring (which is password-protected with your login password by default on most DEs) and set your keyring as the default askpass provider
Or the most secure of all, use a physical passkey/smartcard like a Yubikey or Nitrokey