After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694243 - Evolution GPG password prompts should use the gnome-shell secure mechanism if available
Evolution GPG password prompts should use the gnome-shell secure mechanism if...
Status: RESOLVED WONTFIX
Product: evolution
Classification: Applications
Component: Mailer
3.6.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[gpg]
Depends on:
Blocks:
 
 
Reported: 2013-02-20 06:28 UTC by James
Modified: 2015-03-11 12:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description James 2013-02-20 06:28:42 UTC
Using evolution 3.6.3 on Fedora 18...

It would be great if evolution could use the gnome-shell password prompter dialog when requesting my gpg password. This way there's no chance that another application can steal focus and my password.

In addition, this could integrate evolution better into the gnome desktop.

For the record, I haven't actually mis-typed by password anywhere, but I like to avoid the possibility.

Thanks Evolution team! I know you're understaffed, but I still appreciate your work.
James


...


PS: As a side note (which should be a different bug) if I have composed an email that signed a message with gpg, and I have used the 'remember password for this session' checkbox, then within a day I will notice that evolution is frozen or deadlocked. I didn't make a bug for this because I don't want to trace/post evolution info that could contain a gpg password in memory, and I'm not 100% sure this is the cause. Hopefully a dev will try using evolution with a gpg key and they'll encounter this and be in the best position to know why it borked.
Comment 1 Matthew Barnes 2013-02-20 11:41:02 UTC
I'm not sure a system modal dialog is necessary or appropriate for this case, since Evolution is doing the asking and Evolution provides a parent window for the GPG dialog.

The reason we use a system modal dialog for other password prompts is because it's actually Evolution-Data-Server doing the asking, which has no parent window of its own.

Not sure if gnome-shell manages other types of dialogs besides system modal -- I don't know why it would.  And I _certainly_ don't want Evolution gaining a hard dependency on gnome-shell.
Comment 2 James 2013-02-21 08:55:22 UTC
(In reply to comment #1)
> I'm not sure a system modal dialog is necessary or appropriate for this case,
> since Evolution is doing the asking and Evolution provides a parent window for
> the GPG dialog.
> 
> The reason we use a system modal dialog for other password prompts is because
> it's actually Evolution-Data-Server doing the asking, which has no parent
> window of its own.
> 
> Not sure if gnome-shell manages other types of dialogs besides system modal --
> I don't know why it would.  And I _certainly_ don't want Evolution gaining a
> hard dependency on gnome-shell.

Okay! I definitely agree about the gnome-shell hard dependency being a bad idea. Maybe there's no good solution at the moment to this. I thought I'd mention it, but I won't be offended if you close as wontfix.

Cheers!
Comment 3 Matthew Barnes 2013-02-21 11:27:00 UTC
Well the GPG prompt is still using our old and deprecated password dialog from days of yore, so we need to do _something_ about it... just not sure what yet.  Was hoping Seahorse or one of its base libraries could somehow step in here.
Comment 4 Milan Crha 2015-03-11 12:40:11 UTC
I'm WontFix-ing this, system modal dialogs are wrong.