Skip to content

Development ​

Go packages ​

PackageContentsUsed by
vaultdev.stubbe.lys.Vault1 contract, daemon and clientlys-shell's vault widget, launcher mode and network agent
clientSecret Service client: lookup, store, delete, browse collections and items, ChangeLock; plain (Open) or DH (OpenEncrypted) sessionlys-shell's Secret portal, lys-settings' passwords page, the vault's session store
controlUnlock socket client (Unlock, Rekey) and serverlys-login
transportThe plain and DH secret transportsclient, the service
secretbusThe Secret Service's D-Bus interfaces, events and signalsclient, the service
secretstestThe real Secret Service on a test bus, with scripted password promptsConsumers' tests

Everything else is under internal/.

Recipes ​

RecipeEffect
just checkvet, lint, test, race, build in order
just vetgo vet ./...
just lintgolangci-lint fmt --diff and golangci-lint run (.golangci.yml)
just testgo test -shuffle=on ./...
just raceTests under the race detector
just buildCompile every package
just distStatic, stripped release binary in dist/
just fmtFormat all Go sources

nix develop .#secrets provides the pinned Go toolchain, the lint tools, dbus for the tests' private buses, and the clients tested against (secret-tool, python-secretstorage, Chromium, git's libsecret helper).

just checks secrets-package secrets-hm-module secrets-nixos-module builds the package and evaluates both modules. D-Bus activation under dbus-broker (nix/tests/activation-vm.nix) is a scenario of the shared NixOS VM just checks desktop-vms-system. Repository-wide recipes, the Nix layout, CI and releases are in Developing lys.

Releases ​

lys-secrets is released with every other lys app, under one version (Releases).

Released under the MIT License.