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 743449 - Use HTTPS whenever possible
Use HTTPS whenever possible
Status: RESOLVED FIXED
Product: grilo
Classification: Other
Component: plugins
git master
Other Linux
: Normal normal
: ---
Assigned To: grilo-maint
grilo-maint
Depends on:
Blocks:
 
 
Reported: 2015-01-24 17:44 UTC by Elad Alfassa
Modified: 2015-01-27 18:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use HTTPS whenever possible (6.42 KB, patch)
2015-01-24 17:44 UTC, Elad Alfassa
reviewed Details | Review
gravatar: Use HTTPS (783 bytes, patch)
2015-01-25 21:21 UTC, Elad Alfassa
none Details | Review
jamendo: Use HTTPS (795 bytes, patch)
2015-01-25 21:21 UTC, Elad Alfassa
none Details | Review
vimeo: Use HTTPS (2.40 KB, patch)
2015-01-25 21:22 UTC, Elad Alfassa
none Details | Review
youtube: Use HTTPS (1.73 KB, patch)
2015-01-25 21:24 UTC, Elad Alfassa
none Details | Review
lastfm: Use HTTPS (partially) (1.78 KB, patch)
2015-01-25 21:24 UTC, Elad Alfassa
none Details | Review
gravatar: Use HTTPS (837 bytes, patch)
2015-01-26 12:10 UTC, Elad Alfassa
committed Details | Review
jamendo: Use HTTPS (849 bytes, patch)
2015-01-26 12:10 UTC, Elad Alfassa
committed Details | Review
vimeo: Use HTTPS (2.45 KB, patch)
2015-01-26 12:11 UTC, Elad Alfassa
committed Details | Review
youtube: Use HTTPS (1.83 KB, patch)
2015-01-26 12:11 UTC, Elad Alfassa
committed Details | Review
lastfm: Use HTTPS (partially) (1.86 KB, patch)
2015-01-26 12:12 UTC, Elad Alfassa
committed Details | Review

Description Elad Alfassa 2015-01-24 17:44:48 UTC
Created attachment 295338 [details] [review]
Use HTTPS whenever possible

To avoid leaking (potentially uniquely identifiable) user data over plain text (be it search phrases, hashes of contact emails, etc etc), use HTTPS whenever possible.

The attached patch switches the vimeo, youtube, gravatar, Jamendo, and lastfm plugins to use https.

Unfortunately with lastfm we cannot completely avoid leaking the names of the albums the user has on their system because their CDN (where the plugin fetches the images from) serves a certificate only valid for something.something.akamai.net, so enabling HTTPS on that URL would fail. 

If we could somehow hardcode *.akamai.net as a valid CN for these URLs, then we could avoid leaking user data over plain text in this case too. Unfortunately, I don't see a way to do so in libsoup.
Comment 1 Bastien Nocera 2015-01-25 13:07:42 UTC
Review of attachment 295338 [details] [review]:

Looks good, but could you make it one patch per-plugin (plugin + test when applicable)?
Comment 2 Elad Alfassa 2015-01-25 21:21:12 UTC
Created attachment 295396 [details] [review]
gravatar: Use HTTPS

Sure.
Comment 3 Elad Alfassa 2015-01-25 21:21:32 UTC
Created attachment 295397 [details] [review]
jamendo: Use HTTPS
Comment 4 Elad Alfassa 2015-01-25 21:22:11 UTC
Created attachment 295398 [details] [review]
vimeo: Use HTTPS
Comment 5 Elad Alfassa 2015-01-25 21:24:11 UTC
Created attachment 295399 [details] [review]
youtube: Use HTTPS
Comment 6 Elad Alfassa 2015-01-25 21:24:55 UTC
Created attachment 295400 [details] [review]
lastfm: Use HTTPS (partially)

Done.
Comment 7 Bastien Nocera 2015-01-26 11:04:16 UTC
Now you're missing all the details you had in the original commit message.
Comment 8 Elad Alfassa 2015-01-26 12:10:09 UTC
Created attachment 295437 [details] [review]
gravatar: Use HTTPS

I thought it was obvious enough, but here we go, all the patches again with that line in each
Comment 9 Elad Alfassa 2015-01-26 12:10:35 UTC
Created attachment 295438 [details] [review]
jamendo: Use HTTPS
Comment 10 Elad Alfassa 2015-01-26 12:11:00 UTC
Created attachment 295439 [details] [review]
vimeo: Use HTTPS
Comment 11 Elad Alfassa 2015-01-26 12:11:54 UTC
Created attachment 295440 [details] [review]
youtube: Use HTTPS
Comment 12 Elad Alfassa 2015-01-26 12:12:29 UTC
Created attachment 295441 [details] [review]
lastfm: Use HTTPS (partially)

Done.
Comment 13 Bastien Nocera 2015-01-27 18:00:39 UTC
All committed with fixed up commit messages