The password quality bar is not working. There are spaces missing in the texts.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jun 21 2017
../../efl/pinentry-efl.c: In function ‘create_window’:
../../efl/pinentry-efl.c:493:7: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
int ok_len = ELM_SCALE_SIZE(strlen(txt) * (PADDING * 1.5));
^~~Jun 20 2017
By the way, when terminating pinentry with "kill -TERM ...", it shuts down correctly, while CTRL-C show "gpg: signal Interrupt caught ... exiting" and a corrupt screen layout that is reset when pressing RETURN, further confirming the above diagnosis.
The problem seems to be that the CTRL-C is sent to gpg, terminating it, but pinentry keeps running and interfers with the terminal. With "ps -j" we can verify that pinentry runs in the process group and session of gpg-agent, while gpg runs in its own process group within the shell session. So, the signal rightly goes to gpg.
Jun 19 2017
Jun 12 2017
Jun 8 2017
I updated the patch, fixed all issues mentioned and a couple others I noticed. Things not being centered vertically labels/entries, and ok not being fired on pressing enter on entry, or confirm when present. That should fix all outstanding issues.
Various fixes
- Fixed confirm passphrase intial text, was label text...
- Fixed button length with long text
- Fire ok on pressing enter in entry or confirm if present
- Call focus on entry last, attempt to fix focus
- Vertically center labels with entries (minor were aligned to top vs center/middle)
In T2905#98415, @justus wrote:So are you also saying that I should better not use e17 because its focus handling is so fubar that it does not focus the pinentry when it pops up?
Thanks for the input. You need to understand that this ("keyboard grabbing") is actually a security feature. If you don't like it, you can disable it (using the pinentry option --no-global-grab), or you can switch to a pinentry without that feature (e.g. the qt one).
In T2905#98127, @wltjr wrote:I got your point, I was saying do not have a chat client or program that would create pop ups and grab focus away. Its a highly debatable and personal preference type of thing. I have run into such already.
Jun 7 2017
@justus Can you tell me how you got the two passwords with extra text and the long button text? I can replicate the long button text via cli. Not sure about the two passwords and extra unwanted characters. I would like to be able to replicate as you did. Thank you!
Marcus: That would be a good opportunity to get back to your old curses works ;-)
IIRC, we fixed similar bugs in the past but this is for the latest pinentry.
May 31 2017
I got your point, I was saying do not have a chat client or program that would create pop ups and grab focus away. Its a highly debatable and personal preference type of thing. I have run into such already.
In T2905#97872, @wltjr wrote:Ok I can add the keyboard/mouse grab stuff. I have the code already. I get your point, mine is the opposite of yours. I would say don't launch something if your typing in your pin or about to :)
May 25 2017
Updated the patch should be good to go now
- Fixed issues with underscores in button text
- Fixed issues with warnings
- Added news item
- Fixed issue with show/hide changing size
- Replaced icon, fixed missing button icons
May 24 2017
Ok I can add the keyboard/mouse grab stuff. I have the code already. I get your point, mine is the opposite of yours. I would say don't launch something if your typing in your pin or about to :)
"wltjr (William L Thomson Jr)" <noreply@dev.gnupg.org> writes:
I will see about removing the underscores now that I understand their meaning. I am not sure if EFL has any means to interpret such at this time. I will look into it and address either way. Thank you for that information!
Ok, so the patch from the differential works. Could you please address these warnings?
In T2905#97835, @wltjr wrote:I am not sure where the underscore comes from. Seems to come from pinentry, but GTK and QT do not have that, so I think its something I am doing wrong.
May 23 2017
Forgot EFL version...
Ok you should be good to go now. There are 2 issues I am aware of.
Very sorry! I already fixed that. I just had not updated the patch. This one is updated
https://github.com/Obsidian-StudiosInc/pinentry/commit/0fb3104c3ab27112aad70668c5828f9d435e10d4.patch
Also, would you be so kind to add an item to the NEWS file?
"wltjr (William L Thomson Jr)" <noreply@dev.gnupg.org> writes:
What version of the patch or EFL?
Cool, thanks. Can you please explicitly say what version is the current one?
I sent the DCO per request.
Hi @wltjr, thanks for picking this up. If we want to merge your code, we'll need a DCO from you. If you agree, please send https://dev.gnupg.org/source/gnupg/browse/master/doc/DCO to gnupg-devel@.
May 19 2017
May 16 2017
I have not looked at this since I did some work on the pinentries, but if noone fixed this then yes, it is still an issue. Indeed, I just quickly read over the source:
Justus, is still still an issue?
May 12 2017
If the dialog's show a bit off centered. The center of the screen being top/left of dialog. Which makes it offset to the bottom right. That is a bug in EFL (T5481) that is fixed and should be in EFL 0.19.1. Not anything related to this code though I did try to address in this code.
Apr 28 2017
I have updated the code and patch. It is ready for review, modification, and ideally inclusion
Apr 24 2017
I have noticed some issues, minor code fixes, and a major issue with failing to fall back to tty/ncurses interface when a GUI is not available. I will make the changes, cleanup the code format, etc and re-attach patch.
Apr 19 2017
The underscores on the Cancel and OK button come from Pinentry. Not sure if I am not handling Locale correctly, or something along those lines. The other stuff does not have it, and setting text the same way.
Sure thing, and it is "semi" animated. If you fail to enter a correct pin/passphrase. The error message is animated, it will slowly move back and forth from left to right. I can provide further screenshots of its various options, confirm, quality, double entry, etc. The quality bar changes color from red to green, with every shade in between based on quality, 0 red, 100 green, in between other colors/shades between the two.
For reference: D426: Initial patch for EFL based pinentry. Thanks for the explanations of the terminology in the E project!
Apr 18 2017
I changed it back to EFL from Enlightenment. Enlightenment is a desktop/application coded using the EFL. Like Gnome is coded in GTK. This does not require Enlightenment at all. Just the EFL. Which can be used in GTK/Gnome, or KDE/QT based environments just the same. Also Tizen, etc. Thus I would not call it Enlightenment anywhere, as it really has no relation.
I created the requested differential. Please let me know what I need to do for inclusion. Thanks!
Apr 14 2017
Ok I will do that soon as I am finished with refinements and it is ready for re-submission. Thanks!
@wltjr Please upload the patch here: https://dev.gnupg.org/differential/diff/create/ Thanks!
Apr 13 2017
I got the patch from Mike. It does need some refinements. I will work on the modifications and re-submit. Do you accept PRs on Github? Or should I attach here? Or send to mailing list? Thanks!
Apr 11 2017
Apr 4 2017
I am interested in this, and can look into any needed polishing. Can someone please attach the patches to this bug or a link to where they can be downloaded. Unfortunately mailing list archives strip attachments. I spoke with Mike in IRC who informed me he made a EFL port of pinentry. I was working on that, and still have my code going in case I cannot get a copy of Mikes work. I am willing to do what ever is necessary to get this into pinentry sooner than later. Though I understand it can take some time. Hopefully not the 1yr it took the FLTK based pinentry to be added.
Mar 30 2017
Mar 22 2017
Mar 21 2017
Mar 8 2017
Merged in 6c45eed62214b44fcc11e642b19df7b6ca0da0bd.
Mar 2 2017
Changed category to pinentry - this is a pinentry-gnome (ie. gcr) problem.
Feb 13 2017
Testing this I noticed that the curses fallback did not work at all for Qt5
versions of pinentry-qt even if display was unset. This i fixed with cd7b35e
But the DISPLAY=:noexist case is more complicated. The GTK pinentry does a
gtk_init_check which Qt does not have. I don't want to mess with X directly and
would have to look into this more how to do this then only when X is used etc.
There is a similar question on stackoverflow and I don't find any answers there
acceptable:
http://stackoverflow.com/questions/28525435/qt-equivalent-to-gtk-init-check
I've changed the topic to reflect that this is a feature currently not available
in pinentry-qt but I don't see it as a high priority issue.
Andre, can you look at it?
Feb 12 2017
So i'm left a little confused here about what the resolution is. neal added
documentation, but ueno suggested it was wrong and contributed a patch for it.
However, that patch hasn't been applied.
Some additional questions about pinentry-emacs and INSIDE_EMACS that came up in
discussion over on https://bugs.debian.org/854797:
What's the best way to debug a problem when emacs pinentry
isn't working? do we look at gpg? gpg-agent? pinentry? emacs itself?
all of those places? What happens when the user has two separate
instances of emacs running? What if there's an instance of emacs
running and someone uses tramp to connect to a remote ssh server, and
gpg-agent is providing the ssh-agent interface? What if someone uses
ssh from *outside* of emacs and it talks to a gpg-agent that was
auto-launched from within an emacs session? What about when there's an
instance of emacs running in a graphical session on a machine where the
same user is also logged into the machine via ssh, and they're using a
different graphical session? how does pinentry-emacs interact with
emacs --daemon and multiple emacsclient instances?Another few questions:
Why does emacs use /tmp/emacs$UID for the ephemeral socket instead of
/run/user/$UID ?
If OPTION allow-pinentry-emacs is set, but the emacs process isn't
repsonsive (or nothing is listening at all) should pinentry do a second layer of
fallback, e.g. to curses?
Feb 6 2017
anyone skilled in qt want to fix this outstanding issue?
Feb 3 2017
Hi,
I can still see that qt[1] is using the simplified pkg macros[2], while the
configure.ac is using proprietary method[3].
We are still missing PKG_PROG_PKG_CONFIG macro in configure.ac to make pkg
macros happy, this can remove all AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
executions, see pinentry-0.9.5-build.patch, as you have PKG_CONFIG set.
The other changes to use PKG_CHECK_MODULES are optional but is there any reason
why not to use this macro instead of executing the pkg-config manually? This
macro has the advantage of allowing override via environment, and append proper
help.
If you like I can rebase this old patch set.
[1] http://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blob;f=m4/qt.m4;hb=HEAD
[2]
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blob;f=m4/pkg.m4;hb=HEAD
[3]
http:
//git.gnupg.org/cgi-bin/gitweb.cgi?p=pinentry.git;a=blob;f=configure.ac;hb=HEAD#l431
links removed as I got "Edit Error: not allowed (too many links).
Is that the gnome3 pinentry? if so please try the gtk-2 pinentry to see whether
it is the same problem.
Someone please check whether this is still the case and come up with a fix?
The Debian report is waiting since October for a reply from the orig. submitter.
justus: we recently talked about this. Would you like to work on this. I am in
particular interested to use it for Windows statically linked.
Jan 23 2017
Jan 16 2017
Fixed in 8e3aa3204e74e8d7a7538e0d0f04e555f140131b.
FTR: EFL == enlightenment foundation libraries. Calling this
"Enlightenment-based" is like calling the GTK pinentry "Metacity-based".
It does work, but contrary to my expectations it is rather unpolished. I'll
talk to Mike.