Request for auto-connection of camera and password-manager-service for flexnote-erp

Hello,

I’m requesting auto-connection of the following interfaces for the snap “flexnote-erp” (publisher: Customtech Tecnologia LTDA):

  • camera
  • password-manager-service

About the snap: Flexnote ERP is the desktop client of our ERP (sales, time clock and field-trip visits). It is used by the employees of companies that are our customers. A registered ERP user is required; it is not a general-purpose app. Website: https://customtech.com.br

Why camera: Field trip visits require taking photos with the computer’s camera, which are attached to the visit record and uploaded to the ERP server.

Why password-manager-service: The app stores the session tokens and the hash of the user’s 6-digit app-lock PIN in the system keyring (libsecret). Without this interface the app cannot keep the user signed in, and users would have to connect it manually with “snap connect” on every machine, which is not viable for non-technical employees.

Both interfaces are used only for the purposes above. The app does not access the camera in the background, and it never reads secrets stored by other applications.

Thank you, Naur Souto

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

Hi @customtechbr

Regarding the camera interface, taking photos for field-trip visit records makes sense given the snap’s functionality. This is a +1 from me for granting auto-connection of the camera interface to the flexnote-erp snap after publisher vetting.

Regarding the password-manager-service interface, we discourage auto-connection of this interface in the general case. The interface provides access to the global password manager services provided by the desktop environment. This gives privileged access to sensitive information stored in the user’s session - not just the snap’s own secrets, but all secrets held by that service. Once connected, any other application (including other snaps) with password-manager-service connected can read or overwrite your snap’s stored entry. Given this high level of sensitivity, the user’s voice is paramount for this interface and as such, this is a -1 from me for granting auto-connection of password-manager-service.

What do other reviewers think?


Hello @customtechbr :slight_smile:

This is a +1 from me for auto-connecting the camera interface to the flexnote-erp snap, as it aligns with the snap’s core functionality.

Regarding password-manager-service , I agree with @shishirsub10. Because it is a highly privileged interface exposing sensitive information outside your snap’s scope, this is a -1 from me for granting auto-connection.

Alternatively, you could stick to a manual connection and let the user decide. snapctl is-connected can be used to detect whether the interface is connected at runtime, allowing the application to guide the user on how to manually connect it, if needed.

Hi @customtechbr

Please let me know how you want to proceed, thank you!

Thank you both for the review.

Understood on password-manager-service: we’ll keep it as a manual connection and make the app guide the user to connect it.

For camera, thanks for the +1s. What is the next step for publisher vetting so the auto-connection can be granted for flexnote-erp?