[OM Cooker] gpg does not work in 3.0

Jean-Claude Vanier jclvanier at gmail.com
Tue Jun 28 05:56:04 EDT 2016


It might be an issue related to pinentry.
If I launch gpg-agent with no pinentry option, I get this trace (see bellow).
Pinentry is launched but seems to fail.
If I launch gpg-agent with pinentry-curses
  gpg-agent -v --daemon  --pinentry-program "/usr/bin/pinentry-curses"

"gpg --gen-key" works (same for kleopatra).


-------------------------------------------------------------------------------------------
[...]
4117  read(4, "OK Pleased to meet you, process 4117\n", 1002) = 37
4117  write(4, "RESET", 5)              = 5
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
4117  fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
4117  readlink("/proc/self/fd/0", "/dev/pts/4", 4095) = 10
4117  stat("/dev/pts/4", {st_mode=S_IFCHR|0600, st_rdev=makedev(136,
4), ...}) = 0
4117  ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
4117  fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 4), ...}) = 0
4117  readlink("/proc/self/fd/0", "/dev/pts/4", 4095) = 10
4117  stat("/dev/pts/4", {st_mode=S_IFCHR|0600, st_rdev=makedev(136,
4), ...}) = 0
4117  write(4, "OPTION ttyname=/dev/pts/4", 25) = 25
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION ttytype=xterm-256color", 29) = 29
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION display=:0", 17) = 17
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION xauthority=/tmp/xauth-1001-_0", 36) = 36
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION putenv=XMODIFIERS=@im=fcitx", 34) = 34
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION putenv=GTK_IM_MODULE=fcitx", 33) = 33
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION
putenv=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1001/bus", 67) =
67
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION putenv=QT_IM_MODULE=fcitx", 32) = 32
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION lc-ctype=en_US.UTF-8", 27) = 27
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION lc-messages=en_US.UTF-8", 30) = 30
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "GETINFO version", 15)   = 15
4117  write(4, "\n", 1)                 = 1
4117  read(4, "D 2.1.12-unknown\nOK\n", 1002) = 20
4117  write(4, "OPTION allow-pinentry-notify", 28) = 28
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "OPTION agent-awareness=2.1.0", 28) = 28
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "AGENT_ID", 8)           = 8
4117  write(4, "\n", 1)                 = 1
4117  read(4, "ERR 67109139 Unknown IPC command <GPG Agent>\n", 1002) = 45
4117  write(4, "RESET", 5)              = 5
4117  write(4, "\n", 1)                 = 1
4117  read(4, "OK\n", 1002)             = 3
4117  write(4, "GENKEY", 6)             = 6
4117  write(4, "\n", 1)                 = 1
4117  read(4, "S INQUIRE_MAXLEN 1024\nINQUIRE KEYPARAM\n", 1002) = 39
4117  write(4, "D (genkey(rsa(nbits 4:2048)))\n", 30) = 30
4117  write(4, "END", 3)                = 3
4117  write(4, "\n", 1)                 = 1
4117  read(4, "ERR 67108949 No pinentry <GPG Agent>\n", 1002) = 37
4117  write(2, "gpg: agent_genkey failed: No pinentry", 37) = 37
4117  write(2, "\n", 1)                 = 1
4117  write(3, "Key generation failed: No pinentry\n", 35) = 35
4117  munmap(0x7f37a4485000, 32768)     = 0
4117  exit_group(2)                     = ?
4117  +++ exited with 2 +++
--------------------------------------------------------------------------------------------------

2016-06-28 9:55 GMT+02:00 Alexander Stefanov-Khryukin <nobodydead at gmail.com>:
> Please use gdb/strace
>
> 2016-06-28 10:53 GMT+03:00 Jean-Claude Vanier <jclvanier at gmail.com>:
>>
>> First test in live mode: I confirm.
>>
>> 2016-06-28 9:14 GMT+02:00 Tomasz Gajc <tpgxyz at gmail.com>:
>> > Hi,
>> >
>> > can someone please confirm:
>> >
>> > gpg --key-gen
>> >
>> > when you fill all the data, then you can not finish proces with O)key
>> > option
>> >
>> > * kleoparta
>> >
>> > can't generate new key pair
>> >
>> > * kwallet
>> >
>> > does not work with gpg key - General error ??
>> >
>> >
>> >
>> > Thanks
>> >
>> > _______________________________________________
>> > OM-Cooker mailing list
>> > OM-Cooker at ml.openmandriva.org
>> >
>> > http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>> >
>>
>> _______________________________________________
>> OM-Cooker mailing list
>> OM-Cooker at ml.openmandriva.org
>> http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>
>
>
> _______________________________________________
> OM-Cooker mailing list
> OM-Cooker at ml.openmandriva.org
> http://ml.openmandriva.org/mailman/listinfo/om-cooker_ml.openmandriva.org
>



More information about the OM-Cooker mailing list