codecentric / gopass-ui

gopass CLI + UI = visual cross-platform password manager for teams
MIT License
248 stars 19 forks source link

buggy label when adding a passwort with "gopass create" #29

Closed danielKugler closed 4 years ago

danielKugler commented 5 years ago

When I create a new store item with $ gopass create

the label with the passwort shows something like this: m.y.s.e.c.r.e.t.p.a.s.s.w.d.comment: url: github.comusername: my@email.com

ruettenm commented 5 years ago

Hi @danielKugler,

thanks for your feedback. Could you provide a screenshot to see the issue? This sounds really curious 🤔

danielKugler commented 5 years ago

I uploaded an image of the UI here: https://pasteboard.co/IEvRXfi.png

rngtng commented 4 years ago

same issue here.. on latest Mac OSX

jonas-pietzsch commented 4 years ago

Hey @danielKugler & @rngtng the reason for this behaviour is simple. The wizard-guided "gopass create" creates secrets with a formatted value (because in addition to the secret value itself also other fields are stored) in YAML.

At the very beginning Gopass UI was built on the simple premise that the secrets' value is only a simple string, not containing additional fields.

This is similar to #28 ("multiline secret"). I will assign myself and implement multiline functionality, hopefully within the next few weeks.

jonas-pietzsch commented 4 years ago

Multiline secret handling was now implemented and merged into master (#33). It will be included in the next release which will be published within the next days or weeks.