|
|
#1 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
|
Calibre Content Server HTTP Authentication - Basic or Digest?
Hi,
I'm in the closing stages of building the Windows Phone 7 version of my book reader (Freda), and I'm just working on the Calibre Content Server integration. It works fine if I don't set a password on the Content Server, but if I do set a password, it does not work. My code is doing the right thing, supplying a credentials object as required ... but I think the problem is the type of authentication. At the moment the Windows Phone 7 development tools only support 'Basic' HTTP Authentication; I wonder if perhaps the content server is insisting on 'Digest' HTTP Authentication. That is a feature that Microsoft, in their wisdom, have not (yet) provided on WP7. Can someone familiar with the code tell me: - Does the content server insist on Digest authentication and refuse to use Basic authentication? (by the way, I think this would be a reasonable thing to do; it is Microsoft who are being daft) - Or is there some setting I can use to make the content server use Basic authentication? - Or is my suspicion wrong? (which is to say that my problems are caused by something else, and I have more debugging to do) By the way, I noticed some comments about authentication problems with Android software. I wonder whether this is a similar problem. Any advice will be much appreciated. Thanks, Jim |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,611
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It uses Digest, basic is way too insecure.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
It could offer basic, with the strong hint that people who use it should connect through stunnel.
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,611
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#5 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,525
Karma: 8065948
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
It is hard to believe that WinMo 7 would break something that already works, but stranger things have happened. |
|
|
|
|
| Advert | |
|
|
|
|
#6 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
|
Quote:
In the mean time, Freda for WP7 will only work for browsing your Calibre catalog if you have no password set. |
|
|
|
|
|
|
#7 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 310
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
|
Quote:
As for the Digest Authentication point: I have found a recipe for how to 'roll your own' on WP7. So if Microsoft don't get round to implementing the API soon, I do apparently have a 'Plan B'. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre Content Server | statiiq | Calibre | 18 | 11-04-2016 04:12 PM |
| Calibre Content Server | TonytheBookworm | Calibre | 2 | 09-07-2010 10:47 PM |
| Content server - basic question | Viseguy | Calibre | 2 | 09-05-2010 12:32 AM |
| content server in calibre | bruceOz | Calibre | 1 | 04-16-2010 05:23 AM |
| HTTP authentication for feeds with calibre | DAiki | Calibre | 2 | 10-12-2008 09:49 AM |