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 492900 - [PATCH] Support for password protected podcasts
[PATCH] Support for password protected podcasts
Status: RESOLVED WONTFIX
Product: banshee
Classification: Other
Component: Podcasting
0.13.1
Other Linux
: Normal enhancement
: 2.x
Assigned To: Banshee Maintainers
Banshee Maintainers
gnome[unmaintained]
: 612365 649387 679833 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-11-03 02:43 UTC by Celso Pinto
Modified: 2020-03-17 09:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for http basic authentication in podcast subscription (19.47 KB, patch)
2007-11-03 02:43 UTC, Celso Pinto
none Details | Review
patch for http authentication, with gnome-keyring support (18.90 KB, patch)
2007-11-12 20:03 UTC, Celso Pinto
needs-work Details | Review
partial patch (16.80 KB, patch)
2010-10-11 17:24 UTC, olivier dufour
none Details | Review
2cd patch (9.48 KB, patch)
2010-10-11 20:21 UTC, olivier dufour
none Details | Review

Description Celso Pinto 2007-11-03 02:43:19 UTC
The attached patch allows users to subscribe to password protected podcasts (HTTP basic authentication only).

It still needs some work on the following items:

 - database schema evolution, that creates the username and password text columns in the database
 - the password Entry widgets have visibility set to true due to a possible bug in Gtk# 2.10 where Entry.Text, if visibility is false, is always empty
Comment 1 Celso Pinto 2007-11-03 02:43:57 UTC
Created attachment 98425 [details] [review]
patch for http basic authentication in podcast subscription
Comment 2 Mike Urbanski 2007-11-04 05:34:02 UTC
Thanks, will look this over Monday.
Comment 3 Mike Urbanski 2007-11-09 16:28:48 UTC
I'm not crazy about the idea of user credentials being stored in the db as cleartext, could this be reworked to use the GNOME Keyring?

Comment 4 Celso Pinto 2007-11-09 16:48:59 UTC
Actually yes. Give me a couple of days and I'll submit a new patch with Gnome keyring support.
Comment 5 Mike Urbanski 2007-11-10 01:19:29 UTC
Neat, thanks!  

Seeing how DBs are passed around on here and on the list I'd rather not see anyone  post their passwords. 
Comment 6 Celso Pinto 2007-11-12 20:03:30 UTC
Created attachment 98986 [details] [review]
patch for http authentication, with gnome-keyring support
Comment 7 Mike Urbanski 2008-01-01 02:17:25 UTC
Whoops, sorry for the long turn around, I just saw this.
Comment 8 Bertrand Lorentz 2008-10-16 09:46:05 UTC
The patch doesn't apply to the current codebase.
Comment 9 Gabriel Burt 2009-10-27 20:18:38 UTC
Bulk changing the assignee to banshee-maint@gnome.bugs to make it easier for people to get updated on all banshee bugs by following that address.  It's usually quite apparent who is working on a given bug by the comments and/or patches attached.
Comment 10 Alexander Kojevnikov 2010-02-19 08:10:28 UTC
Celso, could you adapt your patch to a recent version of Banshee? Sorry it took awhile, I promise to review it promptly.
Comment 11 Alexander Kojevnikov 2010-03-10 01:06:06 UTC
*** Bug 612365 has been marked as a duplicate of this bug. ***
Comment 12 olivier dufour 2010-10-11 17:22:42 UTC
hello,

I try to adapt the oldest ticket patch but the issue is that migo do not support credential for moment.
Can I modify migo code because it seems to be an external lib?
Comment 13 olivier dufour 2010-10-11 17:24:19 UTC
Created attachment 172113 [details] [review]
partial patch

I have create a patch for current version but it miss the use of credential in request because migo currently do not allowed that.
Comment 14 Bertrand Lorentz 2010-10-11 17:36:28 UTC
Migo is structured as a library, but it's included in the Banshee source, in src/Libraries/Migo/
So feel free to include any modifications necessary in your patch.

I'm not sure about the dependency on gnome-keyring-sharp : would that work on non-Linux platforms (OSX/Windows) ?
Maybe it should e an optional dependency ?
Comment 15 olivier dufour 2010-10-11 19:10:19 UTC
the issue is that, if we do not store it in gnome keyring we have to store that elsewere and the simple is to store it over database.
So I think best is to modify DB structure to add username and password field.
and remove gnome keyring dependency.
Comment 16 olivier dufour 2010-10-11 20:21:07 UTC
Created attachment 172129 [details] [review]
2cd patch

I do not know podcast with login pass.
if someone can test it and make feedback.
you must apply previous patch first and this one in second.
Comment 17 Alex Launi 2010-11-17 01:37:55 UTC
Sticking the username and password in the db is definitely not the ideal solution. We need to come up with some abstraction for private information.
Comment 18 ajs 2010-12-08 21:48:42 UTC
There is an open source, multi platform .Net/Mono library for interacting with keyrings.

If the Windows port of Banshee is holding up integration of password support for podcasts, this might be a solution:

  http://keystorage.codeplex.com/
  http://en.wikipedia.org/wiki/Data_Protection_API
  http://en.wikipedia.org/wiki/DPAPI

Taking a step back: where do the other parts of Banshee that use passwords keep that data?
Comment 19 Gabriel Burt 2011-05-04 16:12:26 UTC
*** Bug 649387 has been marked as a duplicate of this bug. ***
Comment 20 David Nielsen 2012-07-19 19:07:35 UTC
*** Bug 679833 has been marked as a duplicate of this bug. ***
Comment 21 André Klapper 2020-03-17 08:25:04 UTC
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived.

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect
reality. Please feel free to reopen this ticket (or rather transfer the project
to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the
responsibility for active development again.
See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.