I’d like to request auto-connection for two interfaces:
password-manager-service
The app signs in to the person’s own filex server through the system browser (OIDC, passkeys, MFA) and keeps the resulting session token in the desktop keyring through libsecret (Electron safeStorage). Without the plug Chromium falls back to its plain-text store, and the app deliberately refuses to keep a sign-in unencrypted, so today every user has to run sudo snap connect filex-app:password-manager-service before they can stay signed in. The app only stores and reads its own token; it does not read anything else in the keyring.
removable-media
The app keeps folders the person picks in two-way sync with their filex server. People pick folders on external drives (/media, /run/media, /mnt), for example a backup disk or a USB drive, and today that needs sudo snap connect filex-app:removable-media first. The app only touches the folders the person chose in the app.
Both plugs are declared in the snap (plugs: [default, browser-support, password-manager-service, removable-media]); there is no allow-sandbox and no other non-default interface. Happy to answer any questions. Thank you!
Thank you for the detailed request. It is important to note that both the password-manager-service and removable-media interfaces are rarely granted auto-connection due to their privileged nature, and both heavily depend on user’s choice. removable-media is often used to access devices that store sensitive data, and is only necessary for users who wish to use the tool with external drives. As such, this is a -1 from me for auto-connection of removable-media and suggest moving forward with manual connection.
When connecting the password-manager-service, your snap is able to access all stored secrets, but your snap’s secrets can be accessed by any other applications with access to the service (including other snaps). As such, we discourage auto-connection of password-manager-service and instead suggest that applications utilize snapctl is-connected password-manager-service to show a dialog with instructions on how to connect the interface manually (eg, with snap connect, the snap store GUI, etc). Ideally the details of the access this connection permits is explained so the user can make an informed choice. While this is an extra step for the user, if done well the process should provide additional trust that your snap and the system as a whole are working together to keep the user’s passwords secure. Alternatively, the snap may choose to store the secrets outside the keyring in an area private to the snap. This is also a -1 for granting auto-connection.
Hi Elise, thank you for the review and the clear reasoning. That makes sense, and we withdraw the auto-connect request for both interfaces.
For password-manager-service, the app already notices when the keyring cannot be reached inside the snap. It refuses to keep the sign-in in a plaintext fallback and shows the snap connect filex-app:password-manager-service command. Following your suggestion, we’ll check with snapctl is-connected password-manager-service and explain what the connection allows before the person decides.
For removable-media, we’ll do the same when someone picks a sync folder under /media, /run/media or /mnt: check with snapctl is-connected removable-media and show the snap connect command instead of failing.