<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I would like to run my development version of GPG-agent under
      valgrind. As I understand it, for that purpose I have to run it in
      the foreground, i.e. in server mode. However, whenever I launch it
      as</p>
    <p><tt>./bin/gpg-agent --homedir <my-gpg-home-dir>  --log-file
        agent.log --server --debug-all</tt></p>
    <p>then, when I launch a private key operation via the gpg
      application, a new agent is started (in daemon mode) and used by
      gpg and I find no way to get the agent launched in server mode to
      ever process anything.<br>
    </p>
    <p>In contrast, if I start it with the same command line, except for
      using daemon mode, i.e.,<br>
    </p>
    <p><tt>./bin/gpg-agent --homedir <my-gpg-home-dir>  --log-file
        agent.log --daemon --debug-all</tt></p>
    <p>then the gpg application always connects to it like expected.<br>
    </p>
    <p>Any ideas how I can launch the agent in the foreground so that
      the gpg application will connect to it?</p>
    <p>- Falko<br>
    </p>
    <div class="moz-signature">-- <br>
      <!-- MTG AG HTML signature v.1.0, 2021-02-12 - Author: Andreas Cholet -->
      <p style="line-height: 1.5;"><font face="Arial"><span
            style="font-size: small; color: rgb(93, 93, 95);">
            <strong>MTG AG</strong><br>
            Dr. Falko Strenzke<br>
            Executive System Architect<br>
            <!--up to here--> </span></font></p>
      <font face="Arial">
        <p>
          <span style="font-size: small; color: rgb(93, 93, 95);">
            <!--personalize--><span
              style="display:inline-block;width:4em">Phone: </span>+49
            6151 8000 24<br>
            <!--personalize--><span
              style="display:inline-block;width:4em">E-Mail: </span><a class="moz-txt-link-abbreviated" href="mailto:falko.strenzke@mtg.de">falko.strenzke@mtg.de</a><br>
            <span style="display:inline-block;width:4em">Web: </span><a
              href="https://www.mtg.de" title="MTG AG Internet"
              target="_blank">mtg.de</a>
          </span></p>
        <a
href="https://www.linkedin.com/search/results/all/?fetchDeterministicClustersOnly=true&heroEntityKey=urn%3Ali%3Aorganization%3A13983133&keywords=mtg%20ag&origin=RICH_QUERY_SUGGESTION&position=0&searchId=d5bc71c3-97f7-4cae-83e7-e9e16d497dc2&sid=3S5&spellCorrectionEnabled=false"
          title="Follow us on LinkedIn" target="_blank"
          rel="“noreferrer" noopener"="">
          <img data-filename="Li-in-Bug.png"
            src="cid:part1.Zzj2SR0q.WOtZwU7R@mtg.de"
            style="width:50px; margin-left:1px" width="50"></a><br>
        <span
style="font-size: small; color: rgb(93, 93, 95); margin-left: 1px">Follow
          us</span>
        <hr
style="width:340px; text-align:left;margin-left:0; height: 0,1">
        <a
href="https://www.mtg.de/de/aktuelles/MTG-AG-erhaelt-Innovationspreis-des-Bundesverbands-IT-Sicherheit-e.V-00001.-TeleTrust/"
          title="TeleTrusT Innovationspreis 2023" target="_blank"
          rel="“noreferrer" noopener"="">
          <img data-filename="Logo_Teletrust_innovationspreis_cut.jpg"
            src="cid:part2.uxQ9Qm13.n60Dhqmn@mtg.de"
            style="width:210px; margin-left: 0px" width="210"></a>
        <a href="https://www.itsa365.de/de-de/companies/m/mtg-ag"
          title="Info it-sa 2024" target="_blank" rel="“noreferrer"
          noopener"="">
          <img data-filename="itsa.png"
            src="cid:part3.Ln6Yg0Gr.0N7Y9OMA@mtg.de"
            style="width:115px; margin-left: 15px" width="115"></a><br>
        <font face="Arial"> </font>
        <p style="line-height: 1.2;"><font face="Arial">
            <span style="font-size: x-small; color: rgb(93, 93, 95);">
              MTG AG - Dolivostr. 11 - 64293 Darmstadt, Germany<br>
              Commercial register: HRB 8901<br>
              Register Court: Amtsgericht Darmstadt<br>
              Management Board: Jürgen Ruf (CEO), Tamer Kemeröz<br>
              Chairman of the Supervisory Board: Dr. Thomas Milde<br>
              <br>
              This email may contain confidential and/or privileged
              information.
              If you are not the correct recipient or have received this
              email in error,
              <br>
              please inform the sender immediately and delete this
              email.Unauthorised copying or distribution of this email
              is not permitted.<br>
              <br>
              Data protection information: <a
                href="https://www.mtg.de/en/privacy-policy"
                title="MTG Privacy policy" target="_blank">Privacy
                policy</a>
            </span></font></p>
      </font></div>
  </body>
</html>