Zum Inhalt springen

Fnox Updates & Release Notes

Einträge
43
Quellen
1
Zuletzt aktualisiert

Folge Fnox, um die Release Notes in deinen Feed zu holen.

Fnox von jdx

fnox 1.34.0: Keeper-Secrets-Manager-Provider und set --from-file

fnox 1.34.0 ergänzt einen schreibgeschützten Keeper-Secrets-Manager-Provider (keeper-sm) und fnox set --from-file und behebt Fehler bei dateibasierten Secrets, FIDO2-Abfragen und Shell-Integration.

This release adds a read-only Keeper Secrets Manager provider and delivers a batch of fixes to file-backed secrets, FIDO2 prompting, and shell integration.

Added

  • Keeper Secrets Manager provider (#720) -- @jdx. A new read-only keeper-sm provider backed by Keeper's official Rust SDK. Secret values use Keeper notation such as RECORD_UID/field/password. Authentication works from a JSON config file (KSM_CONFIG / FNOX_KEEPER_CONFIG, or the default ~/.keeper/ksm-config.json), with optional one-time-token bootstrap via KSM_TOKEN / FNOX_KEEPER_TOKEN (which must persist to a file-backed config). Batch reads redeem the token once and fetch concurrently, and Keeper environment variables are scrubbed from the proxy's ambient credentials.

    DB_PASSWORD = { provider = "keeper-sm", value = "RECORD_UID/field/password" }
    
  • fnox set --from-file <path> (#730) -- @jdx. Reads a secret value verbatim from a UTF-8 file without trimming, preserving trailing newlines. This fixes SSH private keys and similar as_file secrets losing their required final newline, which happened because fnox set trims stdin values and shell command substitution strips trailing newlines. The existing echo "x" | fnox set KEY behavior is unchanged; --from-file cannot be combined with a positional value.

    fnox set SSH_KEY --from-file ~/.ssh/id_ed25519
    

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.33.1: Remote-Schlüsselnamen bleiben bei fnox set erhalten

fnox 1.33.1 behebt, dass fnox set den benutzerdefinierten Remote-Schlüsselnamen eines Secrets überschreibt, und überarbeitet dabei put_secret des HashiCorp-Vault-Providers.

A small patch release centered on a fix to fnox set so updates no longer clobber a secret's custom remote key name. The rest is routine dependency and CI maintenance.

Fixed

  • fnox set preserves an existing remote key name (#712) -- @jdx. When updating a remote-backed secret, fnox set previously resolved the remote key only from --key-name or the environment variable name, overwriting any custom value in your config and writing to the wrong backend object. Now it reuses the existing provider key when one is configured for the same provider, while --key-name still takes highest precedence and the environment key is used as a fallback when creating a secret or switching providers. Inherited parent-config secrets no longer steer a child override.

    As part of this fix, the HashiCorp Vault provider's put_secret was reworked to update individual fields via kv patch (preserving sibling fields), pass values through piped stdin so @ and - are treated literally, and correctly handle missing paths, concurrent writers, and soft-deleted KV v2 metadata.

Full Changelog: https://github.com/jdx/fnox/compare/v1.33.0...v1.33.1

💚 Sponsor fnox …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.33.0: Benutzerdefinierte Felder im Bitwarden-Provider

fnox 1.33.0 unterstützt im Bitwarden-Provider benutzerdefinierte Felder, auch mit Schrägstrichen im Namen, und verbessert die Dokumentation zur age-basierten Synchronisierung.

A small release that adds custom field support to the Bitwarden provider, plus a documentation cleanup for personal age-based sync. The rest of the release is routine dependency and CI maintenance.

Added

  • Bitwarden custom field support (#690) -- @jdx. In addition to the standard username, password, notes, uri, and totp fields, any other field name in a item/field reference is now resolved as a custom field. With the default bw backend, fnox fetches the full item JSON and extracts the matching field (case-sensitive); with the rbw backend it uses the --field flag.

    API_KEY = { provider = "bitwarden", value = "Database/API Key" }
    

Fixed

  • Bitwarden custom field names containing slashes (#693) -- @jdx. References now split only on the first /, so custom field names such as Database/API/Key resolve correctly. This also removes the previous "too many slashes" error for references with more than one /.

Documentation

  • Clarified personal age provider setup for sync (#692) -- @jdx. The sync guide now uses a dedicated sync-age provider with the --local-file flag, corrects the invalid fnox set --provider age setup step, explains how provider definitions replace by name rather than deep-merging, and distinguishes a personal sync cache from team-encrypted secrets in git. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.32.0: Credential-Proxy, exec --replace und Azure App Configuration

fnox 1.32.0 bringt einen zielbezogenen Credential-Proxy, exec --replace, einen Azure-App-Configuration-Provider und IAM-Rollenübernahme für AWS-Provider und korrigiert das Layering der globalen Konfiguration unter --config-Pfaden.

A feature-packed release adding a destination-scoped credential proxy, a process-replacement mode for exec, a new Azure App Configuration provider, and IAM role assumption for the AWS providers, plus a fix to how global config layers under explicit --config paths.

Highlights

  • New ways to keep real secrets out of workloads: a credential proxy that brokers HTTPS requests without exposing secret values, and an exec --replace mode for clean environment-only execution.
  • Broader cloud coverage: a read-only Azure App Configuration provider and cross-account IAM role assumption in the AWS providers.

Added

Credential proxy (#667) -- @jdx

A new [proxy] configuration and fnox proxy command let agent-style workloads call external APIs without ever receiving real secret values in their environment. fnox runs an ephemeral loopback TLS interception proxy that substitutes credentials into allowed request headers only for destinations that match your rules, and redacts reflected secret values from responses.

fnox proxy rules            # inspect the effective policy
fnox proxy run -- ./agent   # run a command through the local proxy
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.31.1: Wartung und Abhängigkeitsupdates

fnox 1.31.1 enthält ausschließlich Abhängigkeitsupdates und interne Tooling-Änderungen, darunter MSRV-bewusste Abhängigkeitsauflösung in Cargo.

A small maintenance release. There are no new features or bug fixes in v1.31.1 — it consists entirely of dependency updates and internal tooling changes.

Changed

  • Routine dependency bumps across the runtime and build stack, including tokio, rustls, clap, regex, toml_edit, keepass, google-cloud-secretmanager-v1, apple-native-keyring-store, and others, by @renovate.
  • Cargo now uses MSRV-aware dependency resolution (incompatible-rust-versions = "fallback") so updates prefer versions compatible with fnox's declared minimum Rust version, keeping the project buildable for distro and nixpkgs packagers (#627) -- @jdx.

Full Changelog: https://github.com/jdx/fnox/compare/v1.31.0...v1.31.1

💚 Sponsor fnox

fnox is maintained by @jdx, an open source developer for entire.io, the title sponsor of the jdx.dev open source tools including mise, aube, hk, and more. Keeping fnox secure, maintained, and free is funded by sponsors.

If fnox is handling secrets or config for you or your team, please consider sponsoring at jdx.dev. Sponsorships are what let fnox stay independent and the project keep moving.

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.31.0: Kombinierbare Profile als Overlay-Stack

fnox 1.31.0 erlaubt es, mehrere Profile gleichzeitig als geordneten Overlay-Stack zu aktivieren, und schlägt bei gesperrter Proton-Pass-Sitzung das Entsperren vor.

A small release headlined by composable multi-profile support, plus a friendlier Proton Pass error when your session is locked.

Added

Compose multiple active profiles (#605) -- @gaojunran

You can now activate more than one profile at a time as an ordered overlay stack. The top-level config is the base, and each profile is layered on top in order, with later profiles overriding earlier ones on key conflicts.

# Repeatable flags
fnox -P aws -P prod exec -- ./app

# Comma-separated
fnox -P aws,prod exec -- ./app

# Environment variable
FNOX_PROFILE=aws,prod fnox exec -- ./app

The effective config resolves as top-level config + profiles.aws + profiles.prod, and fnox.<profile>.toml files are loaded for each active profile in order. Write commands (set, remove, import, sync, provider add/remove) target the last active profile by default, and the full profile stack is factored into the daemon's request protocol, socket path, and cache key. Library users get a new with_profiles() builder.

Fixed

Proton Pass suggests unlocking a locked session (#612) -- @TyceHerrman …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.30.0: Paranoider Env-Modus und Proton-Pass-PAT-Authentifizierung

fnox 1.30.0 führt den Modus env = "exec" samt Top-Level-env-Standard ein, erweitert die Proton-Pass-Authentifizierung per PAT und bereinigt die Standardwerte von fnox export.

A focused release that hardens fnox's secret exposure model with an exec-only env mode, expands Proton Pass authentication for CI and agent use, and cleans up fnox export defaults.

Added

Exec-only env mode and top-level env default (#604) -- @jdx

The per-secret env field gains a new "exec" state, and a new top-level env sets the default for all secrets. This lets you keep secrets out of the interactive shell -- where AI coding agents and other inherited processes would see them -- while still injecting them into fnox exec subprocesses.

env shell integration / fnox export fnox exec fnox get
true (default) yes yes yes
"exec" (new) no yes yes
false no no yes

One line flips a project to default-deny:

env = "exec"   # nothing enters the interactive shell

[secrets]
DATABASE_URL = { provider = "age", value = "..." }               # exec-only (inherited)
PS1_TOKEN    = { provider = "age", value = "...", env = true }   # explicit opt-back-in
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.29.0: Age-Plugins und Nix-Flake

fnox 1.29.0 unterstützt im age-Provider nun age-Plugins (z. B. YubiKey, Apple Secure Enclave, TPM) für Empfänger und Identitäten und wird zusätzlich als Nix-Flake bereitgestellt.

A feature release focused on hardware-backed age encryption, more predictable path handling in config files, and faster GCP Secret Manager batches -- plus a Nix flake for the flake-curious.

Added

Age plugin recipients and identities (#569) -- @nightvisi0n

The age provider now supports age plugins, so hardware-backed and specialty recipients work end to end. That includes age-plugin-yubikey (YubiKey/PIV), age-plugin-se (Apple Secure Enclave), age-plugin-tpm, and friends.

Previously a plugin recipient like age1yubikey1... failed at config load with Failed to parse recipient ... incorrect HRP because the provider only understood native X25519 and SSH recipients. It now parses age::plugin::Recipient values, spawns the matching age-plugin-* binary for encryption, and attaches UiCallbacks to identity files so AGE-PLUGIN-* identities get PIN/touch prompts on decrypt.

Nix flake (#583) -- @o-az

fnox is now packaged as a Nix flake. Consume it from another flake:

inputs.fnox.url = "github:jdx/fnox";
# ...then reference inputs.fnox.packages.${system}.default

Or run it directly without installing:

nix run github:jdx/fnox

The flake also exposes a devShells.default with cargo, clippy, and rustfmt.

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.28.0: Nicht-interaktiver Modus für exec

fnox 1.28.0 ergänzt die globale Option --non-interactive bzw. FNOX_NON_INTERACTIVE, die Eingabeaufforderungen und browserbasierte Authentifizierung deaktiviert, sodass CI- und Skriptläufe bei erforderlicher Interaktion sofort mit einem Fehler abbrechen.

A small feature release that adds a global --non-interactive mode for fnox exec and other resolve paths, so CI and scripted runs can rely on cached credentials and fail fast instead of hanging on auth prompts or device flows.

Added

Global --non-interactive / FNOX_NON_INTERACTIVE (#565) -- @jdx

A new top-level flag (and matching env var) disables prompts and browser-based auth flows for the entire invocation. It is propagated through the daemon protocol, so daemon-backed resolution behaves the same way as direct resolution -- including when fnox auto-starts daemon serve to handle the request.

fnox --non-interactive exec -- ./run-tests.sh
# or
FNOX_NON_INTERACTIVE=1 fnox exec -- ./run-tests.sh

In non-interactive mode:

  • should_prompt_auth no longer prompts, regardless of TTY or prompt_auth config.
  • The github-oauth lease backend still happily reuses cached and refreshable tokens, but fails immediately with a clear interactive auth required for GitHub OAuth device authorization error instead of printing a user code and polling. The error hint points you at running fnox lease create <lease-name> from an interactive terminal first.

This is intended for CI jobs, cron tasks, and other scripted runs where a hung prompt is worse than a fast failure.

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.27.1: dotenv-Export und Windows-Build-Fix

fnox 1.27.1 lässt fnox export --format env echte dotenv-Dateien erzeugen, ergänzt ein separates shell-Format für sourcebare Ausgabe, passt fnox import entsprechend an und behebt den durch den Daemon aus v1.27.0 verursachten Windows-Build-Fehler.

A small patch release that makes fnox export actually produce dotenv files, adds a separate shell format for sourceable output, and unbreaks the Windows build introduced by the v1.27.0 daemon.

Fixed

fnox export --format env now emits real dotenv (#554) -- @jdx

The env format was documented as .env/KEY=value but was actually emitting shell export KEY='value' lines, which broke consumers that expect bare assignments. It now produces proper dotenv output:

$ fnox export --format env
NORMAL_SECRET=normal-value
SPECIAL_SECRET="secret$value`tick`"
QUOTED_SECRET="quoted \"value\" with \\ backslash"

Simple values are left unquoted; values containing whitespace or special characters are double-quoted with \n, \r, \t, ", and \ escaped. $ and backticks are deliberately left literal so the file round-trips through dotenv parsers.

fnox import was updated to match: double-quoted .env values now have \n, \t, \", and \\ unescaped on the way in, so an export/import round-trip preserves multi-line and quoted secrets.

Windows builds fixed (#555) -- @jdx …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.27.0: Daemon, Secret-Scanning und Config-Defaults

fnox 1.27.0 führt einen optionalen Daemon pro Benutzer für gecachte Secret-Auflösung, den Befehl fnox scan zum Finden von Klartext-Secrets und ${VAR}-Interpolation für Secret-Defaults ein.

This release adds three pieces aimed at making fnox faster, safer, and easier to compose: an opt-in per-user daemon for cached secret resolution, a new fnox scan command for finding plaintext secrets before they leak, and ${VAR} interpolation for secret defaults. It also includes a small documentation pass and CI housekeeping.

Added

Per-user secret resolver daemon (#550) -- @jdx

fnox now has an opt-in daemon that keeps resolved secrets in memory for your user session and serves repeated read-oriented resolutions over a same-user Unix socket. It is intended for configs backed by remote providers such as 1Password, Bitwarden, AWS Secrets Manager, or Vault where repeated fnox get, fnox exec, shell hooks, TUI refreshes, or MCP calls can otherwise feel slow.

Enable it with a top-level config block:

[daemon]
enabled = true
idle_timeout = "8h"

New lifecycle commands are available under fnox daemon:

fnox daemon start
fnox daemon status
fnox daemon clear
fnox daemon stop

Implementation details worth knowing:

  • Daemon-backed resolution is used by read-oriented commands such as get, exec, export, hook-env, list --values, check, tui, mcp, and ci-redact.
  • Mutation and admin flows still resolve directly, including set, remove, sync, reencrypt, edit, provider, and lease create. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.26.0: Provider-basierte age-Identitäten und Vault-Befehle

fnox 1.26.0 erlaubt dem age-Provider, seine Identität über einen anderen Provider (z. B. Schlüsselbund) zu beziehen, lässt Vault-Provider und Lease-Backend Tokens per Shell-Befehl holen, bringt ein echtes put_secret_value für GCP Secret Manager und zwei Korrekturen für fnox export und hook-env in Shell-Pipelines.

A feature release centered on more flexible authentication: the age provider can now bootstrap its identity from another provider (for example, the OS keychain), and the Vault provider and lease backend can obtain tokens from a user-defined shell command. Also includes a real put_secret_value for GCP Secret Manager and two fixes that make fnox export and hook-env better citizens in shell pipelines.

Added

Provider-backed age identities (#515) -- @k35o

The age provider now accepts an identity reference that resolves through any other configured provider. This makes the keychain-bootstrap pattern from v1.25.1 actually work end-to-end:

[providers]
keychain = { type = "keychain", service = "fnox" }
age      = { type = "age", recipients = ["age1..."], identity = { provider = "keychain", value = "age-key" } }

Implementation details worth knowing:

  • Identities are resolved lazily during decryption, so fnox set and other encryption-only paths don't require access to the backing identity provider.
  • Resolution order is FNOX_AGE_KEY -> identity provider ref -> key_file -> deprecated CLI setting -> default ~/.config/fnox/age.txt.
  • Cycle detection catches both direct self-references (age -> age) and mutual cycles between two age providers, producing a clear Circular dependency detected in provider configuration: age-a -> age-b -> age-a error. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.25.1: Keychain-Zuverlässigkeit und Abhängigkeits-Updates

fnox 1.25.1 behebt unter macOS einen Deadlock und gestapelte Sicherheitsdialoge beim Keychain-Provider, indem Zugriffe über einen Blocking-Pool laufen und Einträge seriell aufgelöst werden, und stellt den KeePass-Provider auf keepass 0.12 um.

A patch release focused on the OS keychain provider: a deadlock and dialog-storm fix on macOS, plus a clean migration to keyring-core v1 and keepass 0.12.

Fixed

Keychain provider no longer deadlocks the runtime or stacks dialogs (#495) -- @jdx

Resolving several keychain-backed secrets at once on macOS could hang fnox indefinitely (see discussion #489). The default batch path fans out 10 concurrent reads, which surfaced up to 10 overlapping "Always Allow / Allow / Deny" Security dialogs and pinned every tokio worker thread waiting for the user — deadlocking the runtime.

Two changes fix this:

  • All keyring-core calls (set_password, get_password, delete_credential) now run via tokio::task::spawn_blocking, so a blocked Security dialog never pins a runtime worker.
  • The keychain provider overrides get_secrets_batch to resolve entries serially, so dialogs appear one at a time and Ctrl-C stays responsive.

fnox set against the keychain and test_connection are routed through the blocking pool too.

KeePass provider works with keepass 0.12 (#494) -- @jdx

The 0.10 → 0.12 bump made Group.groups, Group.entries, Database.root, and friends pub(crate), with access now going through Database::root(), GroupRef/GroupMut accessors, and add_group / add_entry. The provider has been rewritten to match: …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.25.0: FOKS-Provider und saubere Pipe-Behandlung

fnox 1.25.0 fügt einen neuen foks-Provider für den Ende-zu-Ende-verschlüsselten FOKS-KV-Store hinzu und behebt einen Panic, wenn fnox get in einen Prozess gepiped wird, der die Pipe vorzeitig schließt.

Adds a new foks provider for the FOKS end-to-end encrypted KV store, and fixes a long-standing panic when piping fnox get into a process that closes the pipe early.

Added

foks provider for the Federated Open Key Service (#486) -- @maxtaco

A new provider that stores secrets in a FOKS end-to-end encrypted KV store via the foks CLI. Supports both personal and team-scoped configurations:

[providers]
foks = { type = "foks", prefix = "fnox/" }                # personal
ops  = { type = "foks", prefix = "fnox/", team = "ops" }  # team-shared

[secrets]
DATABASE_URL = { provider = "ops", value = "DATABASE_URL" }

Configurable fields:

  • prefix — path namespace within the FOKS KV store
  • team — FOKS team to scope to (passed through as --team)
  • home — custom FOKS home dir (passed as --home); falls back to FNOX_FOKS_HOME / FOKS_HOME
  • host, bot_token — non-interactive auth for CI

When bot_token and host are configured (or FOKS_BOT_TOKEN / FOKS_HOST are set in env), the provider transparently runs foks bot use --host <host> on the first auth failure and retries the operation, so CI just needs:

env:
  FOKS_BOT_TOKEN: ${{ secrets.FOKS_BOT_TOKEN }}
steps:
  - run: brew install foks
  - run: foks ctl start
  - run: fnox exec -- ./deploy.sh
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.24.1: Sicherere Shell-Aktivierung und Tabellenformat

fnox 1.24.1 bewahrt bei fnox set und fnox import das Tabellenformat von [secrets.NAME] und verhindert in bash/zsh die Shell-Expansion von Secret-Werten, indem diese nun POSIX-konform in Single-Quotes ausgegeben werden.

A small bug-fix release that hardens shell activation against expansion of secret values and stops fnox set / fnox import from rewriting [secrets.NAME] tables as inline tables.

Fixed

Preserve table-style secret formatting on edits (#467) -- @jdx

fnox set and fnox import previously rewrote any existing [secrets."NAME"] table as a single-line inline table ("NAME" = { provider = ..., value = ... }), discarding the multi-line layout. Both commands now detect the existing style and update fields in-place, keeping the [secrets."NAME"] header, comments, and key order intact:

[secrets."SEKRIT_PASSWORD"]
provider = "age"
value = "..."          # updated in place
if_missing = "error"   # preserved

Prevent shell expansion of secret values in bash/zsh activation (#473) -- @jdx

The bash and zsh hook-env output previously wrapped values in double quotes with only \ and " escaped, so a secret containing $$, `cmd`, or ${...} would be expanded by the shell when the activation script was eval-ed — leaking e.g. the shell PID into the variable (see discussion #471). fnox now POSIX-quotes values via shlex, producing safe single-quoted output:

export DOLLAR_SECRET='$$test'
export BACKTICK_SECRET='a`whoami`b'
``` …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.24.0: GitHub-OAuth-Lease-Backend

fnox 1.24.0 ergänzt ein github-oauth-Lease-Backend, das über den OAuth-Device-Flow kurzlebige, benutzerbezogene GitHub-Tokens erzeugt, ohne dass ein privater App-Schlüssel verteilt werden muss.

A focused release that adds a new github-oauth lease backend for minting short-lived, user-attributed GitHub tokens via OAuth device flow — without distributing an app private key.

Added

github-oauth lease backend (#464) -- @jdx

A new lease type that creates GitHub App user access tokens using the OAuth device flow and injects them as GITHUB_TOKEN (or a custom env var) for the duration of fnox exec. It is the recommended option for local development and user-attributed gh / GitHub API usage where you want a short-lived token tied to the signed-in user instead of a long-lived PAT in fnox.toml.

[leases.github]
type = "github-oauth"
client_id = "Iv1.yourgithubappclientid"
scope = "repo read:org workflow"
duration = "8h"
fnox exec -- gh pr list

On first run, fnox prints a verification URL and user code, optionally opens the URL in your browser, and polls GitHub until you approve the device prompt. Subsequent runs reuse the cached token until it expires.

Highlights of the backend:

  • Only the GitHub App client ID is required — no app private key and no client secret, so the lease config can be checked in and shared across a team. (The existing github-app backend remains the right choice for installation tokens in CI.) …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.23.1: Alpine-Binaries und fnox-core-Crate

fnox 1.23.1 liefert statisch gelinkte musl-Binaries für Linux (x86_64 und aarch64) für Alpine, ergänzt Favicons und ein Web-Manifest für die Dokumentationsseite und lagert den Bibliotheksteil in die Crate fnox-core aus.

A small release that ships native musl binaries for Alpine users and splits the library half of fnox into its own fnox-core crate for downstream Rust consumers.

Added

musl Linux binaries (#452) -- @jdx

Releases now include x86_64-unknown-linux-musl and aarch64-unknown-linux-musl artifacts alongside the existing gnu builds. The previous glibc-linked binaries failed on Alpine with cannot execute: required file not found (missing libudev.so.1 and glibc-only symbols like __res_init) — even with gcompat installed. The musl builds are statically linked and run cleanly on alpine:3 and friends:

docker run --rm -v "$PWD:/work" alpine:3 sh -c \
  'cd /work && tar xzf fnox-*-x86_64-unknown-linux-musl.tar.gz && ./fnox --version'

Note: the fido2 provider is not compiled into musl builds (its ctap-hid-fido2 dependency doesn't build under musl). Alpine users needing hardware-key-style flows should use age, pass, or a cloud provider. The keychain provider compiles but, as on any headless Linux, requires a session bus at runtime.

Docs site favicons and web manifest (#448) -- @jdx

Adds a simplified vault-door favicon.svg plus favicon.ico, 16/32 PNGs, apple-touch-icon.png, Android Chrome icons, and a site.webmanifest for installable-PWA metadata.

Changed

fnox-core library crate (#458) -- @jdx …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.23.0: Zeilenauswahl für mehrzeilige Secrets

fnox 1.23.0 führt ein 1-indiziertes line-Feld ein, mit dem sich aus einem mehrzeiligen Secret eine einzelne Zeile auswählen lässt, etwa bei pass-Einträgen mit Passwort in Zeile 1 und Metadaten in den folgenden Zeilen.

A small, focused release that adds a line selector for picking a single line out of a multiline secret — most useful for the pass convention of storing the password on line 1 and metadata (username, URL, etc.) on subsequent lines.

Added

Line selector for multiline secrets (#446) -- @fgrosse

Secrets now accept a 1-indexed line field that returns just the Nth line of the resolved value. This matches the pass show <entry> --clip=N convention and lets you expose multiple fields from a single pass entry as separate secrets:

[providers.pass]
type = "password-store"
prefix = "fnox/"

[secrets]
# `pass show fnox/database` returns:
#   <password>
#   <username>
DB_PASSWORD = { provider = "pass", value = "database", line = 1 }
DB_USERNAME = { provider = "pass", value = "database", line = 2 }

Details worth knowing:

  • line is mutually exclusive with json_path; using both on the same secret is an error.
  • Line splitting uses str::lines(), so \r\n endings are handled cleanly and a single trailing newline doesn't shift indices.
  • line = 0 and out-of-range values produce clear error messages (e.g. `line = 5` is out of range; secret has 2 line(s)).
  • Post-processing applies uniformly to provider, default, and env-var sources.
  • fnox sync and fnox reencrypt cache the raw provider value, not the post-processed view, so the selector stays a read-only projection. …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.22.0: Bibliotheks-API und Fix für fnox set

fnox 1.22.0 führt eine Top-Level-Fnox-Bibliotheks-API zum Einbetten in Rust-Anwendungen ein und behebt, dass fnox set verschlüsselte Secrets stillschweigend in Klartext umwandeln konnte.

v1.22.0 introduces a top-level library API for embedding fnox in Rust applications, and fixes a sharp edge in fnox set that could turn an encrypted secret into plaintext.

Added

Top-level Fnox library API (#442) -- @bglusman

Downstream Rust consumers can now use fnox as a library in three lines instead of replicating the internals of GetCommand::run:

use fnox::Fnox;

let fnox = Fnox::discover()?;          // walks up + merges parent + local + global config
let value = fnox.get("MY_KEY").await?;
let names = fnox.list()?;

The new Fnox type lives in src/library.rs and is re-exported from the crate root. Highlights:

  • Fnox::discover() mirrors the binary's full config-discovery and merge chain via Config::load_smart, including the FNOX_PROFILE env var.
  • Fnox::open(path) loads an explicit config without the upward-search/merge behavior.
  • Fnox::with_profile("staging") builder for non-default profiles.
  • get() returns FnoxError::SecretNotFound with a populated "Did you mean…" suggestion, matching the CLI's UX so callers don't need to recompute it.
  • Fnox is cheap to clone (Config is held behind an Arc) and safe to hold across .await.

set() is intentionally not part of this first cut; it'll get its own design pass.

Fixed

fnox set no longer silently downgrades encrypted secrets to plaintext (#439) -- @rpendleton …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

Fnox 1.22.0: Library-API und Korrektur bei fnox set

Fnox 1.22.0 führt eine Top-Level-Fnox-Library-API zum Einbetten in Rust-Anwendungen ein und behebt, dass fnox set verschlüsselte Secrets stillschweigend zu Klartext herabstufen konnte.

v1.22.0 introduces a top-level library API for embedding fnox in Rust applications, and fixes a sharp edge in fnox set that could turn an encrypted secret into plaintext.

Added

Top-level Fnox library API (#442) -- @bglusman

Downstream Rust consumers can now use fnox as a library in three lines instead of replicating the internals of GetCommand::run:

use fnox::Fnox;

let fnox = Fnox::discover()?;          // walks up + merges parent + local + global config
let value = fnox.get("MY_KEY").await?;
let names = fnox.list()?;

The new Fnox type lives in src/library.rs and is re-exported from the crate root. Highlights:

  • Fnox::discover() mirrors the binary's full config-discovery and merge chain via Config::load_smart, including the FNOX_PROFILE env var.
  • Fnox::open(path) loads an explicit config without the upward-search/merge behavior.
  • Fnox::with_profile("staging") builder for non-default profiles.
  • get() returns FnoxError::SecretNotFound with a populated "Did you mean…" suggestion, matching the CLI's UX so callers don't need to recompute it.
  • Fnox is cheap to clone (Config is held behind an Arc) and safe to hold across .await.

set() is intentionally not part of this first cut; it'll get its own design pass.

Fixed

fnox set no longer silently downgrades encrypted secrets to plaintext (#439) -- @rpendleton …

Originalquelle(öffnet in neuem Tab)Problem melden