Open zhexinq opened 3 years ago
The "show" subcommand doesn't display folders but information about specific entries in LastPass.
You might try "lpass ls" and grep for your shared folder. The text between the slash and the open bracket should be the account name. Find the relevant name within your shared folder and use that in your "show".
I'm running into the same issue
Along with a coworker I checked the output of lpass ls
for my account and a coworker's account
We both have access to the exact same shared folders, and both folders are visible in the web view (for both of our accounts)
We checked my account on both my machine and his machine, and we got the same result, however we got different results when running his account on his machine and my account on his machine
Expected result:
lpass ls
produces an output like:
My-passwords
example.com [id: 12324561231232]
example.net [id: 1232123123123]
Folder-a
somesite.org [id: 1231232123]
Folder-b
anothersite.org [id: 1231232123]
Actual result:
lpass ls
produces an output like:
My-passwords
example.com [id: 12324561231232]
example.net [id: 1232123123123]
Folder-a
Folder-b
I suspect this may be an issue with the account data themselves, as my lastpass account had to be deleted and recreated (with the same email addresss) due to an issue with my corporate email address provisioning
You might try "lpass sync" and if that doesn't do it log out and back in to LastPass to refresh your blob.
This is what I get (with details for sites and ids changed of course) Still no folder visibility
My-Machine in ~
○ → lpass sync
My-Machine in ~
○ → lpass ls
(none)
awebsite.example [id: 1232135123]
My-passwords
example.com [id: 123123123123]
example.net [id: 123132123]
Folder-a Folder-c
Folder-b
My-Machine in ~
○ → lpass logout
Are you sure you would like to log out? [Y/n] Y
Log out: complete.
My-Machine in ~
○ → lpass login my.username@example.com
Success: Logged in as my.username@example.com.
My-Machine in ~
○ → lpass ls
(none)
awebsite.example [id: 1232135123]
My-passwords
example.com [id: 123123123123]
example.net [id: 123132123]
Folder-a Folder-c
Folder-b
Hi folks,
I encountered an issue where my company shared the folders with me in LastPass Vault and I can see those folders in the UI Chrome plugin. But when I try to use the lpass cli to search for the folder, it says "Error: Could not find specified account(s).".
I am using the command -
lpass show --sync=now --notes <folder-name>
Can someone help address this issue? I tried lpass sync, log out and log back in. Still could find the shared folders from the cli.
Thanks.