Comments (7)
Hi, thanks for the suggestion. I've thought about implementing such a feature, but always lost motivation because the default autotype (wofi-pass --autotype
) met >90% of the scenarios where I wanted to autotype. Have you had a chance to try this? What are the shortcomings?
from wofi-pass.
Hi, thanks for the suggestion. I've thought about implementing such a feature, but always lost motivation because the default autotype (
wofi-pass --autotype
) met >90% of the scenarios where I wanted to autotype. Have you had a chance to try this? What are the shortcomings?
I did try this, but never ended up using it, because it apparently expects a "password: " field, but the first line is always already the password. If I added "password:" then it would mess up other pass utilities since they will always also read that prefix. Meaning that it would always just error on line 103 and exit.
I would like to see the following just because it will cause the least problems:
myexamplepassword
username: this has any prefix
somevalue: foobarbazcruz
otpauth://somestuff
autotype: {password}{TAB}{username}{DELAY 1000}{OTP}{TAB}{somevalue}{ENTER}
What do you think? It handles cases like gitea equally as well as Paypal (which is hiding the password prompt on another page which it redirects to after a few seconds)
from wofi-pass.
I did try this, but never ended up using it, because it apparently expects a "password: " field, but the first line is always already the password. If I added "password:" then it would mess up other pass utilities since they will always also read that prefix. Meaning that it would always just error on line 103 and exit.
Hmm, this sounds like a bug. Are you using the latest version? I just pushed a commit that fixed a possibly related issue. And it does not expect a password:
field, it should be using the same scheme you are using (password at top).
from wofi-pass.
I would like to see the following just because it will cause the least problems:
myexamplepassword username: this has any prefix somevalue: foobarbazcruz otpauth://somestuff autotype: {password}{TAB}{username}{DELAY 1000}{OTP}{TAB}{somevalue}{ENTER}
What do you think? It handles cases like gitea equally as well as Paypal (which is hiding the password prompt on another page which it redirects to after a few seconds)
I like this idea, I'll look into how hard it would be to implement. A quality pull request would also be welcome; after all, Hacktoberfest is coming up... :)
from wofi-pass.
I like this idea, I'll look into how hard it would be to implement. A quality pull request would also be welcome; after all, Hacktoberfest is coming up... :)
I would love to do this in lua, if you accept the inclusion of lua stuff into your project. it would make things much much easier ;)
from wofi-pass.
Hey, sorry for just getting around to responding to this, your other issue reminded me. I haven't been using this project for a little while now, but I would be OK with anything you are willing to contribute.
from wofi-pass.
This is my current version of the parser. I suggest you just use this as inspiration for a reimplementation in bash. I'm just not really familiar with that.
Some features are also not fully complete, as seen in the comments. I had no clue how to use pass-otp with a supplied link, so I just left that out for you to add once you implement this (hopefully)
I hope this is at least somewhat useful to you!
from wofi-pass.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wofi-pass.