Dear GnuPG developers, dear Werner. Thus spoke Werner Koch: > Regarding OpenSSH support on Windows please checkout [the last comment > on] https://dev.gnupg.org/T3883 > > [...] > > I forgot to mention that you start gpg-agent and thus ssh support > using > > gpgconf --launch gpg-agent > > or just use "gpg -K" which launches the gpg-agent as a side-effect.
I have since resolved my underlying problem (spawning gpg-agent with OpenSSH emulation support) directly; it turned out to be user error. I have multiple copies of GnuPG (via MSYS, via Git, via gpg4win) installed, at different versions and with different home directories, and apparently, I was using one of the outdated copies that did not yet implement OpenSSH emulation. Using the current GnuPG 2.4.8 from gpg4win manually while double-checking that the correct binaries and the correct home directory is used, I can successfully launch `gpg-agent` with OpenSSH emulation by putting `enable-win32-openssh-support` manually into the `gpg-agent.conf` file, then calling `gpg-connect-agent /bye`. That said, regarding your reply: I was specifically asking for the correct, documented way to pass command-line arguments to the invocation of `gpg-agent`, because I wanted to debug whether I was launching `gpg-agent` correctly. The manual page for `gpg-agent` (Section 2.2 "Option Summary") seemed to suggest that it is possible to put options "on the command line" (which I could not get to work) "or, after stripping off the two leading dashes, in the configuration file" (which ultimately worked for me, after sorting out the confusion concerning the multiple versions and home directories). Thus, my question. I have encountered further... quirks concerning `gpg-agent` and `gpgconf`, but those probably make more sense to report in your issue tracker, not this mailing list. Cheers, Marco
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel
