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
gopass show some/secret/here or gopass edit some/secret/here
Expected behavior
There should be no newline added at the top of the file because that breaks gopass --clip.
Environment
OS: Fedora
OS version: Linux desktop.home.arpa 6.3.12-100.fc37.x86_64 SMP PREEMPT_DYNAMIC Wed Jul 5 20:09:58 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
gopass Version: gopass 1.15.5 go1.20.2 linux amd64
Installation method: gopass repo
Additional context
I forced EDITOR=nano in the example above to show that this is not happening because of some weird editor. I've tried multiple editors and the problem exists with all of them. Using gopass edit to remove the newline works fine as a workaround.
The text was updated successfully, but these errors were encountered:
Summary
Using
gopass insert --multiline
adds an extra newline at the top of the newly created secret.Steps To Reproduce
EDITOR=nano gopass insert --multiline some/secret/here
gopass show some/secret/here
orgopass edit some/secret/here
Expected behavior
There should be no newline added at the top of the file because that breaks
gopass --clip
.Environment
Additional context
I forced
EDITOR=nano
in the example above to show that this is not happening because of some weird editor. I've tried multiple editors and the problem exists with all of them. Usinggopass edit
to remove the newline works fine as a workaround.The text was updated successfully, but these errors were encountered: