{ "name": "envio", "version": "0.8.0", "summary": "envio: keeps sets of environment variables in encrypted profiles and loads them into a shell or a command (Rust)", "category": "tool", "license": "MIT OR Apache-2.0", "homepage": "https://github.com/humblepenguinn/envio", "source": { "url": "https://github.com/humblepenguinn/envio/archive/refs/tags/v0.8.0.tar.gz", "sha256": "694e68d3434c951f17d778315eb8ed3de9d4934ae834d7368bd700751a385620" }, "watch": {"kind": "github-release", "repo": "humblepenguinn/envio", "tag_regex": "^v([0-9]+\\.[0-9]+\\.[0-9]+)$", "revendor": {"tool": "cargo", "lockfile": "Cargo.lock"}}, "vendor": "vendor.txt", "deps": [], "env_packages": [], "static": true, "nss": true, "check": "bin/envio version | has -x 'Version 0.8.0' && t=$(mktemp -d) && p=$PWD && mkdir \"$t/proj\" && cd \"$t/proj\" && export HOME=$t XDG_CONFIG_HOME=$t/.config XDG_DATA_HOME=$t/.data XDG_CACHE_HOME=$t/.cache && \"$p/bin/envio\" init < /dev/null 2>&1 | has 'Initialized envio' && ENVIO_KEY=bvs-pass-123 \"$p/bin/envio\" create bvsprof -k passphrase -e BVS_API=one -e BVS_DB=two < /dev/null 2>&1 | has 'Profile created' && \"$p/bin/envio\" list < /dev/null | has 'bvsprof .* passphrase' && ENVIO_KEY=bvs-pass-123 \"$p/bin/envio\" show bvsprof < /dev/null | has 'BVS_API *| *one' && [ \"$(ENVIO_KEY=bvs-pass-123 \"$p/bin/envio\" run bvsprof -- sh -c 'echo \"api=$BVS_API db=$BVS_DB\"' < /dev/null)\" = 'api=one db=two' ] && ! ENVIO_KEY=wrong-pass-99 \"$p/bin/envio\" show bvsprof < /dev/null > \"$t/bad\" 2>&1 && ! grep -q 'BVS_API\\|two' \"$t/proj/.envio/profiles/bvsprof.envio\" && echo 'envio 0.8.0: a project initialised, a profile of two variables encrypted with a passphrase, listed, shown and given to a command; a wrong key refused, no value in clear in the profile file'" }