Skip to content

feat(show): add show.password config option (#3621) - #3623

Merged
dominikschulz merged 1 commit into
gopasspw:masterfrom
yzx9:show-password-config
Sep 29, 2026
Merged

dominikschulz merged 1 commit into
gopasspw:masterfrom
yzx9:show-password-config

Conversation

@yzx9

@yzx9 yzx9 commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Add a show.password config option that makes gopass show SECRET and the implicit gopass SECRET form display only the password by default, as if -o/--password was given.

We didn’t add a --no-password option, which mirrors the existing otp.onlyclip/--clip=false pattern, and allows -o=false to restore full output for a single invocation.

Closes #3621

Assisted-by: Claude-Code:GLM-5.3

@yzx9 yzx9 changed the title feat(show): add show.password config option (#3621) feat(show): add show.password config option (#3621) Sep 29, 2026
Add a `show.password` config option (default false) that makes
`gopass show SECRET` and the implicit `gopass SECRET` form display
only the password by default, as if `-o`/`--password` was given.

Explicit output flags (`--clip`, `--alsoclip`, `--qr`, `--qrbody`)
override the config default, as does any explicit `--password` value;
`-o=false` restores the full output for a single invocation. This
mirrors the existing `otp.onlyclip`/`--clip=false` pattern and eases
transitioning from `pass`.

Assisted-by: Claude-Code:GLM-5.3

Signed-off-by: Zexin Yuan <git@yzx9.xyz>
@yzx9
yzx9 force-pushed the show-password-config branch from bdbc72a to 5e8bdf5 Compare September 29, 2026 07:18
@dominikschulz
dominikschulz merged commit a21ced5 into gopasspw:master Sep 29, 2026
10 checks passed
@yzx9
yzx9 deleted the show-password-config branch September 30, 2026 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add config option to show only the password by default

2 participants

⌂ 换网址