sonda/internal/devices
Repository files (latest commit first)
Filename Latest commit message Latest commit date
tgiachi 010f2e5057 feat: a password for each app or device
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
2026-11-16 09:15:25 +01:00
..
devices.go feat: a password for each app or device 2026-11-16 09:15:25 +01:00
devices_test.go feat: a password for each app or device 2026-11-16 09:15:25 +01:00