{ "name": "pass", "version": "1.7.4", "summary": "pass: the standard Unix password manager; one GnuPG-encrypted file per password in a folder tree", "category": "tool", "license": "GPL-2.0-or-later", "homepage": "https://www.passwordstore.org/", "source": { "url": "https://git.zx2c4.com/password-store/snapshot/password-store-1.7.4.tar.xz", "sha256": "4c2d0a8b99df8915a87099607a8d912fd05d30651b6f014745c14e4ca8dbbfb7" }, "watch": {"kind": "index", "url": "https://git.zx2c4.com/password-store/refs/", "regex": "password-store-([0-9]+(?:\\.[0-9]+)+)\\.tar\\.xz"}, "deps": [ "bash", "gnupg", "tree", "busybox" ], "env_packages": [], "static": true, "nss": false, "check": "bin/pass version | has 'v1.7.4' && t=$(mktemp -d) && chmod 700 \"$t\" && export GNUPGHOME=$t/gnupg PASSWORD_STORE_DIR=$t/store HOME=$t && mkdir -m 700 \"$GNUPGHOME\" && trap 'bin/gpgconf --kill all' EXIT && bin/gpg --batch --pinentry-mode loopback --passphrase '' --quick-gen-key 'BVS Pass ' default default never 2>/dev/null && fpr=$(bin/gpg --batch --with-colons --list-keys pass@example.invalid | sed -n 's/^fpr:*\\([0-9A-F]\\{40\\}\\):$/\\1/p' | first) && [ -n \"$fpr\" ] && bin/pass init \"$fpr\" | has 'Password store initialized' && printf 'bvs-secret-1\\nbvs-secret-1\\n' | bin/pass insert nas/admin > /dev/null && bin/pass show nas/admin | has -x bvs-secret-1 && bin/pass generate -n web/panel 24 > /dev/null && [ \"$(bin/pass show web/panel | tr -d '\\n' | wc -c)\" = 24 ] && bin/pass ls | has 'admin' && bin/pass find panel | has 'panel' && [ -s \"$t/store/nas/admin.gpg\" ] && echo 'pass: a store made for a key; a password kept, shown, generated and listed'" }