<div dir="ltr"><div>Thanks. Now we know that potential culprit is pinentry.<br></div>I'm building new pinentry 0.9.7-2 please try it.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-28 11:56 GMT+02:00 Jean-Claude Vanier <span dir="ltr"><<a href="mailto:jclvanier@gmail.com" target="_blank">jclvanier@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It might be an issue related to pinentry.<br>
If I launch gpg-agent with no pinentry option, I get this trace (see bellow).<br>
Pinentry is launched but seems to fail.<br>
If I launch gpg-agent with pinentry-curses<br>
  gpg-agent -v --daemon  --pinentry-program "/usr/bin/pinentry-curses"<br>
<br>
"gpg --gen-key" works (same for kleopatra).<br>
<br>
<br>
-------------------------------------------------------------------------------------------<br>
[...]<br>
4117  read(4, "OK Pleased to meet you, process 4117\n", 1002) = 37<br>
4117  write(4, "RESET", 5)              = 5<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>
4117  fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0<br>
4117  readlink("/proc/self/fd/0", "/dev/pts/4", 4095) = 10<br>
4117  stat("/dev/pts/4", {st_mode=S_IFCHR|0600, st_rdev=makedev(136,<br>
4), ...}) = 0<br>
4117  ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0<br>
4117  fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0<br>
4117  readlink("/proc/self/fd/0", "/dev/pts/4", 4095) = 10<br>
4117  stat("/dev/pts/4", {st_mode=S_IFCHR|0600, st_rdev=makedev(136,<br>
4), ...}) = 0<br>
4117  write(4, "OPTION ttyname=/dev/pts/4", 25) = 25<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION ttytype=xterm-256color", 29) = 29<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION display=:0", 17) = 17<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION xauthority=/tmp/xauth-1001-_0", 36) = 36<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION putenv=XMODIFIERS=@im=fcitx", 34) = 34<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION putenv=GTK_IM_MODULE=fcitx", 33) = 33<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION<br>
putenv=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus", 67) =<br>
67<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION putenv=QT_IM_MODULE=fcitx", 32) = 32<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION lc-ctype=en_US.UTF-8", 27) = 27<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION lc-messages=en_US.UTF-8", 30) = 30<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "GETINFO version", 15)   = 15<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "D 2.1.12-unknown\nOK\n", 1002) = 20<br>
4117  write(4, "OPTION allow-pinentry-notify", 28) = 28<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "OPTION agent-awareness=2.1.0", 28) = 28<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "AGENT_ID", 8)           = 8<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "ERR 67109139 Unknown IPC command <GPG Agent>\n", 1002) = 45<br>
4117  write(4, "RESET", 5)              = 5<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "OK\n", 1002)             = 3<br>
4117  write(4, "GENKEY", 6)             = 6<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "S INQUIRE_MAXLEN 1024\nINQUIRE KEYPARAM\n", 1002) = 39<br>
4117  write(4, "D (genkey(rsa(nbits 4:2048)))\n", 30) = 30<br>
4117  write(4, "END", 3)                = 3<br>
4117  write(4, "\n", 1)                 = 1<br>
4117  read(4, "ERR 67108949 No pinentry <GPG Agent>\n", 1002) = 37<br>
4117  write(2, "gpg: agent_genkey failed: No pinentry", 37) = 37<br>
4117  write(2, "\n", 1)                 = 1<br>
4117  write(3, "Key generation failed: No pinentry\n", 35) = 35<br>
4117  munmap(0x7f37a4485000, 32768)     = 0<br>
4117  exit_group(2)                     = ?<br>
4117  +++ exited with 2 +++<br>
--------------------------------------------------------------------------------------------------<br>
<div class="HOEnZb"><div class="h5"><br>
2016-06-28 9:55 GMT+02:00 Alexander Stefanov-Khryukin <<a href="mailto:nobodydead@gmail.com">nobodydead@gmail.com</a>>:<br>
> Please use gdb/strace<br>
><br>
> 2016-06-28 10:53 GMT+03:00 Jean-Claude Vanier <<a href="mailto:jclvanier@gmail.com">jclvanier@gmail.com</a>>:<br>
>><br>
>> First test in live mode: I confirm.<br>
>><br>
>> 2016-06-28 9:14 GMT+02:00 Tomasz Gajc <<a href="mailto:tpgxyz@gmail.com">tpgxyz@gmail.com</a>>:<br>
>> > Hi,<br>
>> ><br>
>> > can someone please confirm:<br>
>> ><br>
>> > gpg --key-gen<br>
>> ><br>
>> > when you fill all the data, then you can not finish proces with O)key<br>
>> > option<br>
>> ><br>
>> > * kleoparta<br>
>> ><br>
>> > can't generate new key pair<br>
>> ><br>
>> > * kwallet<br>
>> ><br>
>> > does not work with gpg key - General error ??<br>
>> ><br>
>> ><br>
>> ><br>
>> > Thanks<br>
>> ><br>
>> > _______________________________________________<br>
>> > OM-Cooker mailing list<br>
>> > <a href="mailto:OM-Cooker@ml.openmandriva.org">OM-Cooker@ml.openmandriva.org</a><br>
>> ><br>
>> > <a href="http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org" rel="noreferrer" target="_blank">http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org</a><br>
>> ><br>
>><br>
>> _______________________________________________<br>
>> OM-Cooker mailing list<br>
>> <a href="mailto:OM-Cooker@ml.openmandriva.org">OM-Cooker@ml.openmandriva.org</a><br>
>> <a href="http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org" rel="noreferrer" target="_blank">http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> OM-Cooker mailing list<br>
> <a href="mailto:OM-Cooker@ml.openmandriva.org">OM-Cooker@ml.openmandriva.org</a><br>
> <a href="http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org" rel="noreferrer" target="_blank">http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org</a><br>
><br>
<br>
_______________________________________________<br>
OM-Cooker mailing list<br>
<a href="mailto:OM-Cooker@ml.openmandriva.org">OM-Cooker@ml.openmandriva.org</a><br>
<a href="http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org" rel="noreferrer" target="_blank">http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org</a><br>
</div></div></blockquote></div><br></div>