diff options
author | David Bremner <david@tethera.net> | 2023-09-10 22:00:56 -0300 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-09-13 11:00:34 +0100 |
commit | 4754d0463140db294f3188b3ec7a6c0945e91b51 (patch) | |
tree | 859b5bd5b600529cda8853c01b8edd7ae9b6a39a /src/property | |
parent | 0b694bfd8cbb71e64fd852f961aa893f2939e8da (diff) | |
download | consfigurator-4754d0463140db294f3188b3ec7a6c0945e91b51.tar.gz |
GNUPG:SECRET-KEY-IMPORTED: call gpg with --batch
Without these arguments, gpg will fail with a message about
inappropriate ioctl for device.
This is similar to the issue discussed at <https://dev.gnupg.org/T5885>.
Add the --batch argument to keep gpg from trying to interact with the
tty. According to the docs --no-tty is only about restricting output.
Signed-off-by: David Bremner <david@tethera.net>
Diffstat (limited to 'src/property')
-rw-r--r-- | src/property/gnupg.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/gnupg.lisp b/src/property/gnupg.lisp index 428c794..6fb8ddd 100644 --- a/src/property/gnupg.lisp +++ b/src/property/gnupg.lisp @@ -63,4 +63,4 @@ integer." (declare (ignore err)) (and (zerop exit) (re:scan #?/^sec\s/ out)))) (:apply (mrun :input (get-data-stream "--pgp-seckey" fingerprint) - "gpg" "--import"))) + "gpg" "--batch" "--no-tty" "--import"))) |