Skip to content

pass: trim pass show output#108

Merged
vdemeester merged 1 commit intodocker:masterfrom
euank:pass-trim‮‮‮‮‮‮‮‮trim-pass
Jun 27, 2018

Hidden character warning

The head ref may contain hidden characters: "pass-trim\u202e\u202e\u202e\u202e\u202e\u202e\u202e\u202etrim-pass"
Merged

pass: trim pass show output#108
vdemeester merged 1 commit intodocker:masterfrom
euank:pass-trim‮‮‮‮‮‮‮‮trim-pass

Conversation

@euank
Copy link
Copy Markdown
Contributor

@euank euank commented Jun 21, 2018

As of 8446a40, pass show will include a newline when showing a password.
This causes the pass helper here to reliably fail to initialize since a
password doesn't round-trip.

Before making this change, the pass test would fail if the installed
password-store version was v1.7.1+, and after this change it passes
again.

Fixes #107

@euank euank mentioned this pull request Jun 21, 2018
Copy link
Copy Markdown
Collaborator

@vdemeester vdemeester left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM 🐯
cc @n4ss

@n4ss
Copy link
Copy Markdown
Contributor

n4ss commented Jun 27, 2018

LGTM!

@vdemeester vdemeester force-pushed the pass-trim‮‮‮‮‮‮‮‮trim-pass branch from 4ba0c05 to 50d0778 Compare June 27, 2018 12:16
@vdemeester
Copy link
Copy Markdown
Collaborator

Rebased against master to get CI green 👼

As of 8446a40, pass show will include a newline when showing a password.
This causes the pass helper here to reliably fail to initialize since a
password doesn't round-trip.

Before making this change, the pass test would fail if the installed
password-store version was v1.7.1+, and after this change it passes
again.

Fixes docker#107

Signed-off-by: Euan Kemp <[email protected]>
@vdemeester vdemeester force-pushed the pass-trim‮‮‮‮‮‮‮‮trim-pass branch from 50d0778 to dd27c24 Compare June 27, 2018 12:21
@vdemeester vdemeester merged commit 8502b53 into docker:master Jun 27, 2018
@tokamak-git
Copy link
Copy Markdown

Have been facing the same issue. Has the patch been made available as an update?

@teohhanhui
Copy link
Copy Markdown

@raghuvanshy It's in v0.6.1

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.

5 participants