Zum Inhalt springen
Einträge
164
Quellen
3
Zuletzt aktualisiert

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

Fnox von jdx

fnox 1.21.0: PowerShell-Integration und Windows-Fixes

fnox 1.21.0 unterstützt PowerShell zum automatischen Laden von Secrets und behebt unter Windows Nushell-Aktivierungsfehler durch Backslashes in Pfaden sowie die Auflösung ausführbarer Dateien mit Endungen.

v1.21.0 brings first-class PowerShell support for auto-loading secrets, plus two important fixes for Windows users.

Added

PowerShell integration (#421) -- @nbfritch

fnox now supports PowerShell (pwsh / powershell) alongside bash, zsh, fish, and Nushell for automatic secret loading. Add the following to your PowerShell profile to enable it:

(&fnox activate pwsh) | Out-String | Invoke-Expression

The integration hooks into the PowerShell prompt to run hook-env on each prompt, sets and unsets environment variables as you change directories, and prints the familiar fnox: +1 FOO / fnox: -1 FOO diff output. Tested on PowerShell 7.6 on macOS and Windows, as well as Windows PowerShell 5.1. See the Shell Integration guide for setup details.

Fixed

Windows: Nushell activation errors from backslashes in paths (#425) -- @john-trieu-nguyen

On Windows, fnox activate nu emitted paths with backslashes (e.g. C:\Users\john) inside Nushell double-quoted strings, which Nushell parses as escape sequences -- producing unrecognized escape after "\\" in string. Paths are now normalized to forward slashes so Nushell integration works out of the box on Windows.

Windows: Executable resolution for commands with extensions (#427) -- @john-trieu-nguyen …

Originalquelle(öffnet in neuem Tab)Problem melden

Hk von jdx

Hk 1.43.0: hook_stdin, harper-Builtin und musl-Binaries

Hk 1.43.0 fügt die Template-Variable {{ hook_stdin }} für git-lfs, ein harper-cli-Builtin zur Grammatikprüfung und Linux-musl-Binaries hinzu, und hk ist wieder per cargo install hk über crates.io erhältlich.

This release adds {{ hook_stdin }} for forwarding git hook stdin to step commands (completing git-lfs support started in v1.42.0), introduces a built-in harper grammar checker, and ships Linux musl binaries for Alpine and other musl-based distributions.

Highlights

  • {{ hook_stdin }} template variable completes git-lfs pre-push support -- LFS objects are now properly uploaded during git push
  • harper-cli builtin adds grammar checking as a first-class linter
  • Linux musl release binaries for Alpine and other musl-based distros
  • hk is back on crates.io -- installable via cargo install hk again

Added

  • {{ hook_stdin }} template variable: Step commands can now receive the raw stdin that git passes to hook scripts via the stdin field. This is essential for git lfs pre-push, which needs the ref data piped through stdin to know which LFS objects to upload. Without this, git lfs pre-push would silently succeed but upload nothing, causing the remote to reject the push. The variable is available in pre-push and post-rewrite hooks. (@JohanLorenzo) #825

    hooks {
        ["pre-push"] {
            steps {
                ["git-lfs"] {
                    check = "git lfs pre-push {{ hook_args }}"
                    stdin = "{{ hook_stdin }}"
                }
            }
        }
    }
    ``` …
    

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

fnox 1.20.0: Doppler-Provider und Sync-Fix für json_path

fnox 1.20.0 fügt einen Provider für den Secrets-Manager Doppler hinzu und behebt einen Fehler, bei dem fnox sync Secrets mit json_path-Extraktion beschädigte.

v1.20.0 adds a new Doppler secrets manager provider and fixes a bug where fnox sync would corrupt secrets that use json_path extraction.

Added

Doppler secrets manager provider (#376) -- @natefaerber

fnox now supports Doppler as a secrets provider. The provider uses the Doppler CLI under the hood and supports project/config scoping, service token authentication, and efficient batch fetching via --json.

[providers]
app-prod = { type = "doppler", project = "my-app", config = "prd" }
app-dev  = { type = "doppler", project = "my-app", config = "dev" }

[secrets]
PROD_DB_URL = { provider = "app-prod", value = "DATABASE_URL" }
DEV_DB_URL  = { provider = "app-dev",  value = "DATABASE_URL" }

All configuration fields (project, config, token) are optional -- when omitted, the provider falls back to the Doppler CLI's own defaults (from doppler setup or environment variables like DOPPLER_TOKEN). Authentication works via interactive login, service tokens in config, or the DOPPLER_TOKEN / FNOX_DOPPLER_TOKEN environment variables.

You can add a Doppler provider interactively with:

fnox provider add my-doppler doppler

See the full Doppler provider documentation for setup instructions, CI/CD examples, and multi-environment patterns.

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden

Fnox von jdx

Fnox 1.19.0: Neuer Befehl fnox reencrypt

Version 1.19.0 führt den Befehl fnox reencrypt ein, der Secrets nach geänderter Provider-Konfiguration (z. B. age-Empfänger) neu verschlüsselt und in die ursprüngliche Quelldatei zurückschreibt, und behebt zudem, dass fnox set -k nicht nach dem Secret-Wert fragte.

v1.19.0 adds a new fnox reencrypt command that makes it easy to re-encrypt all your secrets when encryption provider configuration changes -- for example, when adding or removing age recipients. This release also fixes a bug where fnox set -k would skip prompting for the secret value.

Added

fnox reencrypt subcommand (#365) -- @jdx

Previously, re-encrypting secrets after changing recipients required a tedious manual loop of fnox get and fnox set for each secret. The new fnox reencrypt command handles this in one step: it decrypts matching secrets and re-encrypts them with the current provider configuration, writing the updated ciphertext back to the correct source config file.

# Re-encrypt all age secrets
fnox reencrypt -p age

# Preview what would be re-encrypted
fnox reencrypt -p age --dry-run

# Re-encrypt specific keys
fnox reencrypt MY_SECRET OTHER_SECRET

# Filter by regex pattern
fnox reencrypt --filter "^DB_"

# Skip the confirmation prompt
fnox reencrypt -p age -f

The command correctly handles multi-line secrets, writes back to the original source file (including distinguishing root [secrets] from [profiles.X.secrets]), clears stale sync caches, and scrubs decrypted plaintext from the process environment after re-encryption. Only secrets backed by encryption-capable providers are eligible.

Fixed …

Originalquelle(öffnet in neuem Tab)Problem melden