Giter Site home page Giter Site logo

Comments (6)

ueno avatar ueno commented on July 24, 2024

I'm afraid ruby-gpgme can't do much about that, since the error comes from the gpgme C library itself. you might want to try running the script with GPGME_DEBUG=9 ruby test.rb to capture the actual errors.

from ruby-gpgme.

HiTECNOLOGYs avatar HiTECNOLOGYs commented on July 24, 2024

@ueno does this log requite sanitizing (i.e. may contain sensitive information such as secret keys or data that can be used to recover it) or I can paste it as is? Doesn't seem so to me but I'm not an expect at GPG ME.

from ruby-gpgme.

ueno avatar ueno commented on July 24, 2024

hm, actually I missed the NEWS entry of gpgme 1.6.0:

  - More precise error codes are returned if GnuPG >= 2.1.8 is used.

so I guess you might get a better error message if you updated GPG to 2.1.8.

from ruby-gpgme.

 avatar commented on July 24, 2024

I´m having same error (many years later looks like!)

GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_debug: level=9
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_check_version: call: 0=0x0, req_version=(null), VERSION=1.9.0
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_check_version_internal: call: 0=0x0, req_version=(null), offset_sig_validity=60
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_data_new_from_mem: enter: r_dh=0x7fff5635d950, buffer=0x7f89c390fbe8, size=23, copy=1 (yes)
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_data_new_from_mem: leave: dh=0x7f89c410bd10
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_data_new: enter: r_dh=0x7fff5635d958
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_data_new: leave: dh=0x7f89c410bf60
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_new: enter: r_ctx=0x7fff5635d958
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo: gpgconf='/usr/local/bin/gpgconf'
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7fff5635d198, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0x8, write=0x9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: enter: path=0x7f89c410c2e0, path=/usr/local/bin/gpgconf
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, argv[ 0] = /usr/local/bin/gpgconf
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, argv[ 1] = --list-dirs
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, fd[0] = 0x9 -> 0x1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, waiting for child process pid=83461
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0x9
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7fff5635d1c0, count=1023
GPGME 2018-03-22 00:26:48 <0x14606>      gpgme:max_fds: call: 0=0x0, max fds=-1 (RLIMIT_NOFILE)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 737973636f6e6664 69723a2f7573722f sysconfdir:/usr/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6c6f63616c2f6574 632f676e7570670a local/etc/gnupg.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 62696e6469723a2f 7573722f6c6f6361 bindir:/usr/loca
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6c2f43656c6c6172 2f676e7570672f32 l/Cellar/gnupg/2
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2e322e352f62696e 0a6c696265786563 .2.5/bin.libexec
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6469723a2f757372 2f6c6f63616c2f43 dir:/usr/local/C
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 656c6c61722f676e 7570672f322e322e ellar/gnupg/2.2.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 352f6c6962657865 630a6c6962646972 5/libexec.libdir
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 3a2f7573722f6c6f 63616c2f43656c6c :/usr/local/Cell
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 61722f676e757067 2f322e322e352f6c ar/gnupg/2.2.5/l
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 69622f676e757067 0a64617461646972 ib/gnupg.datadir
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 3a2f7573722f6c6f 63616c2f43656c6c :/usr/local/Cell
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 61722f676e757067 2f322e322e352f73 ar/gnupg/2.2.5/s
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 686172652f676e75 70670a6c6f63616c hare/gnupg.local
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 656469723a2f7573 722f6c6f63616c2f edir:/usr/local/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 43656c6c61722f67 6e7570672f322e32 Cellar/gnupg/2.2
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2e352f7368617265 2f6c6f63616c650a .5/share/locale.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 736f636b65746469 723a2f5573657273 socketdir:/Users
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2f6372757a666572 6e616e64657a2f2e /cruzfernandez/.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 676e7570670a6469 726d6e67722d736f gnupg.dirmngr-so
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 636b65743a2f5573 6572732f6372757a cket:/Users/cruz
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6665726e616e6465 7a2f2e676e757067 fernandez/.gnupg
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2f532e6469726d6e 67720a6167656e74 /S.dirmngr.agent
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2d7373682d736f63 6b65743a2f557365 -ssh-socket:/Use
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 72732f6372757a66 65726e616e64657a rs/cruzfernandez
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2f2e676e7570672f 532e6770672d6167 /.gnupg/S.gpg-ag
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 656e742e7373680a 6167656e742d6578 ent.ssh.agent-ex
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 7472612d736f636b 65743a2f55736572 tra-socket:/User
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 732f6372757a6665 726e616e64657a2f s/cruzfernandez/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2e676e7570672f53 2e6770672d616765 .gnupg/S.gpg-age
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6e742e6578747261 0a6167656e742d62 nt.extra.agent-b
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 726f777365722d73 6f636b65743a2f55 rowser-socket:/U
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 736572732f637275 7a6665726e616e64 sers/cruzfernand
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 657a2f2e676e7570 672f532e6770672d ez/.gnupg/S.gpg-
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6167656e742e6272 6f777365720a6167 agent.browser.ag
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 656e742d736f636b 65743a2f55736572 ent-socket:/User
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 732f6372757a6665 726e616e64657a2f s/cruzfernandez/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2e676e7570672f53 2e6770672d616765 .gnupg/S.gpg-age
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6e740a686f6d6564 69723a2f55736572 nt.homedir:/User
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 732f6372757a6665 726e616e64657a2f s/cruzfernandez/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2e676e7570670a                    .gnupg.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: leave: result=647
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7fff5635d1c0, count=1023
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: enter: fd=0x8
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7fff5635d198, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0x8, write=0x9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: enter: path=0x7f89c410c2e0, path=/usr/local/bin/gpgconf
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, argv[ 0] = /usr/local/bin/gpgconf
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, argv[ 1] = --list-components
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, fd[0] = 0x9 -> 0x1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, waiting for child process pid=83463
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0x9
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7fff5635d1c0, count=1023
GPGME 2018-03-22 00:26:48 <0x14608>      gpgme:max_fds: call: 0=0x0, max fds=-1 (RLIMIT_NOFILE)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6770673a4f70656e 5047503a2f757372 gpg:OpenPGP:/usr
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2f6c6f63616c2f43 656c6c61722f676e /local/Cellar/gn
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 7570672f322e322e 352f62696e2f6770 upg/2.2.5/bin/gp
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 670a6770672d6167 656e743a50726976 g.gpg-agent:Priv
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 617465204b657973 3a2f7573722f6c6f ate Keys:/usr/lo
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 63616c2f43656c6c 61722f676e757067 cal/Cellar/gnupg
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2f322e322e352f62 696e2f6770672d61 /2.2.5/bin/gpg-a
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 67656e740a736364 61656d6f6e3a536d gent.scdaemon:Sm
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6172746361726473 3a2f7573722f6c6f artcards:/usr/lo
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 63616c2f43656c6c 61722f676e757067 cal/Cellar/gnupg
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2f322e322e352f6c 6962657865632f73 /2.2.5/libexec/s
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 636461656d6f6e0a 677067736d3a532f cdaemon.gpgsm:S/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 4d494d453a2f7573 722f6c6f63616c2f MIME:/usr/local/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 43656c6c61722f67 6e7570672f322e32 Cellar/gnupg/2.2
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2e352f62696e2f67 7067736d0a646972 .5/bin/gpgsm.dir
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6d6e67723a4e6574 776f726b3a2f7573 mngr:Network:/us
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 722f6c6f63616c2f 43656c6c61722f67 r/local/Cellar/g
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6e7570672f322e32 2e352f62696e2f64 nupg/2.2.5/bin/d
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 69726d6e67720a70 696e656e7472793a irmngr.pinentry:
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 5061737370687261 736520456e747279 Passphrase Entry
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 3a2f7573722f6c6f 63616c2f6f70742f :/usr/local/opt/
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 70696e656e747279 2f62696e2f70696e pinentry/bin/pin
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 656e7472790a                      entry.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: leave: result=358
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7fff5635d1c0, count=1023
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: enter: fd=0x8
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo:     gpg='/usr/local/Cellar/gnupg/2.2.5/bin/gpg'
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo:   gpgsm='/usr/local/Cellar/gnupg/2.2.5/bin/gpgsm'
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo: homedir='/Users/cruzfernandez/.gnupg'
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo:   agent='/Users/cruzfernandez/.gnupg/S.gpg-agent'
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo:     ssh='/Users/cruzfernandez/.gnupg/S.gpg-agent.ssh'
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo: dirmngr='/Users/cruzfernandez/.gnupg/S.dirmngr'
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme-dinfo:   uisrv='/Users/cruzfernandez/.gnupg/S.uiserver'
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7fff5635d5e8, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0x8, write=0x9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: enter: path=0x7f89c1d78a70, path=/usr/local/Cellar/gnupg/2.2.5/bin/gpg
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d78a70, argv[ 0] = /usr/local/Cellar/gnupg/2.2.5/bin/gpg
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d78a70, argv[ 1] = --version
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d78a70, fd[0] = 0x9 -> 0x1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d78a70, waiting for child process pid=83465
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0x9
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7fff5635d5f0, count=79
GPGME 2018-03-22 00:26:48 <0x1460a>      gpgme:max_fds: call: 0=0x0, max fds=-1 (RLIMIT_NOFILE)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6770672028476e75 50472920322e322e gpg (GnuPG) 2.2.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 350a6c6962676372 79707420312e382e 5.libgcrypt 1.8.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 320a436f70797269 6768742028432920 2.Copyright (C)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 3230313820467265 6520536f66747761 2018 Free Softwa
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 726520466f756e64 6174696f6e2c20   re Foundation,
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: leave: result=79
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: enter: fd=0x8
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7fff5635d5e8, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0x8, write=0x9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: enter: path=0x7f89c1d798a0, path=/usr/local/Cellar/gnupg/2.2.5/bin/gpgsm
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d798a0, argv[ 0] = /usr/local/Cellar/gnupg/2.2.5/bin/gpgsm
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d798a0, argv[ 1] = --version
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d798a0, fd[0] = 0x9 -> 0x1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1d798a0, waiting for child process pid=83467
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0x9
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7fff5635d5f0, count=79
GPGME 2018-03-22 00:26:48 <0x1460c>      gpgme:max_fds: call: 0=0x0, max fds=-1 (RLIMIT_NOFILE)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 677067736d202847 6e7550472920322e gpgsm (GnuPG) 2.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 322e350a6c696267 637279707420312e 2.5.libgcrypt 1.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 382e320a6c69626b 73626120312e332e 8.2.libksba 1.3.
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 350a436f70797269 6768742028432920 5.Copyright (C)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 3230313820467265 6520536f667477   2018 Free Softw
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: leave: result=79
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: enter: fd=0x8
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7fff5635d5e8, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0x8, write=0x9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: enter: path=0x7f89c410c2e0, path=/usr/local/bin/gpgconf
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, argv[ 0] = /usr/local/bin/gpgconf
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, argv[ 1] = --version
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, fd[0] = 0x9 -> 0x1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c410c2e0, waiting for child process pid=83469
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0x9
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7fff5635d5f0, count=79
GPGME 2018-03-22 00:26:48 <0x1460e>      gpgme:max_fds: call: 0=0x0, max fds=-1 (RLIMIT_NOFILE)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 677067636f6e6620 28476e7550472920 gpgconf (GnuPG)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 322e322e350a436f 7079726967687420 2.2.5.Copyright
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 2843292032303138 204672656520536f (C) 2018 Free So
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6674776172652046 6f756e646174696f ftware Foundatio
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: check: 6e2c20496e632e0a 4c6963656e7365   n, Inc..License
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_read: leave: result=79
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: enter: fd=0x8
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_new: leave: ctx=0x7f89c410c1b0
GPGME 2018-03-22 00:26:48 <0x14604>  gpgme_op_sign: enter: ctx=0x7f89c410c1b0, plain=0x7f89c410bd10, sig=0x7f89c410bf60, mode=2
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7f89c1f0c220, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0x8, write=0x9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: enter: fd=0x8, close_handler=0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: enter: fd=0x9, close_handler=0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    gpgme_sig_notation_get: call: ctx=0x7f89c410c1b0, ctx->sig_notations=0x0
GPGME 2018-03-22 00:26:48 <0x14604>    gpgme_data_get_file_name: call: dh=0x7f89c410bd10, dh->file_name=(null)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7fff5635d6d0, inherit_idx=0 (GPGME uses it for writing)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0xa, write=0xb
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: enter: fd=0xa, close_handler=0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: enter: fd=0xb, close_handler=0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: enter: filedes=0x7fff5635d6d0, inherit_idx=1 (GPGME uses it for reading)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_pipe: leave: read=0xc, write=0xd
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: enter: fd=0xc, close_handler=0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: enter: fd=0xd, close_handler=0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_close_notify: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: enter: path=0x7f89c1f008a0, path=/usr/local/Cellar/gnupg/2.2.5/bin/gpg
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 0] = gpg
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 1] = --enable-special-filenames
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 2] = --batch
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 3] = --no-sk-comments
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 4] = --status-fd
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 5] = 9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 6] = --no-tty
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 7] = --charset
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 8] = utf8
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[ 9] = --enable-progress-filter
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[10] = --exit-on-status-write-error
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[11] = --ttyname
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[12] = /dev/ttys000
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[13] = --ttytype
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[14] = xterm-256color
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[15] = --clearsign
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[16] = --
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, argv[17] = -&10
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, fd[0] = 0x9
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, fd[1] = 0xa
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, fd[2] = 0xd -> 0x1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: check: path=0x7f89c1f008a0, waiting for child process pid=83471
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0x9
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: check: fd=0x9, invoking close handler 0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0xa
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: check: fd=0xa, invoking close handler 0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0xd
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: check: fd=0xd, invoking close handler 0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_spawn: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_add_io_cb: call: ctx=0x7f89c410c1b0, fd 8, dir=1 -> tag=0x7f89c1f010f0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_add_io_cb: call: ctx=0x7f89c410c1b0, fd 11, dir=0 -> tag=0x7f89c1f07fe0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_nonblocking: enter: fd=0xb
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_set_nonblocking: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_add_io_cb: call: ctx=0x7f89c410c1b0, fd 12, dir=1 -> tag=0x7f89c1f09c10
GPGME 2018-03-22 00:26:48 <0x14604>    gpgme:gpg_io_event: call: gpg=0x7f89c1f0c1f0, event 0x109cfd750, type 0, type_data 0x0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: enter: fds=0x7f89c1f09b20, nfds=10, nonblock=0
GPGME 2018-03-22 00:26:48 <0x14610>      gpgme:max_fds: call: 0=0x0, max fds=-1 (RLIMIT_NOFILE)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select on [ r0x8 w0xb r0xc ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select OK [ w0xb ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f060b0, need to check
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: enter: fds=0x7fff5635d798, nfds=1, nonblock=1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select on [ w0xb ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select OK [ w0xb ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f060b0, handler (0x7f89c410bd10, 11)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_data_outbound_handler: enter: dh=0x7f89c410bd10, fd=0xb
GPGME 2018-03-22 00:26:48 <0x14604>      gpgme_data_read: enter: dh=0x7f89c410bd10, buffer=0x7f89c410bd1c, size=512
GPGME 2018-03-22 00:26:48 <0x14604>      gpgme_data_read: leave: result=23
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_write: enter: fd=0xb, buffer=0x7f89c410bd1c, count=23
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_write: check: 5468697320697320 612074657374206d This is a test m
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_write: check: 65737361676521                    essage!
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_write: leave: result=23
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_data_outbound_handler: leave
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: enter: fds=0x7f89c1f09b20, nfds=10, nonblock=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select on [ r0x8 w0xb r0xc ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select OK [ w0xb ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f060b0, need to check
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: enter: fds=0x7fff5635d798, nfds=1, nonblock=1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select on [ w0xb ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select OK [ w0xb ]
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f060b0, handler (0x7f89c410bd10, 11)
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_data_outbound_handler: enter: dh=0x7f89c410bd10, fd=0xb
GPGME 2018-03-22 00:26:48 <0x14604>      gpgme_data_read: enter: dh=0x7f89c410bd10, buffer=0x7f89c410bd1c, size=512
GPGME 2018-03-22 00:26:48 <0x14604>      gpgme_data_read: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: enter: fd=0xb
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: check: fd=0xb, invoking close handler 0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:48 <0x14604>        _gpgme_remove_io_cb: call: data=0x7f89c1f07fe0, setting fd 0xb (item=0x7f89c1f060b0) done
GPGME 2018-03-22 00:26:48 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_data_outbound_handler: leave
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: enter: fds=0x7f89c1f09b20, nfds=10, nonblock=0
GPGME 2018-03-22 00:26:48 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select on [ r0x8 r0xc ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select OK [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f07e30, need to check
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: enter: fds=0x7fff5635d798, nfds=1, nonblock=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select on [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select OK [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f07e30, handler (0x7f89c1f0c1f0, 8)
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7f89c3000000, count=1024
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 5b474e5550473a5d 204b45595f434f4e [GNUPG:] KEY_CON
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 5349444552454420 3430394236423137 SIDERED 409B6B17
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 3936433237353436 3241313730333131 96C275462A170311
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 3338303442423832 4433394443304533 3804BB82D39DC0E3
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 20300a                             0.
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: leave: result=67
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: enter: fds=0x7f89c1f09b20, nfds=10, nonblock=0
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select on [ r0x8 r0xc ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select OK [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f07e30, need to check
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: enter: fds=0x7fff5635d798, nfds=1, nonblock=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select on [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select OK [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f07e30, handler (0x7f89c1f0c1f0, 8)
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7f89c3000000, count=1024
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 5b474e5550473a5d 20494e565f53474e [GNUPG:] INV_SGN
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 5220390a5b474e55 50473a5d20464149 R 9.[GNUPG:] FAI
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: check: 4c55524520736967 6e2031370a       LURE sign 17.
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: leave: result=45
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: enter: fds=0x7f89c1f09b20, nfds=10, nonblock=0
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select on [ r0x8 r0xc ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007f89c1f09b20, select OK [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f07e30, need to check
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: enter: fds=0x7fff5635d798, nfds=1, nonblock=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select on [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: check: fds=0x00007fff5635d798, select OK [ r0x8 ]
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_select: leave: result=1
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_run_io_cb: call: item=0x7f89c1f07e30, handler (0x7f89c1f0c1f0, 8)
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: enter: fd=0x8, buffer=0x7f89c3000000, count=1024
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_io_read: leave: result=0
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_cancel_with_err: enter: ctx=0x7f89c410c1b0, ctx_err=117440566, op_err=0
GPGME 2018-03-22 00:26:49 <0x14604>      _gpgme_io_close: enter: fd=0x8
GPGME 2018-03-22 00:26:49 <0x14604>      _gpgme_io_close: check: fd=0x8, invoking close handler 0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:49 <0x14604>        _gpgme_remove_io_cb: call: data=0x7f89c1f010f0, setting fd 0x8 (item=0x7f89c1f07e30) done
GPGME 2018-03-22 00:26:49 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:49 <0x14604>      _gpgme_io_close: enter: fd=0xc
GPGME 2018-03-22 00:26:49 <0x14604>      _gpgme_io_close: check: fd=0xc, invoking close handler 0x109d1d130/0x7f89c1f0c1f0
GPGME 2018-03-22 00:26:49 <0x14604>        _gpgme_remove_io_cb: call: data=0x7f89c1f09c10, setting fd 0xc (item=0x7f89c1f09c30) done
GPGME 2018-03-22 00:26:49 <0x14604>      _gpgme_io_close: leave: result=0
GPGME 2018-03-22 00:26:49 <0x14604>      gpgme:gpg_io_event: call: gpg=0x7f89c1f0c1f0, event 0x109cfd750, type 1, type_data 0x7fff5635d7c8
GPGME 2018-03-22 00:26:49 <0x14604>    _gpgme_cancel_with_err: leave
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_op_sign:499: error: Unusable secret key <GPGME>
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_op_sign_result: enter: ctx=0x7f89c410c1b0
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_op_sign_result: check: ctx=0x7f89c410c1b0, result: invalid signers: 1, signatures: 0
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_op_sign_result: check: ctx=0x7f89c410c1b0, result: invalid signer: fpr=(null), reason=No secret key <GPGME>
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_op_sign_result: leave: result=0x7f89c1f0c380
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_release: call: ctx=0x7f89c410c1b0
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_data_release: call: dh=0x0
/Users/cruzfernandez/.rvm/gems/ruby-2.3.0@my-proyectou/gems/gpgme-2.0.16/lib/gpgme/ctx.rb:480:in `gpgme_op_sign_result': NULL pointer given (ArgumentError)
	from /Users/cruzfernandez/.rvm/gems/ruby-2.3.0@my-proyectou/gems/gpgme-2.0.16/lib/gpgme/ctx.rb:480:in `sign_result'
	from /Users/cruzfernandez/.rvm/gems/ruby-2.3.0@my-proyectou/gems/gpgme-2.0.16/lib/gpgme/crypto.rb:251:in `rescue in block in sign'
	from /Users/cruzfernandez/.rvm/gems/ruby-2.3.0@my-proyectou/gems/gpgme-2.0.16/lib/gpgme/crypto.rb:248:in `block in sign'
	from /Users/cruzfernandez/.rvm/gems/ruby-2.3.0@my-proyectou/gems/gpgme-2.0.16/lib/gpgme/ctx.rb:79:in `new'
	from /Users/cruzfernandez/.rvm/gems/ruby-2.3.0@my-proyectou/gems/gpgme-2.0.16/lib/gpgme/crypto.rb:242:in `sign'
	from /Users/cruzfernandez/.rvm/gems/ruby-2.3.0@my-proyectou/gems/gpgme-2.0.16/lib/gpgme/crypto.rb:331:in `clearsign'
	from test.rb:5:in `<main>'
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_data_release: call: dh=0x7f89c410bd10
GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_data_release: call: dh=0x7f89c410bf60

from ruby-gpgme.

ueno avatar ueno commented on July 24, 2024

@fa-cruzfernandez it doesn't look like the same error as the log contains:

GPGME 2018-03-22 00:26:49 <0x14604>  gpgme_op_sign_result: check: ctx=0x7f89c410c1b0, result: invalid signer: fpr=(null), reason=No secret key <GPGME>

the error seems to be now in the ruby code as it only returns ArgumentError.

from ruby-gpgme.

 avatar commented on July 24, 2024

Thanks for the fast response! My problem has been fixed with this command: gpg --gen-key

from ruby-gpgme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.