chore(deps): update dependency fnox to v1.46.0 #17
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.43.0→1.46.0v1.47.0Release Notes
jdx/fnox (fnox)
v1.46.0: : Push secrets to CI and hosting platforms with fnox pushCompare Source
fnox 1.46.0 adds
fnox push, which copies secrets into CI and hosting secret stores such as GitHub Actions, Vercel and Fly. Proxy rules can now inject short-lived lease credentials,[files]entries can be cached locally withfnox sync, andallow_privateentries can be limited to one port. This release also fixes a macOS sandbox escape throughopen.Added
fnox pushand push targets (experimental) (#1079) by @jdx. CI secrets and hosting environment variables accept a value but never return it, so fnox can't read them as providers. Instead, a secret can now list the targets it should be sent to.fnox pushgets each value through the secret's own provider and writes it to every listed target, using the fnox key as the name.github-actions(viagh),gitlab-ci(viaglab),vercel,cloudflare-workers(viawrangler),fly,forgejo-actions(Forgejo/Gitea/Codeberg REST API, token fromFORGEJO_TOKEN/GITEA_TOKEN), andhcp-terraform(token fromTF_TOKEN_<host>,TFE_TOKEN, orterraform login).fnox pushasks for confirmation unless you pass--force.--non-interactiveonly works together with--force. fnox checks every target name and target config before it resolves or writes anything. If one write fails, the remaining writes still run, and the command exits non-zero with a list of the failures.[[proxy.rules]]entry can now setleaseinstead ofsecret. The proxy then mints a short-lived credential from that lease (for examplegitlab,github-app,vaultorcloudflare) and injects it only into matching requests. The command sees a placeholder and never sees the minted credential or the parent credential it was minted from.secretandlease.envdefaults to the variable the lease produces. Leases that produce several variables, andcommandleases, needcredential = "NAME"to pick one.aws-stsleases are rejected.fnox lease listandfnox lease revokecan clean them up if fnox was killed.fnox proxy runwon't start. If minting fails, that request is refused, and a later request tries again.[files](#1081) by @jdx.fnox syncnow caches[files]entries as well as secrets. A file stored in a slow remote provider such as 1Password can then be read from a local encrypted copy byfnox get --file,fnox files writeandfnox edit --file. The sync target must be an encryption provider defined in the global config, and the cache is always written to the global config.fnox set --file,fnox edit --fileandfnox reencryptdrop the old cache. Runfnox syncagain whenever the file changes at its source.allow_privateentries (#1088) by @jdx. Underfnox proxy run --sandbox, you can now give the command access to one local service without opening every port on that address. Entries take the formsip:port,[ipv6]:port, or a CIDR block followed by a port. A bare IP or CIDR still covers every port. Port0, hostnames and malformed entries are rejected when the config loads.Changed
fnox proxy run(#1078) by @jdx. Outside the sandbox,fnox proxy runno longer exits as soon as it gets a signal. It passesSIGTERMandSIGHUPon to the command. It also passes onSIGINT, unless fnox is in the terminal's foreground process group, because Ctrl-C has already reached the command in that case. fnox then waits for the command to exit, so it can shut down the proxy and revoke leases.Fixed
open(#1090) by @jdx. A command run underfnox proxy run --sandboxon macOS could useopento launch an app through Launch Services. That app ran outside the sandbox, where it could read hidden paths and write outside the working directory (GHSA-38m4-h5j8-8fq6). The sandbox now blocks these launches. Linux is not affected.Full Changelog: https://github.com/jdx/fnox/compare/v1.45.0...v1.46.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.45.0: : Agents can ask you to enter a missing secret, and fnox proxy run serves MCP tools with placeholdersCompare Source
With fnox 1.45.0, an AI agent can ask you for a missing secret through a one-time local page, so the value never goes through the chat.
fnox proxy runcan now start before every secret is set, and it serves fnox's MCP tools using placeholders instead of real values.fnox env --describealso reports which file defines each key, and symlinked global configs now work with[files].Added
request_secretMCP tool (#1065, #1074, #1075) by @jdx. When an agent needs a credential you haven't stored yet, it can ask fnox for it by name. fnox serves a one-time page on127.0.0.1and sends the link to the MCP client through URL-mode elicitation. You type the value on that page and fnox stores it the same wayfnox setdoes. The agent is told only that the secret was stored, andexecinjects it from then on. The tool is off by default:mcp.secretsis set, the agent can only ask for names on that list. Theplainprovider is refused. If the secret already has a value, fnox doesn't ask for it again unless the agent passesreplace: true.fnox set NAMEin your own terminal. If the client rejects or cancels the prompt, or the request times out, the agent gets a message that is different from the one sent when you click Decline. That message also tells the agent not to reopen the prompt or ask for the secret in chat.fnox set --from-file. The page can't prove that you are the one filling it in. Another program running as your user could submit a value.fnox proxy run(#1072) by @jdx. When an agent runsfnox mcpinsidefnox proxy run(including--sandbox), the MCP server now relays to the proxy, and you don't need to change the agent's MCP config.get_secretreturns the secret's placeholder instead of its real value.request_secretopens its page from the proxy process, outside the sandbox. After you enter the value, the proxy starts injecting it into matching requests.execisn't offered in this mode.[mcp] toolsandsecretsstill apply. Only secrets that have a proxy rule can be used this way. Once the child starts,fnox proxy runno longer prompts for provider authentication, so authenticate before you start it.fnox proxy runexited if any rule's secret had no value. Now, if a secret is declared but not set, fnox prints a warning, starts anyway, and still gives the command a placeholder. Requests that need the secret get a 403 with a "not set yet" message. When you set the secret, for example withfnox set STRIPE_KEYin another terminal, the next matching request picks it up without a restart. The proxy checks for the value at most once every 3 seconds per secret. A rule that names an undeclared secret is still an error.fnox env --json --describe(#1059) by @jdx. Each key now has asourcefield withpath, the file whose definition wins, andglobal, which is true for the global config and the files it imports. Tools such as mise can use this to tell a project's own keys from your personal global ones. The field is left out when fnox can't trace a key to a file. The describe schema version is still 1. Infnox-client,KeyInfogainssourceand awith_sourcebuilder.Fixed
[files]when~/.config/fnox/config.tomlwas a symlink, as dotfiles managers such as stow create. Becausefnox set --filehad already stored the entry, every later command failed. fnox also rejected source files linked into~/.config/fnox/files/. Both now work.fnox setandfnox reencryptwrite through a source link instead of replacing it. They report an error, before storing anything, if the link is broken or points to the config file or to another entry's file. One case is now stricter: a projectfnox.tomlthat is a symlink into the config directory can no longer declare[files].Full Changelog: https://github.com/jdx/fnox/compare/v1.44.0...v1.45.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.44.0: : Store whole files by path and edit a single secretCompare Source
fnox 1.44.0 adds secret files: whole files such as
~/.kube/configstored in the global config under the path they belong at, and written there withfnox files write.fnox editcan now edit one secret, accepts editor commands that include arguments, and saves the change to the config file that defines the secret.Added
~/.kube/config,~/.aws/credentialsor~/.npmrc. You can now declare them in a[files]table, using the path as the key. Files use the same providers, profiles andfnox reencryptas secrets, but fnox never turns them into environment variables.[files]is only allowed in the global config. If a projectfnox.tomldeclares it, fnox reports an error, so a cloned repository can't make fnox overwrite paths such as~/.ssh/authorized_keys.~/. Content is kept byte for byte, including the final newline, and must be UTF-8 text.sourceinstead ofvalue. The path is relative to the config directory and can't point outside it. Theplainprovider can't be used for files.fnox files writeresolves every file before it writes any of them. It writes each file with mode0600and replaces a symlink at the path instead of writing through it. Files whose content already matches are left unchanged.--dry-runlists what would be written, and path arguments limit the write to those files.fnox files write.fnox execand shell integration don't write them.fnox edit KEYopens only that secret's resolved value in your editor, as raw text in a private temporary file. No other secrets are decrypted. When you save, fnox stores the new value with the secret's provider and keepsenv,descriptionand its other settings. If the only change is a final newline added by the editor, fnox ignores it. Secrets from read-only providers can't be edited this way. Runningfnox editwith no key works the same as before.Fixed
EDITOR="code --wait"orEDITOR="vim -n"used to fail withFailed to launch editor. fnox now splits the value using shell quoting rules. IfEDITORis empty, fnox usesVISUAL, thenvi(notepadon Windows). fnox now also reports an error when the editor exits with a nonzero status.fnox edit KEYsaving to the wrong file (#1048) by @jdx. Editing a secret defined in the global config or a parent project used to create a new./fnox.tomlin the current directory. The original definition kept the old value. The new value is now written to the file that defines the secret, encrypted with that file's providers. If afnox sync --local-filecache holds the secret, fnox updates the shared definition and removes the outdated cache entry.fnox seton synced and inherited secrets (#1045) by @jdx. Setting a new value now clears the secret'sfnox synccache, so an outdated cached value no longer takes precedence. Setting a value for a secret inherited from another profile or config layer now keeps itsas_file,env,descriptionand other settings.Full Changelog: https://github.com/jdx/fnox/compare/v1.43.0...v1.44.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 CLI.
edfcab722ebafaa56289chore(deps): update dependency fnox to v1.45.0to chore(deps): update dependency fnox to v1.46.0