On Sun,  8 Jun 2025 12:57, Michael Richardson said:

> Well, that didn't quite work.  I had to re-install desktop last monday due to
> a stupid, and I have problems with multiple gpg-agents; probably gets solved
> if I finally do that first reboot now that everything is installed.

That is likley a systemd thing.  Snippet from the latest README:

  If your systems already comes with a systemd enabled GnuPG, you
  should thus tell it not to start its own GnuPG daemons by running
  the following three commands once:

    systemctl --user mask --now gpg-agent.service \
              gpg-agent.socket gpg-agent-ssh.socket \
              gpg-agent-extra.socket gpg-agent-browser.socket
    systemctl --user mask --now dirmngr.service dirmngr.socket
    systemctl --user mask --now keyboxd.service keyboxd.socket

  This way all GnuPG components can handle the startup of their
  daemons on their own and start the correct version.

If you want to run gpg-preset-passphrase you can do:

  mylibexedir="$(gpgconf -L libexecdir)"
  $mylibexecdir/gpg-preset-passphrase

It has been installed in libexec because you would not normaly run it
directly.  Changning this to bin now would be too troublesome.

If you really want to use a simple getline() passed prompt, it would be
better to write an external program.  After all you need to do the same
thing as all the pinentry versions do.  There is even a pinentry-tty
available.


Salam-Shalom,

   Werner

-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

Attachment: openpgp-digital-signature.asc
Description: PGP signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
https://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to