Daniel Perelman
aff8599cf0
Remove broken shellredir.
1 year ago
Daniel Perelman
ed4b775eca
Capture errors/warnings from openssl and avoid clobbering @" register.
1 year ago
Daniel Perelman
98fe9084d7
Support decrypting with empty password.
1 year ago
Daniel Perelman
23f552ddc2
If decryption fails, ask for password again until a blank password is given.
1 year ago
Daniel Perelman
05e5e7bb20
Fix typo.
1 year ago
Daniel Perelman
2a8aa6f7d0
Copy *.auth.*,logins.* settings from old openssl.vim.
1 year ago
Daniel Perelman
3b7a8d011a
Normalize formatting to 4 space tabs to match existing code.
1 year ago
Daniel Perelman
36d5bd0d93
Don't show error on trying to backup new file.
1 year ago
Daniel Perelman
4da5df53ba
Only ask for encryption password once if it's the same as the decryption password.
1 year ago
Daniel Perelman
b3603bfaac
Fix resetting options and undo on loading files.
1 year ago
Daniel Perelman
ea52e95303
Filter out repeated code into function calls.
1 year ago
Daniel Perelman
d77938a5bf
Try lots of different decryption options before giving up on decryption.
1 year ago
Daniel Perelman
2687a5f504
Add separate l:opts variable to make it easier to try different options.
1 year ago
Daniel Perelman
3c7cb9d08f
Fix OpenSSl error case as well and clean up variables in error case.
1 year ago
Daniel Perelman
f50822cf64
Fix saving unencrypted file if passwords don't match.
1 year ago
Daniel Perelman
d312d0712a
Don't write OpenSSL warning into files, breaking them.
1 year ago
Daniel Perelman
826ec7ce16
Re-enable backups.
1 year ago
François Charlier
07cad7a731
V3.3~fc1 Password safe as .auth.aes or .auth.bfa
7 years ago
François Charlier
d4035e23df
Import version 3.3
7 years ago
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
12 years ago
Noah Spurrier
329c8a7750
Version 3.0: Initial upload
13 years ago