I have been using pass for to store my passwords via GPG. I am trying to change an old username to a new username in dozens of accounts all at once.
Each username is in a "Username:" comment under the password. i.e. a gpg encrypted file ~/.password-store/amazon
is like the following:
password123
Username: [email protected]
URL: amazon.com
OTP: ...
I can't just replace all occurrences of the old username, because sometimes the username appears in other comments. One such example is in OTP codes. This seems like a relatively simple problem, I just don't want to run the risk of clobbering all occurrences of the old username.