stuartcryan / lastpass-alfred-workflow

Simple Lastpass Workflow for Alfred
GNU General Public License v2.0
224 stars 69 forks source link

trouble logging in since mojave #52

Closed steveoh closed 5 years ago

steveoh commented 5 years ago

has anyone noticed anything odd since updating their os?

lplogin shows popup but it sometimes takes 30 seconds after logging in it does not seem to ever authenticate

carceneaux commented 5 years ago

At some point, I did have to clear my Alfred cache after upgrading to Mojave but I haven't seen issues since.

https://www.alfredapp.com/help/advanced/#rebuild

cadnza commented 5 years ago

Same thing here; reloading the cache didn't fix it. Here's what the debugger says:

2018-10-10 15:57:49][ERROR: action.script] 2482:2784: execution error: Error: Unable to retrieve password from askpass (no reply) (1)
steveoh commented 5 years ago

and another error message after typing in password

[ERROR: action.script] 2465:2767: execution error: Error: Couldn't resolve host name. (1)

try again

[ERROR: action.script] 2465:2767: execution error: /bin/bash: line 1: 3603 Segmentation fault: 11 /usr/local/bin/lpass login --trust "my@email.address" (139)

looks like an issue in lastpass-cli.

I brew reinstall lastpass-cli --with-pinentry and ran the lpass login --trust command and that seemed to make the plugin work.

carceneaux commented 5 years ago

LOL, well the scripts are open source so you see what's going down. I'd hope that you would've read those scripts prior to using an open-source utility to access your LassPass account.

Here are some ideas:

carceneaux commented 5 years ago

Since my last post, I've rebooted my mac a number of times. I've noticed that following a reboot, I have to perform the following procedure to be able to log back in to LastPass:

  1. Sync LastPass Vault (lpsync)
  2. LastPass Login (lplogin)

For whatever reason, if I don't sync the LastPass Vault prior to logging in, I'm never logged in. Even with using the correct credentials.

Hope this helps someone!

steveoh commented 5 years ago

the last pass cli just updated. I think that is making this workflow more stable. Sorry for the upstream issue.