diff --git a/qvm-tools/qvm-backup b/qvm-tools/qvm-backup index 108875eb..334f70fb 100755 --- a/qvm-tools/qvm-backup +++ b/qvm-tools/qvm-backup @@ -102,6 +102,10 @@ def main(): exit (0) passphrase = getpass.getpass("Please enter the pass phrase that will be used to encrypt/verify the backup: ") + passphrase2 = getpass.getpass("Enter again for verification: ") + if passphrase != passphrase2: + print >>sys.stderr, "ERROR: Password mismatch" + exit(1) try: backup_do(base_backup_dir, files_to_backup, passphrase,