Auto-connect request: password-manager-service for lockone

Hello,

I’d like to request auto-connection of the `password-manhe snap lockone. Hello,

I’d like to request auto-connection of the `password-manhe snap lockone.

What the snap does Lockone is a password manager and encrypted notes app. Users store notes and secrets that are encrypted (AES-256-GCM) and synced with app also includes a password generator and on-device text encryption.

Why it needs password-manager-service The app is built with Flutter and uses the flutter_secure_storage plugin, which stores data through libsecret (Secret Service / GNOME Keyring). After the user logs in, the app keeps its session tokens (access t in the system keyring rather than in a plain file, so credentials are protected by the user’s keyring and are not readable from the snap

Without this interface connected, libsecret cannot reach session cannot be saved, and the user cannot log in at all. This is the core function of the app, so manual connection makes the snap for users who install it from the Snap Store / App Center.

The app only reads and writes its own items (session tok enumerate or access other applications’ secrets.

Thank you!

This request has been added to the queue for review by the @reviewers team.

Hello @w_rohman :slight_smile:

The password-manager-service interface provides access to the global password manager services provided by popular desktop environments, such as Secret Service (GNOME Keyring) and KWallet. This is privileged access to sensitive information stored in the user’s session: when connected, your snap is able to access all stored secrets in the keyring, not just its own, and, conversely, your snap’s own secrets become accessible to any other application with access to the service (including other snaps that also have password-manager-service connected).

Because this level of access may not be desirable or obvious to users, in general we discourage auto-connection of password-manager-service, hence, this is a -1 from my side, for auto-connecting the password-manager-service to lockone.

Alternatively, you can prompt the user to manually connect the interface (e.g. sudo snap connect lockone:password-manager-service). Ideally, explain the details of the access so the user can make an informed choice. While this is an extra step for the user, if done well the process provides additional trust that your snap and the system as a whole are working together to keep the user’s passwords secure.

I agree with @yomonokio. Hence, -1 from me as well for auto-connecting the password-manager-service to lockone.