Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
  • v1.8.3
21 results

ipavault.py

  • Rafael Guterres Jeffman's avatar
    7e04a46f
    Fix changing the type of an existing Vault. · 7e04a46f
    Rafael Guterres Jeffman authored
    Current implementation does not allow the change of an existingi Vault
    type. To allow it, data is retrieved from the current vault, the vault
    is modifiend, and then, data is stored again in the new vault.
    
    Due to changing the process of modifying a vault, this change also
    fixes the update of asymmetric vault keys. To change the key used,
    the task must provide the old private key, used to retrieve data,
    and the new public_key, used to store the data again. A new alias
    was added to public_key (new_public_key) and public_key_file
    (new_public_key_file) so that the playbook better express the
    intention of the tak.
    
    Vault tests have been updated to better test against the new update
    process, and a new test file has bee added:
    
        tests/vault/test_vault_change_type.
    7e04a46f
    History
    Fix changing the type of an existing Vault.
    Rafael Guterres Jeffman authored
    Current implementation does not allow the change of an existingi Vault
    type. To allow it, data is retrieved from the current vault, the vault
    is modifiend, and then, data is stored again in the new vault.
    
    Due to changing the process of modifying a vault, this change also
    fixes the update of asymmetric vault keys. To change the key used,
    the task must provide the old private key, used to retrieve data,
    and the new public_key, used to store the data again. A new alias
    was added to public_key (new_public_key) and public_key_file
    (new_public_key_file) so that the playbook better express the
    intention of the tak.
    
    Vault tests have been updated to better test against the new update
    process, and a new test file has bee added:
    
        tests/vault/test_vault_change_type.