[PATCH consfigurator v3 2/8] refactor use of gnupg in consfigurator.data.pgp
Sean Whitton
spwhitton at spwhitton.name
Mon Mar 14 21:20:08 GMT 2022
Hello,
On Sun 13 Mar 2022 at 11:40AM -03, David Bremner wrote:
> diff --git a/src/data.lisp b/src/data.lisp
> index 307d0c1..0b55001 100644
> --- a/src/data.lisp
> +++ b/src/data.lisp
> @@ -505,3 +505,8 @@ chance of those passwords showing up in the clear in the Lisp debugger."
> (print-unreadable-object (passphrase stream)
> (format stream "PASSPHRASE")))
> passphrase)
> +
> +(defparameter *data-source-gnupghome* nil
> + "Home directory for gnupg when used in a data source. Because gnupg uses
> + Unix domain sockets internally, this path should be short enough to avoid
> + the 108 char limit on socket paths.")
As the user might want to SETQ this globally, I think it should be a
DEFVAR not a DEFPARAMETER. Let me know if you disagree.
--
Sean Whitton
More information about the sgo-software-discuss
mailing list