chore(deps): update dependency fnox to v1.46.0 #17

Merged
rosa merged 1 commit from renovate/fnox-1.x into main 2026-11-08 12:04:38 +00:00
Owner

This PR contains the following updates:

Package Type Update Change Pending
fnox tools minor 1.43.0 → 1.46.0 v1.47.0

Release Notes

jdx/fnox (fnox)

v1.46.0: : Push secrets to CI and hosting platforms with fnox push

Compare 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 with fnox sync, and allow_private entries can be limited to one port. This release also fixes a macOS sandbox escape through open.

Added

  • fnox push and 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 push gets each value through the secret's own provider and writes it to every listed target, using the fnox key as the name.
    [targets.gh-prod]
    type = "github-actions"
    repo = "acme/api"
    environment = "production"
    
    [targets.vercel]
    type = "vercel"
    environments = ["production", "preview"]
    sensitive = true
    
    [secrets]
    STRIPE_KEY = { provider = "op", value = "Stripe/secret key", push = ["gh-prod", "vercel"] }
    
    fnox push --dry-run          # preview the writes
    fnox push STRIPE_KEY -t gh-prod
    fnox -P production push      # use the production profile's targets
    
    • Supported target types: github-actions (via gh), gitlab-ci (via glab), vercel, cloudflare-workers (via wrangler), fly, forgejo-actions (Forgejo/Gitea/Codeberg REST API, token from FORGEJO_TOKEN/GITEA_TOKEN), and hcp-terraform (token from TF_TOKEN_<host>, TFE_TOKEN, or terraform login).
    • CLI-based targets receive the value on stdin, not as an argument, and use whatever login that CLI already has.
    • fnox push asks for confirmation unless you pass --force. --non-interactive only 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.
    • A profile can define its own targets or override a top-level target that has the same name.
    • Pushing keeps a value out of terminals, clipboards and chat transcripts. It doesn't hide the value from anyone who can change code that runs with the secret.
  • Lease credentials in proxy rules (#​1078) by @​jdx. A [[proxy.rules]] entry can now set lease instead of secret. The proxy then mints a short-lived credential from that lease (for example gitlab, github-app, vault or cloudflare) 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.
    [leases.forge]
    type = "gitlab"
    # url, project, scopes, duration ...
    
    [[proxy.rules]]
    lease = "forge"
    domain = "forge.example.com"
    header = "private-token"
    methods = ["POST"]
    
    • Each rule sets exactly one of secret and lease. env defaults to the variable the lease produces. Leases that produce several variables, and command leases, need credential = "NAME" to pick one. aws-sts leases are rejected.
    • The proxy mints a lease the first time a matching request needs it, and concurrent requests share that lease. A new lease is minted shortly before the old one expires. Old values stay redacted from responses.
    • When the command exits, fnox revokes every lease it minted, if the backend supports revocation. Minted leases are recorded in the lease ledger, so fnox lease list and fnox lease revoke can clean them up if fnox was killed.
    • If the parent credential is missing at startup, fnox proxy run won't start. If minting fails, that request is refused, and a later request tries again.
  • Sync cache for [files] (#​1081) by @​jdx. fnox sync now 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 by fnox get --file, fnox files write and fnox 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 --file and fnox reencrypt drop the old cache. Run fnox sync again whenever the file changes at its source.
    fnox sync -p sync-age                 # or: fnox sync ~/.kube/config
    
  • Port-specific allow_private entries (#​1088) by @​jdx. Under fnox proxy run --sandbox, you can now give the command access to one local service without opening every port on that address. Entries take the forms ip:port, [ipv6]:port, or a CIDR block followed by a port. A bare IP or CIDR still covers every port. Port 0, hostnames and malformed entries are rejected when the config loads.
    [proxy]
    allow_private = ["127.0.0.1:4790", "[::1]:4790"]
    

Changed

  • Signal handling in fnox proxy run (#​1078) by @​jdx. Outside the sandbox, fnox proxy run no longer exits as soon as it gets a signal. It passes SIGTERM and SIGHUP on to the command. It also passes on SIGINT, 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

  • macOS sandbox escape through open (#​1090) by @​jdx. A command run under fnox proxy run --sandbox on macOS could use open to 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 placeholders

Compare 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 run can now start before every secret is set, and it serves fnox's MCP tools using placeholders instead of real values. fnox env --describe also reports which file defines each key, and symlinked global configs now work with [files].

Added

  • request_secret MCP 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 on 127.0.0.1 and sends the link to the MCP client through URL-mode elicitation. You type the value on that page and fnox stores it the same way fnox set does. The agent is told only that the secret was stored, and exec injects it from then on. The tool is off by default:
    default_provider = "age"
    
    [mcp]
    tools = ["exec", "request_secret"]
    
    • If mcp.secrets is set, the agent can only ask for names on that list. The plain provider is refused. If the secret already has a value, fnox doesn't ask for it again unless the agent passes replace: true.
    • The link works once and expires after 10 minutes. The page rejects cross-site form posts. After you save, a reload shows the result for 60 seconds and doesn't store the value a second time.
    • If the client doesn't support URL-mode elicitation, no page opens. Instead, the agent is told to ask you to run fnox set NAME in 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.
    • The input is a single line, so multi-line values such as PEM keys still need 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.
  • MCP tools under fnox proxy run (#​1072) by @​jdx. When an agent runs fnox mcp inside fnox 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_secret returns the secret's placeholder instead of its real value. request_secret opens its page from the proxy process, outside the sandbox. After you enter the value, the proxy starts injecting it into matching requests. exec isn't offered in this mode. [mcp] tools and secrets still apply. Only secrets that have a proxy rule can be used this way. Once the child starts, fnox proxy run no longer prompts for provider authentication, so authenticate before you start it.
  • Pending proxy secrets (#​1071) by @​jdx. Before, fnox proxy run exited 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 with fnox set STRIPE_KEY in 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.
    [secrets]
    STRIPE_KEY = { description = "Stripe test key" }
    
    [[proxy.rules]]
    secret = "STRIPE_KEY"
    domain = "api.stripe.com"
    
  • Key source in fnox env --json --describe (#​1059) by @​jdx. Each key now has a source field with path, the file whose definition wins, and global, 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. In fnox-client, KeyInfo gains source and a with_source builder.
    "source": { "path": "/home/me/.config/fnox/config.toml", "global": true }
    

Fixed

  • Symlinked global config and source files (#​1063) by @​jdx. fnox 1.44.0 refused [files] when ~/.config/fnox/config.toml was a symlink, as dotfiles managers such as stow create. Because fnox set --file had already stored the entry, every later command failed. fnox also rejected source files linked into ~/.config/fnox/files/. Both now work. fnox set and fnox reencrypt write 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 project fnox.toml that 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 secret

Compare Source

fnox 1.44.0 adds secret files: whole files such as ~/.kube/config stored in the global config under the path they belong at, and written there with fnox files write. fnox edit can now edit one secret, accepts editor commands that include arguments, and saves the change to the config file that defines the secret.

Added

  • Secret files (#​1056) by @​jdx and @​owpac. Some secrets need to exist as files at a fixed path, such as ~/.kube/config, ~/.aws/credentials or ~/.npmrc. You can now declare them in a [files] table, using the path as the key. Files use the same providers, profiles and fnox reencrypt as secrets, but fnox never turns them into environment variables.
    # ~/.config/fnox/config.toml
    [files]
    "~/.kube/config" = { provider = "age", value = "YWdl..." }
    
    [profiles.work.files]
    "~/.aws/credentials" = { provider = "age", source = "files/aws-credentials.age" }
    
    fnox set --file ~/.kube/config      # store the file at that path
    fnox get --file ~/.kube/config      # print it, byte for byte
    fnox edit --file ~/.kube/config     # edit it in $EDITOR
    fnox remove --file ~/.kube/config   # remove the entry
    fnox files                          # list entries without decrypting them
    fnox files write                    # write every file of the active profiles
    
    • [files] is only allowed in the global config. If a project fnox.toml declares it, fnox reports an error, so a cloned repository can't make fnox overwrite paths such as ~/.ssh/authorized_keys.
    • A key must be an absolute path or start with ~/. Content is kept byte for byte, including the final newline, and must be UTF-8 text.
    • You can keep the encrypted content in a separate file with source instead of value. The path is relative to the config directory and can't point outside it. The plain provider can't be used for files.
    • fnox files write resolves every file before it writes any of them. It writes each file with mode 0600 and replaces a symlink at the path instead of writing through it. Files whose content already matches are left unchanged. --dry-run lists what would be written, and path arguments limit the write to those files.
    • Files are written only when you run fnox files write. fnox exec and shell integration don't write them.
  • Edit a single secret (#​1045) by @​jdx. fnox edit KEY opens 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 keeps env, description and 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. Running fnox edit with no key works the same as before.
    fnox -P work edit KUBECONFIG
    

Fixed

  • Editor commands with arguments (#​1045) by @​jdx. Setting EDITOR="code --wait" or EDITOR="vim -n" used to fail with Failed to launch editor. fnox now splits the value using shell quoting rules. If EDITOR is empty, fnox uses VISUAL, then vi (notepad on Windows). fnox now also reports an error when the editor exits with a nonzero status.
  • fnox edit KEY saving 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.toml in 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 a fnox sync --local-file cache holds the secret, fnox updates the shared definition and removes the outdated cache entry.
  • fnox set on synced and inherited secrets (#​1045) by @​jdx. Setting a new value now clears the secret's fnox sync cache, so an outdated cached value no longer takes precedence. Setting a value for a secret inherited from another profile or config layer now keeps its as_file, env, description and 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)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Type | Update | Change | Pending | |---|---|---|---|---| | [fnox](https://github.com/jdx/fnox) | tools | minor | `1.43.0` → `1.46.0` | `v1.47.0` | --- ### Release Notes <details> <summary>jdx/fnox (fnox)</summary> ### [`v1.46.0`](https://github.com/jdx/fnox/releases/tag/v1.46.0): : Push secrets to CI and hosting platforms with fnox push [Compare Source](https://github.com/jdx/fnox/compare/v1.45.0...v1.46.0) 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 with `fnox sync`, and `allow_private` entries can be limited to one port. This release also fixes a macOS sandbox escape through `open`. #### Added - **`fnox push` and push targets (experimental)** ([#&#8203;1079](https://github.com/jdx/fnox/pull/1079)) by [@&#8203;jdx](https://github.com/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 push` gets each value through the secret's own provider and writes it to every listed target, using the fnox key as the name. ```toml [targets.gh-prod] type = "github-actions" repo = "acme/api" environment = "production" [targets.vercel] type = "vercel" environments = ["production", "preview"] sensitive = true [secrets] STRIPE_KEY = { provider = "op", value = "Stripe/secret key", push = ["gh-prod", "vercel"] } ``` ```sh fnox push --dry-run # preview the writes fnox push STRIPE_KEY -t gh-prod fnox -P production push # use the production profile's targets ``` - Supported target types: `github-actions` (via `gh`), `gitlab-ci` (via `glab`), `vercel`, `cloudflare-workers` (via `wrangler`), `fly`, `forgejo-actions` (Forgejo/Gitea/Codeberg REST API, token from `FORGEJO_TOKEN`/`GITEA_TOKEN`), and `hcp-terraform` (token from `TF_TOKEN_<host>`, `TFE_TOKEN`, or `terraform login`). - CLI-based targets receive the value on stdin, not as an argument, and use whatever login that CLI already has. - `fnox push` asks for confirmation unless you pass `--force`. `--non-interactive` only 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. - A profile can define its own targets or override a top-level target that has the same name. - Pushing keeps a value out of terminals, clipboards and chat transcripts. It doesn't hide the value from anyone who can change code that runs with the secret. - **Lease credentials in proxy rules** ([#&#8203;1078](https://github.com/jdx/fnox/pull/1078)) by [@&#8203;jdx](https://github.com/jdx). A `[[proxy.rules]]` entry can now set `lease` instead of `secret`. The proxy then mints a short-lived credential from that lease (for example `gitlab`, `github-app`, `vault` or `cloudflare`) 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. ```toml [leases.forge] type = "gitlab" # url, project, scopes, duration ... [[proxy.rules]] lease = "forge" domain = "forge.example.com" header = "private-token" methods = ["POST"] ``` - Each rule sets exactly one of `secret` and `lease`. `env` defaults to the variable the lease produces. Leases that produce several variables, and `command` leases, need `credential = "NAME"` to pick one. `aws-sts` leases are rejected. - The proxy mints a lease the first time a matching request needs it, and concurrent requests share that lease. A new lease is minted shortly before the old one expires. Old values stay redacted from responses. - When the command exits, fnox revokes every lease it minted, if the backend supports revocation. Minted leases are recorded in the lease ledger, so `fnox lease list` and `fnox lease revoke` can clean them up if fnox was killed. - If the parent credential is missing at startup, `fnox proxy run` won't start. If minting fails, that request is refused, and a later request tries again. - **Sync cache for `[files]`** ([#&#8203;1081](https://github.com/jdx/fnox/pull/1081)) by [@&#8203;jdx](https://github.com/jdx). `fnox sync` now 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 by `fnox get --file`, `fnox files write` and `fnox 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 --file` and `fnox reencrypt` drop the old cache. Run `fnox sync` again whenever the file changes at its source. ```sh fnox sync -p sync-age # or: fnox sync ~/.kube/config ``` - **Port-specific `allow_private` entries** ([#&#8203;1088](https://github.com/jdx/fnox/pull/1088)) by [@&#8203;jdx](https://github.com/jdx). Under `fnox proxy run --sandbox`, you can now give the command access to one local service without opening every port on that address. Entries take the forms `ip:port`, `[ipv6]:port`, or a CIDR block followed by a port. A bare IP or CIDR still covers every port. Port `0`, hostnames and malformed entries are rejected when the config loads. ```toml [proxy] allow_private = ["127.0.0.1:4790", "[::1]:4790"] ``` #### Changed - **Signal handling in `fnox proxy run`** ([#&#8203;1078](https://github.com/jdx/fnox/pull/1078)) by [@&#8203;jdx](https://github.com/jdx). Outside the sandbox, `fnox proxy run` no longer exits as soon as it gets a signal. It passes `SIGTERM` and `SIGHUP` on to the command. It also passes on `SIGINT`, 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 - **macOS sandbox escape through `open`** ([#&#8203;1090](https://github.com/jdx/fnox/pull/1090)) by [@&#8203;jdx](https://github.com/jdx). A command run under `fnox proxy run --sandbox` on macOS could use `open` to 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 [@&#8203;jdx](https://github.com/jdx), an open source developer at [**entire.io**](https://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](https://jdx.dev/sponsors.html). Your support funds ongoing development and helps keep fnox secure, free, and independent. ### [`v1.45.0`](https://github.com/jdx/fnox/releases/tag/v1.45.0): : Agents can ask you to enter a missing secret, and fnox proxy run serves MCP tools with placeholders [Compare Source](https://github.com/jdx/fnox/compare/v1.44.0...v1.45.0) 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 run` can now start before every secret is set, and it serves fnox's MCP tools using placeholders instead of real values. `fnox env --describe` also reports which file defines each key, and symlinked global configs now work with `[files]`. #### Added - **`request_secret` MCP tool** ([#&#8203;1065](https://github.com/jdx/fnox/pull/1065), [#&#8203;1074](https://github.com/jdx/fnox/pull/1074), [#&#8203;1075](https://github.com/jdx/fnox/pull/1075)) by [@&#8203;jdx](https://github.com/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 on `127.0.0.1` and sends the link to the MCP client through URL-mode elicitation. You type the value on that page and fnox stores it the same way `fnox set` does. The agent is told only that the secret was stored, and `exec` injects it from then on. The tool is off by default: ```toml default_provider = "age" [mcp] tools = ["exec", "request_secret"] ``` - If `mcp.secrets` is set, the agent can only ask for names on that list. The `plain` provider is refused. If the secret already has a value, fnox doesn't ask for it again unless the agent passes `replace: true`. - The link works once and expires after 10 minutes. The page rejects cross-site form posts. After you save, a reload shows the result for 60 seconds and doesn't store the value a second time. - If the client doesn't support URL-mode elicitation, no page opens. Instead, the agent is told to ask you to run `fnox set NAME` in 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. - The input is a single line, so multi-line values such as PEM keys still need `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. - **MCP tools under `fnox proxy run`** ([#&#8203;1072](https://github.com/jdx/fnox/pull/1072)) by [@&#8203;jdx](https://github.com/jdx). When an agent runs `fnox mcp` inside `fnox 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_secret` returns the secret's placeholder instead of its real value. `request_secret` opens its page from the proxy process, outside the sandbox. After you enter the value, the proxy starts injecting it into matching requests. `exec` isn't offered in this mode. `[mcp] tools` and `secrets` still apply. Only secrets that have a proxy rule can be used this way. Once the child starts, `fnox proxy run` no longer prompts for provider authentication, so authenticate before you start it. - **Pending proxy secrets** ([#&#8203;1071](https://github.com/jdx/fnox/pull/1071)) by [@&#8203;jdx](https://github.com/jdx). Before, `fnox proxy run` exited 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 with `fnox set STRIPE_KEY` in 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. ```toml [secrets] STRIPE_KEY = { description = "Stripe test key" } [[proxy.rules]] secret = "STRIPE_KEY" domain = "api.stripe.com" ``` - **Key source in `fnox env --json --describe`** ([#&#8203;1059](https://github.com/jdx/fnox/pull/1059)) by [@&#8203;jdx](https://github.com/jdx). Each key now has a `source` field with `path`, the file whose definition wins, and `global`, 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. In `fnox-client`, `KeyInfo` gains `source` and a `with_source` builder. ```json "source": { "path": "/home/me/.config/fnox/config.toml", "global": true } ``` #### Fixed - **Symlinked global config and source files** ([#&#8203;1063](https://github.com/jdx/fnox/pull/1063)) by [@&#8203;jdx](https://github.com/jdx). fnox 1.44.0 refused `[files]` when `~/.config/fnox/config.toml` was a symlink, as dotfiles managers such as stow create. Because `fnox set --file` had already stored the entry, every later command failed. fnox also rejected source files linked into `~/.config/fnox/files/`. Both now work. `fnox set` and `fnox reencrypt` write 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 project `fnox.toml` that 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 [@&#8203;jdx](https://github.com/jdx), an open source developer at [**entire.io**](https://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](https://jdx.dev/sponsors.html). Your support funds ongoing development and helps keep fnox secure, free, and independent. ### [`v1.44.0`](https://github.com/jdx/fnox/releases/tag/v1.44.0): : Store whole files by path and edit a single secret [Compare Source](https://github.com/jdx/fnox/compare/v1.43.0...v1.44.0) fnox 1.44.0 adds secret files: whole files such as `~/.kube/config` stored in the global config under the path they belong at, and written there with `fnox files write`. `fnox edit` can now edit one secret, accepts editor commands that include arguments, and saves the change to the config file that defines the secret. #### Added - **Secret files** ([#&#8203;1056](https://github.com/jdx/fnox/pull/1056)) by [@&#8203;jdx](https://github.com/jdx) and [@&#8203;owpac](https://github.com/owpac). Some secrets need to exist as files at a fixed path, such as `~/.kube/config`, `~/.aws/credentials` or `~/.npmrc`. You can now declare them in a `[files]` table, using the path as the key. Files use the same providers, profiles and `fnox reencrypt` as secrets, but fnox never turns them into environment variables. ```toml # ~/.config/fnox/config.toml [files] "~/.kube/config" = { provider = "age", value = "YWdl..." } [profiles.work.files] "~/.aws/credentials" = { provider = "age", source = "files/aws-credentials.age" } ``` ```sh fnox set --file ~/.kube/config # store the file at that path fnox get --file ~/.kube/config # print it, byte for byte fnox edit --file ~/.kube/config # edit it in $EDITOR fnox remove --file ~/.kube/config # remove the entry fnox files # list entries without decrypting them fnox files write # write every file of the active profiles ``` - `[files]` is only allowed in the global config. If a project `fnox.toml` declares it, fnox reports an error, so a cloned repository can't make fnox overwrite paths such as `~/.ssh/authorized_keys`. - A key must be an absolute path or start with `~/`. Content is kept byte for byte, including the final newline, and must be UTF-8 text. - You can keep the encrypted content in a separate file with `source` instead of `value`. The path is relative to the config directory and can't point outside it. The `plain` provider can't be used for files. - `fnox files write` resolves every file before it writes any of them. It writes each file with mode `0600` and replaces a symlink at the path instead of writing through it. Files whose content already matches are left unchanged. `--dry-run` lists what would be written, and path arguments limit the write to those files. - Files are written only when you run `fnox files write`. `fnox exec` and shell integration don't write them. - **Edit a single secret** ([#&#8203;1045](https://github.com/jdx/fnox/pull/1045)) by [@&#8203;jdx](https://github.com/jdx). `fnox edit KEY` opens 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 keeps `env`, `description` and 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. Running `fnox edit` with no key works the same as before. ```sh fnox -P work edit KUBECONFIG ``` #### Fixed - **Editor commands with arguments** ([#&#8203;1045](https://github.com/jdx/fnox/pull/1045)) by [@&#8203;jdx](https://github.com/jdx). Setting `EDITOR="code --wait"` or `EDITOR="vim -n"` used to fail with `Failed to launch editor`. fnox now splits the value using shell quoting rules. If `EDITOR` is empty, fnox uses `VISUAL`, then `vi` (`notepad` on Windows). fnox now also reports an error when the editor exits with a nonzero status. - **`fnox edit KEY` saving to the wrong file** ([#&#8203;1048](https://github.com/jdx/fnox/pull/1048)) by [@&#8203;jdx](https://github.com/jdx). Editing a secret defined in the global config or a parent project used to create a new `./fnox.toml` in 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 a `fnox sync --local-file` cache holds the secret, fnox updates the shared definition and removes the outdated cache entry. - **`fnox set` on synced and inherited secrets** ([#&#8203;1045](https://github.com/jdx/fnox/pull/1045)) by [@&#8203;jdx](https://github.com/jdx). Setting a new value now clears the secret's `fnox sync` cache, so an outdated cached value no longer takes precedence. Setting a value for a secret inherited from another profile or config layer now keeps its `as_file`, `env`, `description` and other settings. **Full Changelog**: <https://github.com/jdx/fnox/compare/v1.43.0...v1.44.0> #### 💚 Sponsor fnox fnox is built and maintained by [@&#8203;jdx](https://github.com/jdx), an open source developer at [**entire.io**](https://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](https://jdx.dev/sponsors.html). Your support funds ongoing development and helps keep fnox secure, free, and independent. </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMjIuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIyMi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
chore(deps): update dependency fnox to v1.45.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
edfcab722e
rosa scheduled this pull request to auto merge when all checks succeed 2026-11-07 04:05:20 +00:00
rosa force-pushed renovate/fnox-1.x from edfcab722e
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
to bafaa56289
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
2026-11-08 12:04:36 +00:00
Compare
rosa changed title from chore(deps): update dependency fnox to v1.45.0 to chore(deps): update dependency fnox to v1.46.0 2026-11-08 12:04:36 +00:00
rosa merged commit bafaa56289 into main 2026-11-08 12:04:38 +00:00
rosa deleted branch renovate/fnox-1.x 2026-11-08 12:04:38 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
rosa/gtt!17
No description provided.