Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upstream release
Bumps bundled fnox binary from 1.22.0 to 1.23.0.
Release: https://github.com/jdx/fnox/releases/tag/v1.23.0
Release notes
A small, focused release that adds a
lineselector for picking a single line out of a multiline secret — most useful for thepassconvention 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
linefield that returns just the Nth line of the resolved value. This matches thepass show <entry> --clip=Nconvention and lets you expose multiple fields from a singlepassentry as separate secrets:Details worth knowing:
lineis mutually exclusive withjson_path; using both on the same secret is an error.str::lines(), so\r\nendings are handled cleanly and a single trailing newline doesn't shift indices.line = 0and out-of-range values produce clear error messages (e.g.`line = 5` is out of range; secret has 2 line(s)).fnox syncandfnox reencryptcache the raw provider value, not the post-processed view, so the selector stays a read-only projection.fnox setstill overwrites the entire entry —lineis read-only. Edit individual lines of an existing entry withpass edit <entry>.See the password-store provider docs for a full walkthrough.
New Contributors
Full Changelog: jdx/fnox@v1.22.0...v1.23.0
💚 Sponsor fnox
fnox is maintained by @jdx under en.dev — a small independent studio building developer tooling like 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 en.dev. Sponsorships are what let fnox stay independent and the project keep moving.