Make username fall back to file name if not included in metadata #3
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Total time spent: 31 minutes 24 seconds
Due date
Marty
31 minutes 24 seconds
No due date set.
Dependencies
No dependencies set.
Reference: Marty/pass-pick#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, every password file needs a username field, even though the pass convention is to carry usernames as filenames.
If a username exists it should take precedence but otherwise the filename should be userd for inputing a username.
also add to readme description of config option:
sets the name of the field in the pass entry which contains the username. Usually, the default setting should be fine (it will look for
user, thenusername, thenlogin) but custom field names can be supplied. If multiple field names are given, it will use the first supplied field name a secret contains.-> Will always fall back to using filename itself.