You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Store application secrets in the OS keychain #3597
QOwnNotes currently stores several secrets in the settings file encrypted through CryptoService/SimpleCrypt. The SimpleCrypt key is stored in the same settings file, so this only obfuscates the values and does not provide secure secret storage.
This feature request tracks migrating secret storage to qtkeychain so tokens, passwords, and API keys are stored in the platform keychain/credential store. Existing SimpleCrypt-backed settings should be migrated into the keychain on first use.
Fixed a startup crash when the Markdown LSP server initialized while qtkeychain
secret migration was running a nested event loop during main window setup;
Markdown LSP startup is now delayed until the status bar exists, fixing the
regression from the keychain changes (for #3597)
26.5.3
Secrets such as cloud connection passwords, proxy passwords, API keys, and
scripting secret settings are now stored in the operating system keychain via
qtkeychain instead of being obfuscated with SimpleCrypt in the settings file;
existing SimpleCrypt-backed secrets are migrated to the keychain automatically
when possible (for #3597)
Keychain secrets are now deleted together with their references when removing
scripts, cloud connections, settings groups, or all settings, preventing stale
qtkeychain entries from being left behind (for #3597)
Fixed a possible crash when opening the settings dialog by synchronizing access
to the shared settings cache while background tasks may read or write settings
(for #3597)
Improved secret storage fallback handling by keeping legacy SimpleCrypt
encryption compatible with pre-qtkeychain secrets and migrating old plaintext
secret settings to encrypted storage even when the desktop keychain is
unavailable (for #3597)
I was a bit irritated because after the first start with the migration I was asked for my password three times.
Did not enter anything out of caution and at each start always came the dialogue three times.
After reading this issue, the matter is so far clear.
Idea: Show infobox before migration starts and the keychain dialog comes up.
A notice is now shown before stored passwords and API keys are migrated to the
operating system keychain, explaining the system password prompts that may follow
(for #3597)
Activity
#3597 secrets: add qtkeychain integration
#3597 secrets: fix builds
#3597 secrets: fix Qt5 build issue
#3597 secrets: fix nix Qt5 build issue
#3597 secrets: fix nix Qt5 build issue
#3597 secrets: add qtkeychain integration
#3597 secrets: add qtkeychain integration
#3597 fix: startup crash when the Markdown LSP server initialized whi…
pbek commentedon May 5, 2026
26.5.4
secret migration was running a nested event loop during main window setup;
Markdown LSP startup is now delayed until the status bar exists, fixing the
regression from the keychain changes (for #3597)
26.5.3
scripting secret settings are now stored in the operating system keychain via
qtkeychain instead of being obfuscated with SimpleCrypt in the settings file;
existing SimpleCrypt-backed secrets are migrated to the keychain automatically
when possible (for #3597)
#3597 secrets: add keychain item deletion
pbek commentedon May 6, 2026
26.5.5
scripts, cloud connections, settings groups, or all settings, preventing stale
qtkeychain entries from being left behind (for #3597)
#3597 fix: possible crash when opening the settings dialog by synchro…
#3597 fix: possible crash when opening the settings dialog by synchro…
pbek commentedon May 7, 2026
26.5.6
to the shared settings cache while background tasks may read or write settings
(for #3597)
#3597 doc: mention secrets libraries and keychain packages
#3597 secrets: improve simplecrypt fallback when keychain access fails
pbek commentedon Jun 25, 2026
26.6.9
encryption compatible with pre-qtkeychain secrets and migrating old plaintext
secret settings to encrypted storage even when the desktop keychain is
unavailable (for #3597)
#3597 secrets: add missing "ai/mcpServerToken" masking
rakekniven commentedon Sep 22, 2026
I was a bit irritated because after the first start with the migration I was asked for my password three times.
Did not enter anything out of caution and at each start always came the dialogue three times.
After reading this issue, the matter is so far clear.
Idea: Show infobox before migration starts and the keychain dialog comes up.
pbek commentedon Sep 22, 2026
26.9.10
operating system keychain, explaining the system password prompts that may follow
(for #3597)
#3597 secrets: explain keychain migration prompts
rakekniven commentedon Sep 25, 2026
Very nice