Make the filename the first argument to rekey_file

This commit is contained in:
Abhijit Menon-Sen 2015-08-26 19:54:59 +05:30
commit b84053019a
3 changed files with 3 additions and 3 deletions

View file

@ -128,6 +128,6 @@ class VaultCLI(CLI):
__, new_password = self.ask_vault_passwords(ask_vault_pass=False, ask_new_vault_pass=True, confirm_new=True)
for f in self.args:
self.editor.rekey_file(new_password, f)
self.editor.rekey_file(f, new_password)
self.display.display("Rekey successful", stderr=True)