We are requesting privileged-interface approval and auto-connections for k1vpn, the official K1VPN Linux client published by K1VPN LLC.
Version 1.0.0, amd64, has been uploaded as revision 1 without a channel release. The Store requires manual review for a deny-connection interface-attribute constraint and an allow-installation constraint.
In addition to the auto-connections below, we explicitly request:
Installation approval for k1vpn-polkit, with action prefix com.k1vpn.
Connection approval for browser-sandbox, with allow-sandbox: true.
name: k1vpn
description: >
Official K1VPN Linux client providing full-tunnel WireGuard,
in-tunnel DNS, a kill switch and desktop integration.
snapcraft: https://github.com/K1VPN/k1vpn-linux/blob/4f5adaa7f641bf3414c1e2063841a7d23388b87f/snap/snapcraft.yaml
upstream: https://github.com/K1VPN/k1vpn-linux
upstream-relation: Official publisher and upstream maintainer, K1VPN LLC.
plugs:
k1vpn-polkit:
interface: polkit
attributes:
action-prefix: com.k1vpn
request-type: auto-connection
reasoning: >
The privileged daemon checks polkit authorization for each connect,
disconnect and recovery request using the Unix socket peer's
kernel-provided identity. The packaged action is
com.k1vpn.network-control. It allows active local sessions and denies
inactive and other sessions. No custom polkit rules are installed.
Installation approval is also requested for this plug.
browser-sandbox:
interface: browser-support
attributes:
allow-sandbox: true
request-type: auto-connection
reasoning: >
The Electron desktop client requires this interface to retain Chromium's
internal sandbox alongside strict Snap confinement. We do not disable
Chromium's sandbox. Connection approval for allow-sandbox is also requested.
network-control:
request-type: auto-connection
reasoning: >
The VPN daemon needs to configure its WireGuard interface, tunnel
addresses, policy routes and tunnel DNS. These operations implement
the application's core full-tunnel VPN functionality.
firewall-control:
request-type: auto-connection
reasoning: >
The daemon installs and removes its dedicated nftables tables for
tunnel protection and the user-selectable kill switch, blocking
unprotected traffic when the tunnel is unavailable.
network-manager:
request-type: auto-connection
reasoning: >
Where available, the daemon creates the WireGuard tunnel as a volatile
NetworkManager connection. This provides desktop VPN status and
disconnect integration without persisting the connection or private key
to disk. The direct backend otherwise keeps its interface unmanaged.
password-manager-service:
request-type: auto-connection
reasoning: >
The desktop client uses Secret Service or KWallet to protect credentials
when the user chooses to remember their login. Plaintext storage is
refused. Without keyring access, users can still sign in manually,
but remembered login and automatic login are unavailable.
slots: {}
The snap uses strict confinement on core26. Its privileged daemon validates bounded VPN requests and does not accept arbitrary commands or paths.
The public source includes packaging and documentation updates since revision 1; runtime code, polkit policy and requested interfaces are unchanged.
+1 from me for auto-connecting k1vpn-polkit polkit interface with com.k1vpn as action-prefix, network-control, firewall-control and network-manager interfaces.
Regarding browser-sandbox with allow-sandbox: true: Snap sandbox is more restricted that chromium sandbox. Chromium sandbox can be dropped entirely. Does dropping the sandbox from the browser in any way impact the functionality of your snap ?
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.
We implemented your Chromium sandbox recommendation and uploaded revision #3, using allow-sandbox: false and --no-sandbox while retaining strict confinement.
Local testing confirmed application startup, automatic sign-in, VPN connection and disconnection, kill-switch activation, and traffic through the tunnel. We observed no functional impact.
The previous upload has been removed from the review queue. Revision #3 now has only this finding:
human review required due to 'allow-installation' constraint (bool)
declaration-snap-v2_plugs_installation (k1vpn-polkit, polkit)
Given your support for k1vpn-polkit with action-prefix: com.k1vpn, could you please confirm that the final declaration will cover both installation and auto-connection?
Regarding password-manager-service, secure persistent sign-in is a core requirement of this desktop VPN client. Users must be able to enable “Remember me” in the application and have it work. Requiring a terminal command or re-entering credentials after every application restart is not an acceptable release experience.
We use Electron’s safeStorage with a supported Secret Service or KWallet backend and refuse password persistence with the basic_text backend. This provides remembered sign-in and supports automatic VPN connection at startup when configured.
We therefore maintain the auto-connection request. If this interface cannot be auto-connected, what supported, reliable alternative provides secure persistent sign-in for a strictly confined Electron Snap without manual interface connection?
We need a concrete resolution for this functionality before release.
Revision #3 implements the browser sandbox changes you recommended. The only remaining automated finding is the allow-installation constraint for k1vpn-polkit. What is still required to approve this?
Regarding password-manager-service, secure persistent sign-in is a core requirement. If auto-connection cannot be approved, please provide a supported solution for a strictly confined Electron Snap that preserves remembered sign-in and automatic connection without requiring users to run terminal commands.
Could you please clarify the next steps from your side and when we can expect a decision?
Given your support for k1vpn-polkit with action-prefix: com.k1vpn, could you please confirm that the final declaration will cover both installation and auto-connection?
Yes, it would cover both installation and auto-connection.
Re password-manager-service: This interface is rarely granted due to the reasons that I already mentioned. So, we would like to leave the decision to the end users themselves. And that is why, I would suggest you to stick to the manual connection for this interface. You can use snapctl is-connected password-service-manager to check whether the interface is connected and provide instructions on how to connect in case it not connected.
Could you please clarify the next steps from your side and when we can expect a decision?
We need at least one additional vote from a reviewer before I can proceed with your request.