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"
},