* EasyPG not prompting for password, hence getting error
@ 2019-11-04 10:40 Pankaj Jangid
0 siblings, 0 replies; only message in thread
From: Pankaj Jangid @ 2019-11-04 10:40 UTC (permalink / raw)
To: Emacs mailing list
When I am trying to write a .gpg encrypted file, EasyPG gets it that it
has to be encrypted. But it is not prompting for any password. Just
throwing this error:
Debugger entered--Lisp error: (file-error "Opening output file" "Encrypt failed" "Exit")
signal(file-error ("Opening output file" "Encrypt failed" "Exit"))
epa-file-write-region(nil nil "/Users/pankaj/.authinfo.gpg" nil t "~/.authinfo.gpg" nil)
apply(epa-file-write-region (nil nil "/Users/pankaj/.authinfo.gpg" nil t "~/.authinfo.gpg" nil))
epa-file-handler(write-region nil nil "/Users/pankaj/.authinfo.gpg" nil t "~/.authinfo.gpg" nil)
write-region(nil nil "/Users/pankaj/.authinfo.gpg" nil t "~/.authinfo.gpg")
basic-save-buffer-2()
basic-save-buffer-1()
basic-save-buffer(t)
save-buffer(1)
funcall-interactively(save-buffer 1)
call-interactively(save-buffer nil nil)
command-execute(save-buffer)
I have tried suggestions around
epa-file-cache-passphrase-for-symmetric-encryption and
"default-cache-ttl 0" in ~/.gpg-agent.conf but none of them worked.
In the *Error* buffer, I am getting this:
Error while encrypting with "/usr/local/bin/gpg":
Warning: Failed to set locale category LC_NUMERIC to en_IN.UTF-8.
Warning: Failed to set locale category LC_TIME to en_IN.UTF-8.
Warning: Failed to set locale category LC_COLLATE to en_IN.UTF-8.
Warning: Failed to set locale category LC_MONETARY to en_IN.UTF-8.
Warning: Failed to set locale category LC_MESSAGES to en_IN.UTF-8.
gpg: problem with the agent: Inappropriate ioctl for device
gpg: error creating passphrase: Operation cancelled
gpg: symmetric encryption of '[stdin]' failed: Operation cancelled
How can I tell EasyPG to prompt for passphrase?
Regards,
--
Pankaj Jangid
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-11-04 10:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-04 10:40 EasyPG not prompting for password, hence getting error Pankaj Jangid
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.