A password for each app or device #11
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/device-passwords"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #7
I can make a password for each app that connects to my server, in Settings, Apps and devices. The secret is shown once and can be taken back. It will open the OpenSubsonic API of other apps and nothing else.
internal/devices,GET/POST /me/devices,DELETE /me/devices/{id}, OpenAPI.A person can make a password for each app that connects to their server, in Settings, Apps and devices. The secret is shown once, can be taken back, and is for the music API of other apps only: it cannot sign in or change the account. Secrets are kept sealed (AES-256-GCM, key derived from the jwt secret) because token login needs them in clear, and a hash finds a device by its key. - migration 0034 device_passwords (sqlite, postgres) - internal/devices service, storage repo - GET/POST /me/devices, DELETE /me/devices/{id}, in the OpenAPI spec - Settings section with copy and remove