Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added re-signing of existing signed files.
When editing an existing file, check if the source file was signed, and if so, enable signing when we save it. When writing out a file, moved the "should we sign" check so that it always happens. When saving an existing file, b:GPGOptions exists already, so g:GPGPreferSign was not being checked previously. This partially addresses jamessan#34 If we wanted to support selecting between different private keys to sign with, then checking _which_ key had signed a file and looking for a corresponding private key in our keyring could be done in the --list-packets check. But that is another future issue & PR.
- Loading branch information