View Single Post
Old 01-20-2019, 11:54 AM   #3
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 3,546
Karma: 9000000
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, iPad 9.7, iPad 12.9
I think this is the latest code change for OPDS authentication:
https://github.com/koreader/koreader/pull/4248

Again, it's only KOReader where the password-protected Calibre content server didn't work. Login to Calibre content server works fine in all the following scenarios:

Below is an excerpt from my settings.reader.lua file. The password is just stored as plain text.

Code:
    ["opds_servers"] = {
        [1] = {
            ["title"] = "Project Gutenberg",
            ["url"] = "http://m.gutenberg.org/ebooks.opds/?format=opds"
        },
        [2] = {
            ["title"] = "Feedbooks",
            ["url"] = "http://www.feedbooks.com/publicdomain/catalog.atom"
        },
        [3] = {
            ["title"] = "ManyBooks",
            ["url"] = "http://manybooks.net/opds/index.php"
        },
        [4] = {
            ["title"] = "Internet Archive",
            ["url"] = "https://bookserver.archive.org/"
        },
        [5] = {
            ["title"] = "Calibre",
            ["url"] = "http://192.168.1.100:8080/opds",
            ["username"] = "myusername",
            ["password"] = "mypassword"
        }
    },
    ["download_dir"] = "/mnt/us/epub/_downloads",
    ["calibre_opds"] = {
        ["host"] = "192.168.1.100",
        ["username"] = "myusername",
        ["password"] = "mypassword",
        ["port"] = "8080"
    },
ilovejedd is offline   Reply With Quote