Comments (8)
It appears something in that commit is not interacting well with my use case ( see https://gist.github.com/davidblewett/53047c4c7757b663c11b ). When I run lp-ssh-add.sh
now, the script hangs on L23 for the very first key and is unkillable with Ctl-C. I have to kill it from another shell. As long as the script is running, it's generating thousands of files in ~/.lpass/upload-queue
. Why is just dumping the contents of different keys triggering an upload of anything?
from lastpass-cli.
Hmm, not sure yet - but note output of show has changed for secure notes, you don't need to use grep anymore because these notes are parsed and you can extract them with --field.
from lastpass-cli.
Regarding output differences:
- Notes field will now have an extra newline
- Passphrase will now have an extra leading space
I think what's happening is the latter causes ssh-askpass to fail (provide wrong passphrase) and so ssh-add gets stuck in a loop asking for it over and over again. See my updated gist which may fix things for you (although you also might want to come up with a way to abort the process if lp-ssh-askpass is failing).
upload-queue gets used to log accesses for history/auditing purposes (see cmd-show.c:226).
from lastpass-cli.
I think I've solved my issues in the gist; still surprised it's possible to generate gigabytes of this audit log.
from lastpass-cli.
Yes, perhaps we should rate limit it somehow - once it gets over some threshold just error out so one doesn't get stuck sending us gigabytes of updates.
from lastpass-cli.
I also ran into this problem, after changing my master password. No ssh-agent
loop in my case, I just tried to create a new item with lpass generate
and lpass info
, and it happily generated gigs of upload-queue
on its own. Sadly I deleted the ~/.lpass
directory so I don't have a copy of the buggy state, but it does seem to be working fine now.
from lastpass-cli.
@bcopeland Looks like this issue is solved. Can we close the issue?
from lastpass-cli.
Possibly related #265
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.