Page MenuHome GnuPG

pinentry-efl sends warnings to stderr, does not close windows during getpin
Open, NormalPublic

Description

I'm experimenting with pinentry-efl from pinentry 1.2.0, in a debian testing/unstable situation, built against debian's libefl-all-dev package version 1.26.2-1+b1 .

When the software is built, I launch the binary directly and trying to control it in the terminal. For example, by typing getpin and hitting enter, and seeing what is returned.

As a baseline, here's an example of me testing pinentry-fltk that way (this works reasonably):

0 dkg@alice:~$ pinentry-fltk
OK Pleased to meet you
getpin
D abc123
OK
bye
OK closing connection
0 dkg@alice:~$

When pinentry-fltk emits D abc123, the fltk dialog box disappears.

Here's the same with pinentry-efl:

0 dkg@alice:~$ pinentry-efl
OK Pleased to meet you
getpin
ERR<1210566>:edje ../src/lib/edje/edje_util.c:4013 _efl_canvas_layout_efl_layout_calc_calc_size_min() file /usr/share/elementary/themes/default.edj, group elm/button/base/default has a non-fixed part 'elm.swallow.content'. Adding 'fixed: 1 1;' to source EDC may help. Continuing discarding faulty part.
## Copy & Paste the below (until EOF) into a terminal, then hit Enter

eina_btlog << EOF
/usr/lib/x86_64-linux-gnu/libeina.so.1	 0x7f1f767f0c7c 0x7f1f767c3000
/usr/lib/x86_64-linux-gnu/libeina.so.1	 0x7f1f767f1f51 0x7f1f767c3000
/usr/lib/x86_64-linux-gnu/libeina.so.1	 0x7f1f767f3595 0x7f1f767c3000
/usr/lib/x86_64-linux-gnu/libedje.so.1	 0x7f1f7656354e 0x7f1f764a5000
/usr/lib/x86_64-linux-gnu/libedje.so.1	 0x7f1f7655449a 0x7f1f764a5000
/usr/lib/x86_64-linux-gnu/libedje.so.1	 0x7f1f7656fd14 0x7f1f764a5000
/usr/lib/x86_64-linux-gnu/libelementary.so.1	 0x7f1f770e91cb 0x7f1f76eb4000
/usr/lib/x86_64-linux-gnu/libevas.so.1	 0x7f1f76cf73ff 0x7f1f76bc1000
/usr/lib/x86_64-linux-gnu/libevas.so.1	 0x7f1f76cf93b5 0x7f1f76bc1000
/usr/lib/x86_64-linux-gnu/libelementary.so.1	 0x7f1f771d3cd9 0x7f1f76eb4000
/usr/lib/x86_64-linux-gnu/libefl.so.1	 0x7f1f767054b5 0x7f1f766e3000
/usr/bin/pinentry-efl	 0x55951d1d3e76 0x55951d1ce000
/usr/bin/pinentry-efl	 0x55951d1d70c0 0x55951d1ce000
/usr/lib/x86_64-linux-gnu/libassuan.so.0	 0x7f1f773cdaf1 0x7f1f773c5000
/usr/lib/x86_64-linux-gnu/libassuan.so.0	 0x7f1f773cdee9 0x7f1f773c5000
/usr/bin/pinentry-efl	 0x55951d1d7b5d 0x55951d1ce000
/usr/bin/pinentry-efl	 0x55951d1d2b40 0x55951d1ce000
/lib/x86_64-linux-gnu/libc.so.6	 0x7f1f768877fd 0x7f1f76864000
/usr/bin/pinentry-efl	 0x55951d1d2b8a 0x55951d1ce000
EOF

ERR<1210566>:edje ../src/lib/edje/edje_util.c:4013 _efl_canvas_layout_efl_layout_calc_calc_size_min() file /usr/share/elementary/themes/default.edj, group elm/button/base/default has a non-fixed part 'elm.swallow.content'. Adding 'fixed: 1 1;' to source EDC may help. Continuing discarding faulty part.
## Copy & Paste the below (until EOF) into a terminal, then hit Enter

eina_btlog << EOF
/usr/lib/x86_64-linux-gnu/libeina.so.1	 0x7f1f767f0c7c 0x7f1f767c3000
/usr/lib/x86_64-linux-gnu/libeina.so.1	 0x7f1f767f1f51 0x7f1f767c3000
/usr/lib/x86_64-linux-gnu/libeina.so.1	 0x7f1f767f3595 0x7f1f767c3000
/usr/lib/x86_64-linux-gnu/libedje.so.1	 0x7f1f7656354e 0x7f1f764a5000
/usr/lib/x86_64-linux-gnu/libedje.so.1	 0x7f1f7655449a 0x7f1f764a5000
/usr/lib/x86_64-linux-gnu/libedje.so.1	 0x7f1f7656fd14 0x7f1f764a5000
/usr/lib/x86_64-linux-gnu/libelementary.so.1	 0x7f1f770e91cb 0x7f1f76eb4000
/usr/lib/x86_64-linux-gnu/libevas.so.1	 0x7f1f76cf73ff 0x7f1f76bc1000
/usr/lib/x86_64-linux-gnu/libevas.so.1	 0x7f1f76cf93b5 0x7f1f76bc1000
/usr/lib/x86_64-linux-gnu/libelementary.so.1	 0x7f1f771d3cd9 0x7f1f76eb4000
/usr/lib/x86_64-linux-gnu/libefl.so.1	 0x7f1f767054b5 0x7f1f766e3000
/usr/bin/pinentry-efl	 0x55951d1d3e76 0x55951d1ce000
/usr/bin/pinentry-efl	 0x55951d1d70c0 0x55951d1ce000
/usr/lib/x86_64-linux-gnu/libassuan.so.0	 0x7f1f773cdaf1 0x7f1f773c5000
/usr/lib/x86_64-linux-gnu/libassuan.so.0	 0x7f1f773cdee9 0x7f1f773c5000
/usr/bin/pinentry-efl	 0x55951d1d7b5d 0x55951d1ce000
/usr/bin/pinentry-efl	 0x55951d1d2b40 0x55951d1ce000
/lib/x86_64-linux-gnu/libc.so.6	 0x7f1f768877fd 0x7f1f76864000
/usr/bin/pinentry-efl	 0x55951d1d2b8a 0x55951d1ce000
EOF

D abc123
OK
bye
OK closing connection
0 dkg@alice:~$

In addition to the text that i don't understand, the efl dialog window stays visible all the way until the process terminates (though it accepts no input, and it no longer redraws correctly if i occlude it with another window and then re-expose it).

Details

Version
1.2.0

Event Timeline

werner triaged this task as Normal priority.Apr 29 2022, 9:46 AM
werner added a project: efl.