Encrypt Last.fm and Discogs credentials at rest

Added lastfm.api_secret, lastfm.session_key, and discogs.token to
_SENSITIVE_PATHS. Auto-encrypted on next startup via migration.
This commit is contained in:
Broque Thomas 2026-04-03 15:25:28 -07:00
parent 96f80753fa
commit 54b6c8f65f

View file

@ -83,9 +83,12 @@ class ConfigManager:
'listenbrainz.token',
'acoustid.api_key',
'lastfm.api_key',
'lastfm.api_secret',
'lastfm.session_key',
'genius.access_token',
# Other
'hydrabase.api_key',
'discogs.token',
})
def _get_fernet(self) -> Fernet: