Menu

#1 No pinentry error

2.1.3
closed
nobody
None
2015-05-10
2014-12-21
Paul
No

I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
The error is below:
"We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
gpg: agent_genkey failed: No pinentry
Key generation failed: No pin entry"

Any ideas?

Thanks,
Paul

Related

Bugs: #1

Discussion

  • Patrick Brunschwig

    This works for me. What is the contents of your ~/.gpg-agent.conf file?

     
    • Paul

      Paul - 2014-12-22

      Hmm, I deleted it and re-installed.
      Still no MacGPG2 folder in /usr/local
      Strange.

      On Dec 22, 2014, at 2:22 AM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

      This works for me. What is the contents of your ~/.gpg-agent.conf file?

      [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

      Status: open
      Milestone: 2.0
      Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
      Last Updated: Sun Dec 21, 2014 11:37 PM UTC
      Owner: nobody

      I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
      The error is below:
      "We need to generate a lot of random bytes. It is a good idea to perform
      some other action (type on the keyboard, move the mouse, utilize the
      disks) during the prime generation; this gives the random number
      generator a better chance to gain enough entropy.
      gpg: agent_genkey failed: No pinentry
      Key generation failed: No pin entry"

      Any ideas?

      Thanks,
      Paul

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gpgosx/bugs/1/ https://sourceforge.net/p/gpgosx/bugs/1
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions

       

      Related

      Bugs: #1

    • Paul

      Paul - 2014-12-22

      pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac
      default-cache-ttl 600
      max-cache-ttl 7200

      I checked and I don’t even have a MacGPG2 folder, so I’m seeing my problem :)
      Let me delete the gnupg-2.1 folder I see and re-install your program.

      On Dec 22, 2014, at 2:22 AM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

      This works for me. What is the contents of your ~/.gpg-agent.conf file?

      [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

      Status: open
      Milestone: 2.0
      Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
      Last Updated: Sun Dec 21, 2014 11:37 PM UTC
      Owner: nobody

      I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
      The error is below:
      "We need to generate a lot of random bytes. It is a good idea to perform
      some other action (type on the keyboard, move the mouse, utilize the
      disks) during the prime generation; this gives the random number
      generator a better chance to gain enough entropy.
      gpg: agent_genkey failed: No pinentry
      Key generation failed: No pin entry"

      Any ideas?

      Thanks,
      Paul

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gpgosx/bugs/1/ https://sourceforge.net/p/gpgosx/bugs/1
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions

       

      Related

      Bugs: #1

      • Patrick Brunschwig

        That won't help. You'll have to delete the "pinentry-program" line in your gpg-agent.conf file. gpg-agent will find pinentry automatically.

         
        • Paul

          Paul - 2014-12-22

          Unfortunately that did not work. I removed the line got the same error. I even rebooted my computer and tried again. Same error.

          On Dec 22, 2014, at 12:12 PM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

          That won't help. You'll have to delete the "pinentry-program" line in your gpg-agent.conf file. gpg-agent will find pinentry automatically.

          [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

          Status: open
          Milestone: 2.0
          Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
          Last Updated: Mon Dec 22, 2014 05:08 PM UTC
          Owner: nobody

          I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
          The error is below:
          "We need to generate a lot of random bytes. It is a good idea to perform
          some other action (type on the keyboard, move the mouse, utilize the
          disks) during the prime generation; this gives the random number
          generator a better chance to gain enough entropy.
          gpg: agent_genkey failed: No pinentry
          Key generation failed: No pin entry"

          Any ideas?

          Thanks,
          Paul

          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gpgosx/bugs/1/ https://sourceforge.net/p/gpgosx/bugs/1
          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions

           

          Related

          Bugs: #1

  • Patrick Brunschwig

    That's no surprise. You're no installing MacGPG2.

    GPGOSX is installed in /usr/local/gnupg-2.1

     
  • Patrick Brunschwig

    Can you please post your complete gpg.conf and gpg-agent.conf files?

     
  • Patrick Brunschwig

    2 questions:
    Which version of Mac OS X do you use?
    Can you try this command and send me the output:

    gpg2 --debug-level advanced --expert --full-gen-key
    
     
    • Paul

      Paul - 2014-12-23

      I’m running OS X 10.10.1 (14B25)
      Below is the output.

      We need to generate a lot of random bytes. It is a good idea to perform
      some other action (type on the keyboard, move the mouse, utilize the
      disks) during the prime generation; this gives the random number
      generator a better chance to gain enough entropy.
      gpg: DBG: chan_4 <- OK Pleased to meet you
      gpg: DBG: connection to agent established
      gpg: DBG: chan_4 -> RESET
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> OPTION ttyname=/dev/ttys000
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> OPTION ttytype=xterm-256color
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> OPTION lc-ctype=en_US.UTF-8
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> OPTION lc-messages=en_US.UTF-8
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> OPTION allow-pinentry-notify
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> OPTION agent-awareness=2.1.0
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> AGENT_ID
      gpg: DBG: chan_4 <- ERR 67109139 Unknown IPC command <GPG Agent="">
      gpg: DBG: chan_4 -> RESET
      gpg: DBG: chan_4 <- OK
      gpg: DBG: chan_4 -> GENKEY
      gpg: DBG: chan_4 <- S INQUIRE_MAXLEN 1024
      gpg: DBG: chan_4 <- INQUIRE KEYPARAM
      gpg: DBG: chan_4 -> D (genkey(ecc(curve 15:brainpoolP512r1)(flags nocomp)))
      gpg: DBG: chan_4 -> END
      gpg: DBG: chan_4 <- ERR 67108949 No pinentry <GPG Agent="">
      gpg: agent_genkey failed: No pinentry
      Key generation failed: No pinentry
      gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
      outmix=0 getlvl1=0/0 getlvl2=0/0
      gpg: secmem usage: 1344/32768 bytes in 2 blocks
      Selma5:~ thor$

      On Dec 23, 2014, at 12:12 PM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

      2 questions:
      Which version of Mac OS X do you use?
      Can you try this command and send me the output:

      gpg2 --debug-level advanced --expert --full-gen-key
      [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

      Status: open
      GnuPG Version: 2.0
      Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
      Last Updated: Tue Dec 23, 2014 04:58 PM UTC
      Owner: nobody

      I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
      The error is below:
      "We need to generate a lot of random bytes. It is a good idea to perform
      some other action (type on the keyboard, move the mouse, utilize the
      disks) during the prime generation; this gives the random number
      generator a better chance to gain enough entropy.
      gpg: agent_genkey failed: No pinentry
      Key generation failed: No pin entry"

      Any ideas?

      Thanks,
      Paul

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gpgosx/bugs/1/ https://sourceforge.net/p/gpgosx/bugs/1
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions

       

      Related

      Bugs: #1

      • Patrick Brunschwig

        That's really strange. I wonder if the correct gpg-agent is started. I
        get the impression that the started gpg-agent is not the one that comes
        with GnuPG 2.1.

        Can you send me the output of:

        lsof | grep gpg-agent

         
        • Paul

          Paul - 2014-12-24

          It returned nothing.

          On Dec 24, 2014, at 3:33 AM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

          That's really strange. I wonder if the correct gpg-agent is started. I
          get the impression that the started gpg-agent is not the one that comes
          with GnuPG 2.1.

          Can you send me the output of:

          lsof | grep gpg-agent

          [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

          Status: open
          GnuPG Version: 2.0
          Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
          Last Updated: Tue Dec 23, 2014 05:12 PM UTC
          Owner: nobody

          I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
          The error is below:
          "We need to generate a lot of random bytes. It is a good idea to perform
          some other action (type on the keyboard, move the mouse, utilize the
          disks) during the prime generation; this gives the random number
          generator a better chance to gain enough entropy.
          gpg: agent_genkey failed: No pinentry
          Key generation failed: No pin entry"

          Any ideas?

          Thanks,
          Paul

          Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gpgosx/bugs/1/ https://sourceforge.net/p/gpgosx/bugs/1
          To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions

           

          Related

          Bugs: #1

          • Patrick Brunschwig

            -----BEGIN PGP SIGNED MESSAGE-----
            Hash: SHA256

            Could you please first try "gpg2 --expert --full-gen-key" (even if it
            fails) and the retry the lsof command?

            -----BEGIN PGP SIGNATURE-----
            Version: GnuPG v2

            iQEcBAEBCAAGBQJUmukRAAoJEMk25cDiHiw+qw8H/jzmJX14W9a2Mg/mcCPwI+ak
            YIgU8leOJgbydfWD3AsUSiK+8hrM3YrKpmB8ohCRsT05hhy1pKmhjlSYjB90EenI
            hBQsB+3kv9pJ8oB4WMA/G0121yifnK4lbgOkmwu7t1oN94qtRjzK8GUb2nrt0wKg
            XUwLacZe6fXlpL/BTZVj4+OQu1dNuW9PXBZ3BKu+RKoPN9IV2IYp8ICk8M6tvw9J
            OrXshn70IpOeWmVr6vusfLaS5jJmra+NK0IeBEAhkm9ghRsqrjJhWmRxqwU17qwO
            CeNIcBSFixuq8v/YC20MQAAf3eYL6RPkDVyoBCO6jR5HeocTE2q7uK8zHnVLmQE=
            =k4k1
            -----END PGP SIGNATURE-----

             
            • Paul

              Paul - 2014-12-24

              Selma5:~ thor$ lsof | grep gpg-agent
              gpg-agent 1222 thor cwd DIR 1,4 1360 2 /
              gpg-agent 1222 thor txt REG 1,4 388612 21975839 /usr/local/bin/gpg-agent
              gpg-agent 1222 thor txt REG 1,4 758768 21970647 /usr/local/lib/libgcrypt.20.dylib
              gpg-agent 1222 thor txt REG 1,4 88176 21968686 /usr/local/lib/libgpg-error.0.dylib
              gpg-agent 1222 thor txt REG 1,4 82260 21972361 /usr/local/lib/libassuan.0.dylib
              gpg-agent 1222 thor txt REG 1,4 20940 21967769 /usr/local/lib/libnpth.0.dylib
              gpg-agent 1222 thor txt REG 1,4 622896 12465331 /usr/lib/dyld
              gpg-agent 1222 thor txt REG 1,4 380137603 21598359 /private/var/db/dyld/dyld_shared_cache_x86_64h
              gpg-agent 1222 thor 0r CHR 3,2 0t0 303 /dev/null
              gpg-agent 1222 thor 1w CHR 3,2 0t0 303 /dev/null
              gpg-agent 1222 thor 2w CHR 3,2 0t209 303 /dev/null
              gpg-agent 1222 thor 3r PSXSEM 0t0 /npth-sceptre-1221-0
              gpg-agent 1222 thor 4u unix 0x68e804963d842939 0t0 /Users/thor/.gnupg/S.gpg-agent
              Selma5:~ thor$

              On Dec 24, 2014, at 11:26 AM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

              -----BEGIN PGP SIGNED MESSAGE-----
              Hash: SHA256

              Could you please first try "gpg2 --expert --full-gen-key" (even if it
              fails) and the retry the lsof command?

              -----BEGIN PGP SIGNATURE-----
              Version: GnuPG v2

              iQEcBAEBCAAGBQJUmukRAAoJEMk25cDiHiw+qw8H/jzmJX14W9a2Mg/mcCPwI+ak
              YIgU8leOJgbydfWD3AsUSiK+8hrM3YrKpmB8ohCRsT05hhy1pKmhjlSYjB90EenI
              hBQsB+3kv9pJ8oB4WMA/G0121yifnK4lbgOkmwu7t1oN94qtRjzK8GUb2nrt0wKg
              XUwLacZe6fXlpL/BTZVj4+OQu1dNuW9PXBZ3BKu+RKoPN9IV2IYp8ICk8M6tvw9J
              OrXshn70IpOeWmVr6vusfLaS5jJmra+NK0IeBEAhkm9ghRsqrjJhWmRxqwU17qwO
              CeNIcBSFixuq8v/YC20MQAAf3eYL6RPkDVyoBCO6jR5HeocTE2q7uK8zHnVLmQE=
              =k4k1
              -----END PGP SIGNATURE-----

              [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

              Status: open
              GnuPG Version: 2.0
              Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
              Last Updated: Tue Dec 23, 2014 05:12 PM UTC
              Owner: nobody

              I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
              The error is below:
              "We need to generate a lot of random bytes. It is a good idea to perform
              some other action (type on the keyboard, move the mouse, utilize the
              disks) during the prime generation; this gives the random number
              generator a better chance to gain enough entropy.
              gpg: agent_genkey failed: No pinentry
              Key generation failed: No pin entry"

              Any ideas?

              Thanks,
              Paul

              Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gpgosx/bugs/1/ https://sourceforge.net/p/gpgosx/bugs/1
              To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions

               

              Related

              Bugs: #1

              • Patrick Brunschwig

                Finally! It's what I suspected -- that's the wrong gpg-agent.

                GnuPG 2.1 requires its own gpg-agent, the one in /usr/local/bin must
                be from some old installation. Do you remember which version of
                MacGPG2 you had installed before?

                I'd suggest you
                1. killall gpg-agent
                2. delete all gpg* files in /usr/local/bin except for gpg2 and gpgsm

                Then retry.

                 
                • Paul

                  Paul - 2014-12-24

                  Now I get this error.
                  gpg: failed to start agent '/usr/local/bin/gpg-agent': No such file or
                  directory
                  gpg: can't connect to the agent: No such file or directory
                  gpg: agent_genkey failed: No agent running
                  Key generation failed: No agent running
                  Selma5:~ thor$

                  On Wed, Dec 24, 2014 at 11:32 AM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

                  Finally! It's what I suspected -- that's the wrong gpg-agent.

                  GnuPG 2.1 requires its own gpg-agent, the one in /usr/local/bin must
                  be from some old installation. Do you remember which version of
                  MacGPG2 you had installed before?

                  I'd suggest you
                  1. killall gpg-agent
                  2. delete all gpg* files in /usr/local/bin except for gpg2 and gpgsm

                  Then retry.

                  Status: open
                  GnuPG Version: 2.0
                  Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
                  Last Updated: Tue Dec 23, 2014 05:12 PM UTC
                  Owner: nobody

                  I get an error when I try to make a new key using "gpg2 --expert
                  --full-gen-key"
                  The error is below:
                  "We need to generate a lot of random bytes. It is a good idea to perform
                  some other action (type on the keyboard, move the mouse, utilize the
                  disks) during the prime generation; this gives the random number
                  generator a better chance to gain enough entropy.
                  gpg: agent_genkey failed: No pinentry
                  Key generation failed: No pin entry"

                  Any ideas?

                  Thanks,
                  Paul


                  Sent from sourceforge.net because you indicated interest in
                  https://sourceforge.net/p/gpgosx/bugs/1/

                  To unsubscribe from further messages, please visit
                  https://sourceforge.net/auth/subscriptions/

                   

                  Related

                  Bugs: #1

  • Patrick Brunschwig

    I wonder what you did before or after installing gpgosx ...

    Please send me the output of the following 4 commands:

    type -p gpg2
    ls -l /usr/local/bin/gpg*
    env | grep GPG
    echo $PATH

     
    • Paul

      Paul - 2014-12-29

      Prior to installing gpgosx I tried to compile it from the source.
      I’m not sure what I messed up. Try not to waste too much time on it. I appreciate the help.
      I followed the README and downloaded the following and installed them, so tried to.
      "GnuPG 2.1 depends on the following GnuPG related packages:

      npth         (ftp://ftp.gnupg.org/gcrypt/npth/)
      libgpg-error (ftp://ftp.gnupg.org/gcrypt/libgpg-error/)
      libgcrypt    (ftp://ftp.gnupg.org/gcrypt/libgcrypt/)
      libksba      (ftp://ftp.gnupg.org/gcrypt/libksba/)
      libassuan    (ftp://ftp.gnupg.org/gcrypt/libassuan/)”
      

      Here is the output from the commands.
      Selma5:~ thor$ type -p gpg2
      /usr/local/bin/gpg2
      Selma5:~ thor$

      Selma5:~ thor$ ls -l /usr/local/bin/gpg*
      -rwxr-xr-x 1 root admin 883776 Dec 21 17:10 /usr/local/bin/gpg2
      -rwxr-xr-x 1 root admin 502460 Dec 21 17:10 /usr/local/bin/gpgsm
      Selma5:~ thor$

      Selma5:~ thor$ env | grep GPG
      Selma5:~ thor$

      Selma5:~ thor$ echo $PATH
      /usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
      Selma5:~ thor$

      On Dec 26, 2014, at 7:05 AM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

      I wonder what you did before or after installing gpgosx ...

      Please send me the output of the following 4 commands:

      type -p gpg2
      ls -l /usr/local/bin/gpg*
      env | grep GPG
      echo $PATH

      [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

      Status: open
      GnuPG Version: 2.0
      Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
      Last Updated: Tue Dec 23, 2014 05:12 PM UTC
      Owner: nobody

      I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
      The error is below:
      "We need to generate a lot of random bytes. It is a good idea to perform
      some other action (type on the keyboard, move the mouse, utilize the
      disks) during the prime generation; this gives the random number
      generator a better chance to gain enough entropy.
      gpg: agent_genkey failed: No pinentry
      Key generation failed: No pin entry"

      Any ideas?

      Thanks,
      Paul

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gpgosx/bugs/1/ https://sourceforge.net/p/gpgosx/bugs/1
      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/ https://sourceforge.net/auth/subscriptions

       

      Related

      Bugs: #1

  • Paul

    Paul - 2014-12-29

    This is not sending so I figured I’d forward it as well.

    Begin forwarded message:

    From: Mail Delivery Subsystem mailer-daemon@googlemail.com
    To: me@paulapplegate.com
    Subject: Delivery Status Notification (Delay)
    Date: December 28, 2014 at 10:38:11 AM EST

    This is an automatically generated Delivery Status Notification

    THIS IS A WARNING MESSAGE ONLY.

    YOU DO NOT NEED TO RESEND YOUR MESSAGE.

    Delivery to the following recipient has been delayed:

    1@bugs.gpgosx.p.re.sf.net
    

    Message will be retried for 1 more day(s)

    Technical details of temporary failure:
    The recipient server did not accept our requests to connect. Learn more at http://support.google.com/mail/bin/answer.py?answer=7720
    [(10) mx.sourceforge.net. [216.34.181.68]:25: 421 sog-mx-1.v43.ch3.sourceforge.com: Too many concurrent SMTP connections; please try again later
    ]

    ----- Original message -----

    DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=paulapplegate.com; s=google;
    h=from:content-type:message-id:mime-version:subject:date:references
    :to:in-reply-to;
    bh=H48suvUAS/jRBPIpHzStERbesCGzDVJ9AM3m1BqusXw=;
    b=jXqvorXThVL29t+67BFZFPi51Er98H50bsaRaUX/IW+Fco3SuvHyWbOPHIQmz2eTa9
    xqWmvYsvF6IRLaiIamdtQqEoRtGqmhQCXAm37gqfHun7oZD40XL4OAzSDc3lcBjKHJSw
    F0QQGC/bsR+Ztgw5AQXFMIb409Ea4PEtj+t4w=
    X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
    d=1e100.net; s=20130820;
    h=x-gm-message-state:from:content-type:message-id:mime-version
    :subject:date:references:to:in-reply-to;
    bh=H48suvUAS/jRBPIpHzStERbesCGzDVJ9AM3m1BqusXw=;
    b=Qki9eUGZsPqwzgOOPanQcyKy33OtnyzUEk/cq2q6RAKxK7Lni8jE/M5/LGRyHdzqgd
    D9MyLpL6UBBariJAVGXXfOrnK6DC0Ns66448wNmVe0eh5K6Vi24l8GfuleEw8j032nBW
    RpvOfHyXxUNCxJ2qQdcZsjT+ps7T3FoJ8PwotHZUk/Ruzjm6BOkPlUTyQWLOnCNfS4va
    8D/y6MJZCQA6ndtTMC+mt3UScOF/i3JNIxoTAwViniqZIB1pZ70lRb+GVlNIVfkDy8wm
    6lXfEFdv1tpmzZfvI+D1fGhBPbCOH933KbdF6G2c8u18ZFZmdQY7tZCmGuxMz7E2gXly
    ZuWw==
    X-Gm-Message-State: ALoCoQkH+i3GS8559e1sZJKIreDlUaKDxv8gqmXSYqbMAqAedVpgReSmGhhK1SHoCsk+3oVFiV7z
    X-Received: by 10.140.44.134 with SMTP id g6mr12824735qga.85.1419600820267;
    Fri, 26 Dec 2014 05:33:40 -0800 (PST)
    Return-Path: me@paulapplegate.com
    Received: from [192.168.200.44] ([69.61.223.130])
    by mx.google.com with ESMTPSA id c75sm26004439qge.20.2014.12.26.05.33.38
    for 1@bugs.gpgosx.p.re.sf.net
    (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
    Fri, 26 Dec 2014 05:33:38 -0800 (PST)
    From: Paul Applegate me@paulapplegate.com
    Content-Type: multipart/alternative; boundary="Apple-Mail=_43DA8F55-0A5D-43D0-936D-10B7BAFC461D"
    Message-Id: B738AF71-B33A-4D42-9B3C-628AA4A06269@paulapplegate.com
    Mime-Version: 1.0 (Mac OS X Mail 8.1 (1993))
    Subject: Re: [gpgosx:bugs] #1 No pinentry error
    Date: Fri, 26 Dec 2014 08:33:36 -0500
    References: 549759ce3e5e832b888d0b15.bugs@gpgosx.p.sourceforge.net /p/gpgosx/bugs/1/b1ab8aca914b36e7419d3868e5e22213a25ca1b0.bugs@gpgosx.p.sourceforge.net
    To: "[gpgosx:bugs]" 1@bugs.gpgosx.p.re.sf.net
    In-Reply-To: /p/gpgosx/bugs/1/b1ab8aca914b36e7419d3868e5e22213a25ca1b0.bugs@gpgosx.p.sourceforge.net
    X-Mailer: Apple Mail (2.1993)

    Prior to installing gpgosx I tried to compile it from the source.
    I’m not sure what I messed up. Try not to waste too much time on it. I appreciate the help.
    I followed the README and downloaded the following and installed them, so tried to.
    "GnuPG 2.1 depends on the following GnuPG related packages:

    npth (ftp://ftp.gnupg.org/gcrypt/npth/)
    libgpg-error (ftp://ftp.gnupg.org/gcrypt/libgpg-error/)
    libgcrypt (ftp://ftp.gnupg.org/gcrypt/libgcrypt/)
    libksba (ftp://ftp.gnupg.org/gcrypt/libksba/)
    libassuan (ftp://ftp.gnupg.org/gcrypt/libassuan/)”

    Here is the output from the commands.
    Selma5:~ thor$ type -p gpg2
    /usr/local/bin/gpg2
    Selma5:~ thor$

    Selma5:~ thor$ ls -l /usr/local/bin/gpg*
    -rwxr-xr-x 1 root admin 883776 Dec 21 17:10 /usr/local/bin/gpg2
    -rwxr-xr-x 1 root admin 502460 Dec 21 17:10 /usr/local/bin/gpgsm
    Selma5:~ thor$

    Selma5:~ thor$ env | grep GPG
    Selma5:~ thor$

    Selma5:~ thor$ echo $PATH
    /usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
    Selma5:~ thor$

    On Dec 26, 2014, at 7:05 AM, Patrick Brunschwig pbrunschwig@users.sf.net wrote:

    I wonder what you did before or after installing gpgosx ...

    Please send me the output of the following 4 commands:

    type -p gpg2
    ls -l /usr/local/bin/gpg*
    env | grep GPG
    echo $PATH

    [bugs:#1] http://sourceforge.net/p/gpgosx/bugs/1 No pinentry error

    Status: open
    GnuPG Version: 2.0
    Created: Sun Dec 21, 2014 11:37 PM UTC by Paul
    Last Updated: Tue Dec 23, 2014 05:12 PM UTC
    Owner: nobody

    I get an error when I try to make a new key using "gpg2 --expert --full-gen-key"
    The error is below:
    "We need to generate a lot of random bytes. It is a good idea to perform
    some other action (type on the keyboard, move the mouse, utilize the
    disks) during the prime generation; this gives the random number
    generator a better chance to gain enough entropy.
    gpg: agent_genkey failed: No pinentry

    ----- Message truncated -----

     

    Related

    Bugs: #1

  • Paul

    Paul - 2014-12-29

    I deleted gpg2 and gpgsm in usr/local/bin and re-installed. It now works fine. Please close this ticket. Thanks for all your help.

     
  • Patrick Brunschwig

    • status: open --> closed
     

Log in to post a comment.