zellio / ansible-vault-mode

Minor mode for manipulating ansible-vault files
GNU General Public License v3.0
24 stars 13 forks source link

Configured ids in ansible-vault-vault-id-list get removed on buffer kills #29

Open hjudt opened 2 years ago

hjudt commented 2 years ago

When an ansible-vault-mode buffer gets killed, the vault-id in ansible-vault-vault-id-list gets removed when a buffer gets killed. Next time one opens the same file, ansible-vault-mode prompts for a vault password. I think removing the vault-id from this list should - if ever? - only happen for temporary password files.

ErwinBaeyens commented 1 year ago

After applying this patch to all the versions of the file ansible-vault.el and removinb all backup files. I get the error after opening and closing 2 encrypted files and then it occurs when trying to decrypt a third file.