# Kestrove for the Snap Store. Build with scripts/snap.sh, which lays out kestrove-core next to kestrove-desktop. name: kestrove title: Kestrove base: core24 version: "1.2.2" summary: Self-hosted, end-to-end encrypted password manager description: | Kestrove keeps your passwords, passkeys and one-time codes in a vault encrypted on your device. Sync it through a server you run yourself, or keep it on one computer. The Kestrove browser extension fills logins through this app. license: Apache-2.0 website: https://kestrove.samialabri.com grade: stable confinement: strict plugs: # Lets the app write the browser manifests (src-tauri/src/snap.rs). Needs store approval to connect automatically. browser-native-hosts: interface: personal-files write: - $HOME/.mozilla/native-messaging-hosts - $HOME/.config/google-chrome/NativeMessagingHosts - $HOME/.config/chromium/NativeMessagingHosts - $HOME/.config/microsoft-edge/NativeMessagingHosts - $HOME/.config/BraveSoftware/Brave-Browser/NativeMessagingHosts apps: kestrove: command: usr/bin/kestrove-desktop extensions: [gnome] plugs: - network - password-manager-service - browser-native-hosts nmh: command: usr/bin/kestrove-nmh parts: kestrove: plugin: nil source: . build-snaps: - node/22/stable build-packages: - curl - libayatana-appindicator3-dev - librsvg2-dev - libsecret-1-dev - libssl-dev - libxdo-dev - patchelf - pkg-config stage-packages: - libayatana-appindicator3-1 - libxdo3 override-build: | curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal . "$HOME/.cargo/env" cd kestrove-desktop npm ci --no-audit --no-fund npm run tauri build -- --no-bundle install -D src-tauri/target/release/kestrove-desktop "$CRAFT_PART_INSTALL/usr/bin/kestrove-desktop" install -D src-tauri/target/release/kestrove-nmh "$CRAFT_PART_INSTALL/usr/bin/kestrove-nmh"