gopass icon indicating copy to clipboard operation
gopass copied to clipboard

Feature Request: Wizard type multiline / editor

Open maarek opened this issue 6 months ago • 4 comments

Summary

Support a new entry type in the creation wizard that will open the $EDITOR for long multi-line strings similar to the insert functionality but following the wizard template flow.

maarek avatar Feb 05 '24 22:02 maarek

Doesn't our template feature allow for that already? ~https://github.com/gopasspw/gopass/blob/master/docs/features.md#password-templates~

Edit: Sorry, I meant to link to the Wizard's template, not the other ones: https://github.com/gopasspw/gopass/blob/master/docs/commands/create.md#templates

Just tested it and yeah, it's not exactly mutli-line, but you can create a template on multiple lines, e.g.:

password
org: TEST
user: name
comment: This is a test

Would you mind providing us with a bit more details, maybe a "typical example" or a "test case" to see how the feature should work?

AnomalRoil avatar Feb 05 '24 22:02 AnomalRoil

Sure, I am interesting in storing secured notes in gopass as I am migrating from my password manager Bitwarden. You can use string and get a single line input, but it's a little awkward with large multiline payloads and requires that you paste it in rather than write it. Then I have to go in and ensure the formatting is correct.

The alternative would be to insert -m <path> which would open up the $EDITOR and allow me to create a password such as:

note: 1234
5678
9101
etc

maarek avatar Feb 05 '24 23:02 maarek

Oh, I see. Does gopass edit -c new/entry/name suffices for your needs?

AnomalRoil avatar Feb 05 '24 23:02 AnomalRoil

Yes, there are ways to work around it. But as a feature, this would be nice so that I could create fluid wizard templates for my team's input of data in a consistent way.

maarek avatar Feb 06 '24 15:02 maarek