Daniel Perelman
aff8599cf0
Remove broken shellredir.
5 лет назад
Daniel Perelman
ed4b775eca
Capture errors/warnings from openssl and avoid clobbering @" register.
5 лет назад
Daniel Perelman
98fe9084d7
Support decrypting with empty password.
5 лет назад
Daniel Perelman
23f552ddc2
If decryption fails, ask for password again until a blank password is given.
5 лет назад
Daniel Perelman
05e5e7bb20
Fix typo.
5 лет назад
Daniel Perelman
2a8aa6f7d0
Copy *.auth.*,logins.* settings from old openssl.vim.
5 лет назад
Daniel Perelman
3b7a8d011a
Normalize formatting to 4 space tabs to match existing code.
5 лет назад
Daniel Perelman
36d5bd0d93
Don't show error on trying to backup new file.
5 лет назад
Daniel Perelman
4da5df53ba
Only ask for encryption password once if it's the same as the decryption password.
5 лет назад
Daniel Perelman
b3603bfaac
Fix resetting options and undo on loading files.
5 лет назад
Daniel Perelman
ea52e95303
Filter out repeated code into function calls.
5 лет назад
Daniel Perelman
d77938a5bf
Try lots of different decryption options before giving up on decryption.
5 лет назад
Daniel Perelman
2687a5f504
Add separate l:opts variable to make it easier to try different options.
5 лет назад
Daniel Perelman
3c7cb9d08f
Fix OpenSSl error case as well and clean up variables in error case.
5 лет назад
Daniel Perelman
f50822cf64
Fix saving unencrypted file if passwords don't match.
5 лет назад
Daniel Perelman
d312d0712a
Don't write OpenSSL warning into files, breaking them.
5 лет назад
Daniel Perelman
826ec7ce16
Re-enable backups.
5 лет назад
François Charlier
07cad7a731
V3.3~fc1 Password safe as .auth.aes or .auth.bfa
11 лет назад
François Charlier
d4035e23df
Import version 3.3
11 лет назад
Noah Spurrier
b406bd9ec0
Version 3.2
...
I added a feature to make a backup of an encrypted file before writing changes. This helps guard against the situation where you may edit a file and write changes with the wrong password. You can still go back to the previous backup version. The backup file will have the same name as the original file with .bak before the original extension. For example:
.auth.bfa --> .auth.bak.bfa
To turn on backups put the following global definition in your .vimrc file:
let g:openssl_backup = 1
14 лет назад
Noah Spurrier
329c8a7750
Version 3.0: Initial upload
14 лет назад