Strange situation here: I changed my GPG password some time ago but when using script to encrypt/decrypt folder, I have to enter my old password to decrypt files.
- I changed password to my GPG key (gpg passwd )
- Seahorse will accept only new password
- When I encrypt file with
gpg -ea -r email@example.com file(or with main-key-id), than I'm able to decrypt it with new password
The trouble is, that when I use the command
gpg --trust-model always --batch --yes -ea -r <pub-key-ID> <file.txt> in the script, I cannot decrypt file with my new password. Only my old password works.
I'm completely baffled. What could be the problem?