- 
                Notifications
    
You must be signed in to change notification settings  - Fork 10
 
Open
Description
Describe the bug
If the environment variable, ANSIBLE_VAULT_PASSWORD_FILE is defined, encryption will fail with the following exception:
ERROR! Unexpected Exception, this is probably a bug: 'tuple' object has no attribute 'append'
To Reproduce
Steps to reproduce the behavior:
- Set and export 
ANSIBLE_VAULT_PASSWORD_FILE; - Start 
atom - Configure 
ansible-vaultpackage as follows:- Set Ansible Vault absolute path
 - Enable automatic de- and encrypt: false
 - User vault password file defined in ansible.cfg: false
 - Use specific vault password file: true
 - Vault password file path: path to password file, e.g. /home/grady/.ansible-vault
 
 - Open a file that has been encrypted using 
ansible-vault - Decrypt by pressing Ctrl-Alt-0; file is decrypted correctly
 - Encrypt the file by pressing Ctrl-Alt-0; file is not encrypted and an error is thrown:
 
ERROR! Unexpected Exception, this is probably a bug: 'tuple' object has no attribute 'append'
Expected behavior
Expected the file to be re-encrypted.
Note that the package throws the same error if automatic decrypt/encrypt is enabled and the file is closed.
Desktop:
- Atom version 1.44.0
 - Ansible version 2.8.1
 - OS: Ubuntu 18.04.4 LTS
 
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels