Comments (8)
Possibly related: when I use alt+2 to type the username, it actually prepends a single space to the username.
from rofi-pass.
As for your 2nd comment: rofi-pass mimics yaml which only allows a single space after the colon. I merged a patch in the past that allowed for use of tabs, which had the side effect of allowing more than one space too.
That said I now ignore leading whitespaces from field values. This possibly even works with a tab delimiter, but it's definately not recommended.
You might want to consider to fix your password files, since this is not specs-compilant. I try to remain yaml compilant, since this makes rofi-pass compatible with autopass
Thanks for reporting btw, I indeed forgot to define USERFIELD_name in 2 places
from rofi-pass.
Autotype is working with my username field now.
I'm still getting the prefixed whitespace with my username. I agree that tabs are not YAML separators, but reading the spec I don't see where they specify that only a single space is allowed as a separation character. They do say that leading white space should be discarded.
from rofi-pass.
can you try latest commit?
I also have a strange issue, which doesnt affect day to day work, but its still odd.
When hitting Enter on an entry and default_do is "autopass" I get an error on terminal about some of the fieldnames not being a valid command. if i use Alt+t and hit autotype there, I don't get that error. Both ways call exactly the same command...
from rofi-pass.
The latest commit works great! No more leading whitespace in my username.
With default_do
set to autopass
, if I run the latest rofi-pass
from the terminal and select an entry, it outputs:
autopass
usertab<tab>password
On line 330 you're echoing default_do
, which causes the first line of output. I'm not sure if there is a reason for that (maybe just a debug echo?), but that could be the cause of your issue. Your terminal is saying that autopass
is not a valid command.
from rofi-pass.
so you are not getting what i am getting, how bizarre...
autopass
UserblaPassword./rofi-pass: line 350: user: command not found
It works fine though, but that error irritates me, If i do Alt+t and select autotype from there it does not happen
from rofi-pass.
Nope, I don't get that. I use ZSH, if it matters.
from rofi-pass.
Ok, it strangely works when using "autotype" as default_do. Using "autopass" it gives the above error. I am lost here :)
from rofi-pass.
Related Issues (20)
- type_otp function HOT 1
- Unneeded password decryptions with hotkeys in action menu HOT 3
- Field name case sensitivity
- rofi-pass dosen't prompt anything in terminal and basically any input. HOT 2
- addpass script is broken
- rofi-pass autofill for credit cards? HOT 2
- Autofill gives wrong characters HOT 2
- rofi deprecating -dump-xresources HOT 2
- *ERROR*: Symbol’s function definition is void: +pass/read-entry HOT 1
- Rofi error prompt (`Rofi is unsure what to do`) with default config HOT 1
- Config default_autotype='pass' is not work HOT 1
- Add Icons For Websites HOT 1
- Pinentry breaks on minimal arch i3 install HOT 1
- Roadmap and Co-Maintainership HOT 3
- Cant fill or copy the username or pass HOT 5
- Document default keybindings in README HOT 1
- _rofi() variable doesn't work inside bash blocks
- Syntax error in binding {kb-mode-previous,kb-mode-next,select}: cannot have an empty modifier HOT 1
- Passwords starting with g get mingled up
- OTP field not visible HOT 1
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 rofi-pass.