passforios
passforios copied to clipboard
RFE: auto-fill: support extracting username from the file name (`domain.tld/username`)
Consider a pass
hierarchy where site domain name is encoded in the last directory name, and site login is encoded in the file name itself. Example follows:
Password Store
└── web
├── <...>
│ └── <...>
├── github.com
│ └── intelfx
└── <...>
└── <...>
This layout is not my invention — it is suggested by the dannyvankooten/browserpass extension. Also, this layout naturally occurs when you need to store more than one credential pair for a specific site.
As of now, passforios will only try to extract login name from a login:
field in the password file itself. However, storing login name in the password file is unwieldy, because there is no direct support for this in pass insert
.
This feature request is to support an alternative way of doing things: web/github.com/intelfx
, if matched against www.github.com
(as per #138) and there is no login:
field inside, shall yield a username of intelfx
.
More specifically:
- if the domain name was not matched against the file name, and
- if there is no
login:
field inside the password file, - then the user name shall be equal to the password file name.
web/github.com/intelfx
-> match = github.com
, login = intelfx
, password = file contents.
Actually, browserpass
prefers login:
in your pass file. See https://github.com/browserpass/browserpass#requirements
@xslim
Not as far as I can see:
Your password filename must match your username or your file must have a line starting with login:, user: or username:, followed by your username.
(emphasis mine)
A related PR: https://github.com/mssun/passforios/pull/265
Merged. Will be released next week.
@yishilin14 So far, this hasn't appeared to work either in the production build or in TestFlight build. Please reopen?
@intelfx, thanks for the report. Can you indicate the version you are using?
@mssun Actual AppStore build (0.7.0) and actual TestFlight build (0.8.0 (3)).
For the record, the site used to reproduce was github.com
, using Chrome's incognito mode.
Is it actually possible to finally make a release that will contain this fix?
This was fixed for some time in TestFlight builds, but my TestFlight access got somehow revoked one day, so yeah, can something be finally done about this?
@intelfx This fix should have been released a year a ago. Let me take a look why it doesn’t work anymore.
Feel free to send us an email if you’d like to try Pass on TestFlight again.
I just did a test. This function does not work in the AppStore build (0.9.0), and I have no clue about when this feature became unavailable. But it works in the latest TestFlight build.
@mssun When can we release the next AppStore version?
Any luck?
Thanks.