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 591395 - PDM: private sessions can see "Personal data" items
PDM: private sessions can see "Personal data" items
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Backend
git master
Other Linux
: Normal normal
: ---
Assigned To: Xan Lopez
Epiphany Maintainers
: 593626 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-08-11 00:52 UTC by Diego Escalante Urrelo (not reading bugmail)
Modified: 2009-09-22 09:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Prevents PDM from getting keyring passwords in a private session (1.24 KB, patch)
2009-09-18 07:39 UTC, Julián de Navascués
none Details | Review
Prevents PDM from getting keyring passwords in a private session (2.18 KB, patch)
2009-09-18 07:56 UTC, Julián de Navascués
none Details | Review
Prevents PDM from getting keyring passwords in a private session (2.12 KB, patch)
2009-09-21 10:22 UTC, Julián de Navascués
none Details | Review

Description Diego Escalante Urrelo (not reading bugmail) 2009-08-11 00:52:23 UTC
ssia. If you start epiphany -p you'll be able to see cookies and saved passwords of the normal session.
Comment 1 Xan Lopez 2009-08-11 09:01:39 UTC
(In reply to comment #0)
> ssia. If you start epiphany -p you'll be able to see cookies and saved
> passwords of the normal session.
> 

No, you won't see the cookies. I'm working on the password thing now.
Comment 2 Xan Lopez 2009-09-02 17:28:29 UTC
*** Bug 593626 has been marked as a duplicate of this bug. ***
Comment 3 Julián de Navascués 2009-09-18 07:39:32 UTC
Created attachment 143423 [details] [review]
Prevents PDM from getting keyring passwords in a private session

This patch is just a temporal solution that should be extended
by recovering passwords from SoupSession (when API let it) and
adding new functions similar to the existent for gnome keyring
(e.g. add, remove, ...), but working with passwords of the actual
private session.
Comment 4 Julián de Navascués 2009-09-18 07:56:13 UTC
Created attachment 143428 [details] [review]
Prevents PDM from getting keyring passwords in a private session

(the good patch, the last one is OLD, sorry)

This patch is just a temporal solution that should be extended
by recovering passwords from SoupSession (when API let it) and
adding new functions similar to the existent for gnome keyring
(e.g. add, remove, ...), but working with passwords of the actual
private session.
Comment 5 Xan Lopez 2009-09-19 08:32:03 UTC
(In reply to comment #4)
> Created an attachment (id=143428) [details]
> Prevents PDM from getting keyring passwords in a private session
> 
> (the good patch, the last one is OLD, sorry)
> 
> This patch is just a temporal solution that should be extended
> by recovering passwords from SoupSession (when API let it) and
> adding new functions similar to the existent for gnome keyring
> (e.g. add, remove, ...), but working with passwords of the actual
> private session.

I had a chat with Dan, and our current understanding of this stuff is as follows:

- Deleting HTTP passwords in general (either in private or normal sessions) is not supported in the sense that when you have already used them they will still be active even when deleted from the PDM dialog. This does not work in other browsers, and it's a bit of a pain to implement, so we are going to leave that as is for now. What happens when pressing 'Remove' is that the password is deleted from the keyring, which is not exactly the same as deleting it from libsoup for the current session (yeah, this is a bit confusing).

- SoupSession will remember HTTP passwords for the session in private mode, but because we won't allow to delete them it does not make much sense to show them, so doing nothing is OK.

- When we support form auth storage this will have to be revisited.

So I think the patch is OK, but please update the comments to just say that there's no point in showing the HTTP auth in private mode since it's not being used.
Comment 6 Julián de Navascués 2009-09-21 10:22:39 UTC
Created attachment 143578 [details] [review]
Prevents PDM from getting keyring passwords in a private session

Here you are, the same patch but comments emphasize the fact that the current HTTP passwords wont be shown in the dialog because we dont allow to delete them.

If you want me to change something just tell me. :-)
Comment 7 Xan Lopez 2009-09-22 09:47:07 UTC
Thanks, I have pushed this to master (53dc6836904c100dc75c368b9e494eaebcc63416).