Update the Key model's sign_file method to raise the NeedPassphrase exception when GPG has no terminal available and not just when the GPG backend specifically asks for a passphrase. Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
4.5 KiB
4.5 KiB