passforios
passforios copied to clipboard
Feature request: password on "password:" line
Instead of having passwords on the first line, one other commonly supported pattern is to have them on a line starting with "password:". I prefer this, because the files are then valid YAML.
It would be great if there was an option that newly created files could follow this format.
Browserpass now assumes this:
"Password must be defined on a line starting with password:, pass: or secret: (case-insensitive), and if all of these are absent, the first line in the password entry file is considered to be a password."
We may implement this is the future.
If anyone is interested in this, pull requests are always welcomed!
Backward compatibility would be my major concern. If someone has an entry like
first_line
secret: xxx
, the displayed password would be different.
Let's keep the discussion open for a while.
Noticed this discussion sitting open, think this is pretty important especially with gopass now adding mime types to the first line of new password files.
For the sake of backwards compatibility, could this potentially be done by checking if a password line exists, and if not then the first line is assumed to be the password?