Skip to content

Handle error code 1168 #139

@koppor

Description

@koppor

I get

WARN: JabRef could not open keyring for retrieving OpenAI API token: com.github.javakeyring.PasswordAccessException: Error code 1168
        at java.keyring@1.0.4/com.github.javakeyring.internal.windows.WinCredentialStoreBackend.getPassword(WinCredentialStoreBackend.java:61)
        at java.keyring@1.0.4/com.github.javakeyring.Keyring.getPassword(Keyring.java:90)

I assume, that the password does not exist at all?

That should not be an error message!

The error message "coult not open keyring" is also wrong. It seems, the key ring got opened, but the password was not found?

Note, it is a "jump" from AI prefs directly to JavaKeyring. Thus, nothing todo with remaining JabRef, but with usage of the Keyring API by AI preferences

        at java.keyring@1.0.4/com.github.javakeyring.Keyring.getPassword(Keyring.java:90)
        at org.jabref@100.0.0/org.jabref.preferences.JabRefPreferences.getApiKeyForAiProvider(JabRefPreferences.java:2858)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions