chore(deps): update dependency fnox to v1.41.0 #14
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/fnox-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.39.0→1.41.0v1.43.0(+2)Release Notes
jdx/fnox (fnox)
v1.41.0: : gopass provider and profile-aware config templatesCompare Source
fnox 1.41.0 adds a
gopassprovider and lets secret defaults and provider fields use the active profile through Tera templates.fnox execno longer decryptsenv = falsesecrets that nothing uses, and the AWS SSO login prompt now logs in to the profile your provider is configured with.Added
gopass cat, writes them withgopass insert -f(fnox set --provider gopass), and tests the connection withgopass ls --flat. The optionalmountsetting is added to the front of every secret path. fnox removes one trailing newline from each value and leaves other whitespace alone. Errors tell you whether gopass is missing, the GPG key is locked or unavailable, or the secret path doesn't exist. You can also add the provider withfnox provider add <name> gopass.defaultand literal string provider fields are now rendered as Tera templates if they contain{{,{%or{#. Two variables are available:fnox.profile(the selected profile with the highest priority, ordefaultif none is selected) andfnox.profiles(all selected profiles, lowest priority first). This means you can write values that follow the profile, such as AWS profiles or SST stages, once instead of repeating them for every profile.FNOX_PROFILEis still not exported to child processes.${NAME}interpolation. A default is only rendered when it's actually used, and only the${NAME}references left after rendering must exist. So a branch of an{% if %}that isn't taken requires nothing.{% raw %}...{% endraw %}.value,description, list fields such as agerecipients, andcredential_command, which keeps its own template context.{{,{%or{#as plain text will now be treated as a template. Wrap it in{% raw %}to keep the old value.--help(#990) by @jdx. Every public command now shows a description, examples and links to the relevant guides when you runfnox <command> --help. This is the same content as the CLI reference at fnox.jdx.dev/cli. Flags and behavior are unchanged.Fixed
fnox execno longer resolves unusedenv = falsesecrets (#984) by @andersonkrs. Previously,fnox execresolved every secret in the profile and then removed theenv = falseones from the child's environment. With a PIN-protected age identity, each extra decrypt asked for the PIN again.fnox execnow selects secrets the same way asfnox env --json. It resolves only the secrets it injects plus what they depend on:${NAME}references in defaults, provider secret references such astoken = { secret = ... }, and the inputs of selected leases. If acommandlease is selected, it still resolves the whole profile. Theaws-stslease's list of inputs now also includes the environment variables for web identity, container credentials and EC2 instance metadata, so those can still be supplied asenv = falsesecrets. The child's environment is the same as before.aws-ps,aws-smoraws-kmsprovider that setsprofile, the default prompt now runsaws sso login --profile <name>instead of a bareaws sso login. Before, the bare command logged in to thedefaultprofile and failed if your AWS config had none. The profile is only added when it's a literal value and noauth_commandis set. On Windows, it's only added when the name uses ASCII letters, digits,-,_and..Documentation
New Contributors
Full Changelog: https://github.com/jdx/fnox/compare/v1.40.0...v1.41.0
💚 Sponsor fnox
fnox is built and maintained by @jdx, an open source developer at entire.io, the title sponsor of his open source work.
If fnox handles secrets or config for you or your team, please consider becoming an individual or company sponsor. Your support funds ongoing development and helps keep fnox secure, free, and independent.
v1.40.0: : Lua plugin providers, Kubernetes Secrets, and Windows daemon supportCompare Source
fnox 1.40.0 adds custom providers written as Lua plugins, a read-only Kubernetes Secrets provider, 1Password Environments, file-backed
plainproviders and Bitwarden folder scoping. The daemon now runs on Windows. This release also fixes Azure service principal authentication, repeated hardware PIN prompts for age identities, andfnox setdropping piped values.Added
[plugins], then use it withtype = "lua":provider.luathat returns hooks.getis required.get_batch,put,encryptandtestare optional, and the hooks you define decide whetherfnox setandfnox importcan write to the provider. A provider'soptionstable (string values, which can be secret references) is passed to the plugin asctx.options. Plugins can use thefnox.http,fnox.json,fnox.cmd,fnox.logandfnox.base64modules.fnox.auth_error(msg)triggers the provider'sauth_commandflow.fnox plugin install,update,link,lsanduninstall, plusfnox provider add NAME lua --plugin ....git clone). Plugins go in$FNOX_DATA_DIR/plugins, which defaults to$XDG_DATA_HOME/fnoxor~/.local/share/fnox. SetFNOX_PLUGINS_DIRto use a different location. If a project declares a different source or ref than the installed one, fnox won't load the plugin until you runfnox plugin update <name>.docs/providers/lua.mdfor details.kubernetesprovider reads existing Secrets through the Kubernetes API. It only makes namedGETrequests and never lists, watches or writes Secrets. A reference can besecret,secret/keyornamespace/secret/key. The optionalcontext,namespace,kubeconfigandprefixsettings control where it looks, and theFNOX_K8S_CONTEXTenvironment variable can also select the context. Daemon caching is always disabled for this provider, even withdaemon_cache = true.1passwordprovider can read variables from a 1Password Environment usingenvironment://<environment-id>/<VARIABLE>references. You can mix these with vault item references in the same config. fnox reads each Environment once per provider instance, and a variable missing from the Environment is an error. This needs the betaopCLI with theop environmentcommand.plainprovider (#954) by @joshbode. The newfileandformatsettings make each secret'svaluea key to look up in that file.formatcan beenv,shell,json,yamlortoml, and you must set it wheneverfileis set. A relative path resolves against the config file that declares the provider. The file is read-only, and a missing key counts as a missing secret, sodefaultandif_missingstill apply.foldersetting limits lookups to one Bitwarden folder. For nested folders, use the full path, such asfolder = "MyApp/Production". This lets items with the same name exist in different folders. It works with bothbwandrbw.azure-sm,azure-kmsandazure-acacceptauth = "managed-identity", with an optionalmanaged_identity_client_idfor a user-assigned identity. fnox never tries managed identity on its own; you have to setauth.fnox-clientAPI are unchanged.Fixed
AZURE_TENANT_ID,AZURE_CLIENT_IDandAZURE_CLIENT_SECRETare all set. Without them, fnox falls back to theaz/azdlogin. For sovereign clouds, setAZURE_AUTHORITY_HOST. These variables can also be fnox secrets resolved byfnox exec.age-plugin-tpm --pin,age-plugin-yubikey), a value used by several providers made one command ask for the PIN up to three times. Now a successful decrypt is reused for the rest of the request, so you get one prompt perfnox get,execorexport, or per daemon request. Nothing is kept between requests, and a failed decrypt can be retried.fnox setwith piped stdin and metadata flags (#976) by @jdx.echo val | fnox set A -d "desc"(or with--defaultor--if-missing) said it worked but saved no value. fnox now stores the piped value along with the metadata. If stdin is empty, only the metadata is updated, as before.Changed
fnox importparsing (#954) by @joshbode.fnox importnow accepts the{secrets, metadata}document thatfnox export --format json|yaml|tomlproduces. Theenvparser now follows Docker Compose dotenv rules for inline comments. For example,PORT=8080 # defaultnow imports as8080, where it used to keep the comment as part of the value.#without whitespace before it, as inID=val#ue, and#inside quotes are still part of the value.New Contributors
Full Changelog: https://github.com/jdx/fnox/compare/v1.39.0...v1.40.0
💚 Sponsor fnox
fnox is built and maintained by @jdx, an open source developer at entire.io, the title sponsor of his open source work.
If fnox handles secrets or config for you or your team, please consider becoming an individual or company sponsor. Your support funds ongoing development and helps keep fnox secure, free, and independent.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.
chore(deps): update dependency fnox to v1.40.0to chore(deps): update dependency fnox to v1.41.04b154af85bd01dad2351