Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encrypted storage of the API key is not compatible with Obsidian Sync #18

Open
hsiktas opened this issue Feb 6, 2024 · 1 comment
Open

Comments

@hsiktas
Copy link

hsiktas commented Feb 6, 2024

Hi,

I noticed that this plugin has an issue with Obsidian Sync.
It only works on the last device where I set the API key via the settings. On the other devices, it results in this error:

plugin:latex-ocr:20801 Uncaught (in promise) Error: Could not call remote method 'decryptString'. Check that the method signature is correct. Underlying error: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString.Underlying stack: Error: Error while decrypting the ciphertext provided to safeStorage.decryptString.

@lucasvanmol
Copy link
Owner

I'm unsure of the best way to solve this issue, because Obsidian itself doesn't have any support for storing encrypted data in a way that's related to the user account AFAIK. Maybe a feature could be implemented that stores the API key in plaintext form, which would obviously be less secure but could help solve your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants