[Gpg4win-devel] Controlling gpg-agent under MS Windows 7

Werner Koch wk at gnupg.org
Fri Mar 14 10:13:28 CET 2014


On Thu, 13 Mar 2014 20:13, pvoigt at uos.de said:
> Under Linux:
>
> gpg-connect-agent /bye
> gpgconf --kill gpg-agent

But only with 2.1.

> 1.) Is option --kill really not implemented or am I doing something
>     wrong?

Only avaialable with gnupg 2.1.

> 2.) Is there any other way besides killing the task with the
>     task manager to properly kill gpg-agent under Windows?

  gpg-connect-agent killagent /bye

that is actullay what we are doing during uninstall:

  ifFileExists "$INSTDIR\gpg-connect-agent.exe" 0 no_u_gpg_connect_agent
    ifFileExists "$INSTDIR\libgpg-error-0.dll" 0 no_u_gpg_connect_agent
      ifFileExists "$INSTDIR\libw32pth-0.dll" 0 no_u_gpg_connect_agent
        ExecWait '"$INSTDIR\gpg-connect-agent.exe" killagent /bye'



Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.



More information about the Gpg4win-devel mailing list