Comments (8)
I have found if I run export TERM=linux before the command, the backspace then works correctly but the login box looks kinda funky.
i.e. with the term set to linux:
from lastpass-cli.
Sounds like an issue with the terminal or with pinentry, really, not lastpass-cli. Can you reproduce if you just run pinentry by itself? (Run pinentry, and after it displays "OK Your orders please", type GETPIN followed by a newline. It will display the pin after you submit the dialog.)
from lastpass-cli.
Ahh you are correct it is with pinentry. Sorry for the hassle guess this can be closed (and learning new lessons every day) :)
Cheers,
Stuart
from lastpass-cli.
Ok - feel free to reopen if you find out there's something (portable) lpass should be doing with regards to setting terminal options when starting pinentry.
from lastpass-cli.
I also had this problem. OSX 10.10, tmux 2.0 on Terminal.App 2.5.3
$ echo $TERM
screen
The "solution" was to use ctrl-h as backspace. Terminal.App has "Delete sends Control-H" under Profiles -> Advanced. I've never had to do this before, so it seems kind of silly to turn it on for this one app.
from lastpass-cli.
So maybe we need stty erase setting or something for mac.
By the way, you can export LPASS_DISABLE_PINENTRY=1
to disable pinentry.
from lastpass-cli.
I have password reprompt enabled for a bunch of passcodes, so I'm not sure this is an option for me(?) - or perhaps I'm misunderstanding the functionality of askpass.
Is there a way to read obfuscated master password from STDIN a la ssh / login / read -s prompts?
I had to turn "delete sends control-h" back off as it was messing with the functionality of nc.
from lastpass-cli.
It will still prompt, it will just prompt with a built-in prompt instead of using an external program to do the prompting. (I mistyped, I meant "pinentry" not "askpass", corrected above.). I'm not sure what you mean regarding the obfuscated master password, can you describe what you need to accomplish? I guess 'expect' could do that. We've thought about adding an askpass type feature so you can have an external program supply the password, but it doesn't exist yet.
from lastpass-cli.
Related Issues (20)
- Random lpass Error: Could not find decryption key HOT 1
- Support login with SSO HOT 12
- Unable to login with lpass cli HOT 61
- certificate pinning is an outdated security measure
- Forgot to update version 1.3.5 in LASTPASS-VERSION-GEN
- lastpass-cli: Do not interpose reallocarray in /usr/bin/lpass HOT 1
- cygwin make fails due to CRLF in LASTPASS-VERSION-GEN
- Error: Peer certificate cannot be authenticated with given CA certificates. HOT 1
- lastpass-cli sync does not complete on Mac OS 14 HOT 2
- Feature request: lpass copy HOT 1
- Building image from the source does not work HOT 2
- Feature request: Return the error code when there's an HTTP error
- Cannot change master password with "lpass passwd"
- Ubunutu 22.04 libssl dependency
- UUID of 0 for new entry when scripting
- Possible to create Sub-folders?
- Parameter note-type not reflected, always got secure note despite `--note-type=Database` was specified HOT 1
- Suspicious activity in my Gmail account 1 day after running lpass-att-export.sh
- CLI 1.3.6 no more working HOT 6
- Build failure with GCC 14
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 lastpass-cli.