lastpass / lastpass-cli

LastPass command line interface tool
GNU General Public License v2.0
2.85k stars 292 forks source link

lpass unable to fetch blob #564

Open bsutton opened 4 years ago

bsutton commented 4 years ago

I'm trying to export my lastpass settings using:

 lpass export

This command fails with:

Error: Unable to fetch blob. Either your session is invalid and you need to login with `lpass login`, you need to synchronize, your blob is empty, or there is something wrong with your internet connection.

If I use --sync=no the export works:

lpass export --sync=no

My account has 2fa enabled which reading some of the other issues might be the cause.

If that is the case is there a way to work around this issue without disabling 2fa?

lpass --version
LastPass CLI v1.3.3.GIT

OS

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.1 LTS
Release:    20.04
Codename:   focal
RevHokan commented 3 years ago

It sounds like your login session has expired. You didn't say if you actually tried logging on. If you didn't, you should.

I have TFA enabled (out-of-band through DUO) and it works fine.