Skip to content

Secrets lib doesn't load on Oasis Gen 10 (Kindlehf) #24

@deepakanand

Description

@deepakanand

Device

Kindle

KOReader version

2025.08

Model and firmware version

Kindle Oasis Gen 10

Issue description

There seems to be an issue with reading the secrets file. I see the dialog with the message

Instapaper API credentials are required but not found. This may mean that the plugin has not been compiled for your platform.
               
   To set up the plugin for development/testing, you can use the following method:
   
   1. Get your Instapaper API credentials from:
      https://www.instapaper.com/main/request_oauth_consumer_token
   
   2. Create a file called 'secrets.txt' in ~/.config/koreader/ with:
      "instapaper_ouath_consumer_key" = "YOUR_CONSUMER_KEY"
      "instapaper_oauth_consumer_secret" = "YOUR_CONSUMER_SECRET"

When i enabled debug logs on KOReader, this is what i see

ffi.load: /mnt/us/koreader/plugins/ereader.koplugin/lib/instapapersecrets.so
10/14/25-14:16:51 DEBUG ereader: Failed to load compiled secrets library: nil 
10/14/25-14:16:51 DEBUG ereader: This is expected if the library is not available for this platform 
10/14/25-14:16:51 DEBUG ereader: Could not open secrets.txt at /tmp/root/.config/koreader/secrets.txt 
10/14/25-14:16:51 ERROR ereader: Failed to load API keys from any source 
10/14/25-14:16:51 ERROR ereader: Failed to load API keys 
10/14/25-14:16:51 DEBUG ereader: Initializing storage at ./settings/ereader/instapaper.sqlite 
10/14/25-14:16:51 DEBUG ereader: Database schema is up to date

Steps to reproduce

  1. Install ereader from Windows per https://github.com/quicklywilliam/ereader?tab=readme-ov-file#installing-ereader
Image
  1. Open KUAL
  2. Tap on "Start ereader"
  3. See error

Log

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions