You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when gopass show item not with exact name, the output goes to stderr and the error to stdout
Steps To Reproduce
macos@macoss-Mac-mini ~ % gopass show "FAST/2.notes/improvements pass-simple.md"|cat
# Improvements
macos@macoss-Mac-mini ~ % gopass show "FAST/2.notes/improvements pass-simp"|cat
Error: failed to retrieve secret "FAST/2.notes/improvements pass-simp": entry is not in the password store
macos@macoss-Mac-mini ~ % gopass show "FAST/2.notes/improvements pass-simp"
⚠ Entry "FAST/2.notes/improvements pass-simp" not found. Starting search...
✅ Found exact match in"FAST/2.notes/improvements pass-simple.md"
Secret: FAST/2.notes/improvements pass-simple.md
# Improvements
macos@macoss-Mac-mini ~ %
Expected behavior
The stdout should contain the entry content, and stderr all the rest, same as searching successfully with
exact name
Environment
OS: [e.g. Mac OS X High Sierra, Ubuntu 18.04, Windows 10, ...]
OS version: [uname -a]
macos@macoss-Mac-mini ~ % uname -a
Darwin macoss-Mac-mini.local 21.6.0 Darwin Kernel Version 21.6.0: Thu Jul 6 22:18:26 PDT 2023; root:xnu-8020.240.18.702.13~1/RELEASE_X86_64 x86_64
macos@macoss-Mac-mini ~ %
gopass Version: [gopass version]
macos@macoss-Mac-mini ~ % gopass version
gopass 1.15.8 go1.21.1 darwin amd64
macos@macoss-Mac-mini ~ %
Installation method: [e.g. from source, brew, gopass repo]
brew install gopass
Additional context
N/A
The text was updated successfully, but these errors were encountered:
shemeshg
changed the title
Error: failed to retrieve secret "whatever": entry is not in the password store - Sould be stdout not stderr
Error: failed to retrieve secret "whatever": entry is not in the password store - Sould be stderr not stdout
Sep 13, 2023
shemeshg
changed the title
Error: failed to retrieve secret "whatever": entry is not in the password store - Sould be stderr not stdout
Error: failed to retrieve secret "whatever": entry is not in the password store --- Sould be stderr not stdout
Sep 13, 2023
shemeshg
changed the title
Error: failed to retrieve secret "whatever": entry is not in the password store --- Sould be stderr not stdout
Error: failed to retrieve secret "whatever": entry is not in the password store -> Sould be stderr not stdout
Sep 13, 2023
Errors and Warnings should already go to Stderr but redirecting the other messages that are not part of the secret might require some more tricky changes.
Summary
when
gopass show
item not with exact name, the output goes tostderr
and the error tostdout
Steps To Reproduce
Expected behavior
The
stdout
should contain the entry content, andstderr
all the rest, same as searching successfully withexact name
Environment
Additional context
N/A
The text was updated successfully, but these errors were encountered: