stuartcryan Posted July 6, 2016 Author Share Posted July 6, 2016 Trying this new version with Alfred 3. Might be a dumb question, but how does one login with this? I set my email, and if I hit lplogin and enter, in the Alfred debug window I get the following error: 2465:2767: execution error: Please enter the LastPass master password for <my email address>. Master Password: Error: Failed to enter correct password. (1) If I type lplogin and then spacebar to type my password, it just goes to a Google search. Hi Liam, Not a dumb question at all, after you have run "lpsetemail your@email.here", you should just be able to run "lplogin <return>" then an applescript will run and pop up a login box which will ask you for your password. When you press enter, after you wait for 1-2 seconds is the login box popping up? It should look like: Cheers, Stuart Link to comment
LiamW Posted July 6, 2016 Share Posted July 6, 2016 Ya I'm waiting and nothing pops up. I get that error in the Alfred debug window as I mentioned. No other error, just that. Nothing in the console log either. Link to comment
goalfred Posted July 23, 2016 Share Posted July 23, 2016 Hi. Is there a way I can stop the passwords from appearing in my clipboard history? Link to comment
stuartcryan Posted August 19, 2016 Author Share Posted August 19, 2016 Howdy all, v1.4.7 is now released with the following changes. Changed mechanism for copying to clipboard. Now marks passwords as transient, Alfred will no longer store them in the clipboard history. Updated icon submitted by Tom Conroy has been merged in (thanks for this Tom!) Cheers, Stuart Link to comment
stuartcryan Posted August 19, 2016 Author Share Posted August 19, 2016 Hi. Is there a way I can stop the passwords from appearing in my clipboard history? You can now new version just released that resolves this. Link to comment
mburchett2 Posted September 30, 2016 Share Posted September 30, 2016 Hi Stuart, Thanks again for all your hard work. I've been MIA for a while as I've been holding off on the Alfred 3 update until I knew my workflows were compatible. You've put in some great updates. The only request I have, though, is if you can make it optional for passwords to be marked as transient, allowing them to be stored in the clipboard history. I think it's interfering with Keyboard Maestro, which I use for a simple Type Clipboard hotkey action (extremely useful for logging into server administrative panels that will now allow Ctrl-C/Cmd-C actions). Thank you, Michael Link to comment
tnagels Posted October 12, 2016 Share Posted October 12, 2016 (edited) Hi Stuart, First of all: the workflow works very well, thank you for it. What would make it even better though is the integration of some other lastpass features as were found in the now obsolete LastPass Vault Manager: http://www.alfredforum.com/topic/5293-lp-vault-manager-a-workflow-for-lastpass/?page=3#comment-47967 What I most miss: launch a vault URL in the default browser. copy a vault item’s username. generate random passwords. Thanks, Thomas Edited October 12, 2016 by tnagels Forgot to sign... Link to comment
ae6dx Posted November 5, 2016 Share Posted November 5, 2016 Is there a way to save Lastpass login info so I don't have to lig in every time after restart? Link to comment
stuartcryan Posted November 5, 2016 Author Share Posted November 5, 2016 4 minutes ago, ae6dx said: Is there a way to save Lastpass login info so I don't have to lig in every time after restart? Hi Ae6dx, No there is not, this has been deliberately excluded as a security measure. The workflow itself never stores or saves the password, it simply tells the LastPass CLI to invoke a script requesting the password (and hence never actually has visibility of the password itself). Cheers, Stuart Link to comment
ae6dx Posted November 7, 2016 Share Posted November 7, 2016 I wish this had the ability like the built in 1Password where you could search and press enter to open the site and log in. Not just copy the username. Link to comment
sollymay Posted December 8, 2016 Share Posted December 8, 2016 I would also love the ability to search and press enter to open the site and login. I understand the potential security issues but at the same time, you can make it so that this option only works for users who have x timeout. Really good workflow! Thank you for your help! Link to comment
cpicker4 Posted October 28, 2017 Share Posted October 28, 2017 Hello! I'm trying to use the Workflow, and I'm having challenges logging in. I've followed the installation instructions, and then I set my email address. But when I go through the steps to login, the password window only comes up about half the time, and then nothing happens after I type my password. After I type the password and submit it, I have tried to copy a password, but it tells me that I am not logged in. What should I do? Link to comment
cpicker4 Posted October 28, 2017 Share Posted October 28, 2017 Update: it appears I was having an issue with MFA. I've always had issues with it with the browser LastPass, so I finally gave in and downloaded the LastPass app instead of using the google one, and I was able to log in. Thank you for the workflow! Link to comment
mattpanther Posted May 20, 2018 Share Posted May 20, 2018 Super excited to try this workflow out! I was able to successfully run through all of the installation steps and after runnning the lpsetemail command in Alfred I see the notification of success like below: However when I try to run lplogin after that I see this error message: Any tips? Link to comment
mattpanther Posted May 20, 2018 Share Posted May 20, 2018 3 minutes ago, mattpanther said: Super excited to try this workflow out! I was able to successfully run through all of the installation steps and after runnning the lpsetemail command in Alfred I see the notification of success like below: However when I try to run lplogin after that I see this error message: Any tips? Please disregard -- a restart of my Mac seems to have fixed it, working great in my first few trials! Link to comment
Mehdi Posted January 23, 2019 Share Posted January 23, 2019 (edited) Is this workflow still working ? I have to try the login command a dozen time before the prompt for master password appears, and even then, it doesn't login .. [2019-01-23 21:00:13][ERROR: action.script] 2461:2743: execution error: Error: Unable to retrieve password from askpass (no reply) (1) [2019-01-23 21:00:37][ERROR: action.script] 2461:2743: execution error: 2019-01-23 21:00:20.450 passwordInput.osascript[43281:20181072] moreMenu loaded... /bin/bash: line 1: 43280 Segmentation fault: 11 /usr/local/bin/lpass login --trust "be********@gmail.com" (139) Edited January 23, 2019 by Mehdi Link to comment
mikeylu Posted January 30, 2019 Share Posted January 30, 2019 I can't seem to login using lplogin Am I doing something wrong? Sorry, pretty new to this Link to comment
deanishe Posted January 30, 2019 Share Posted January 30, 2019 @mikeylu. Please read the thread on reporting problems with workflows. We need a useful description of the problem in order to be able to help you. Link to comment
Mehdi Posted February 2, 2019 Share Posted February 2, 2019 I have posted the debug messages just above @deanishe it might be the same problem. Link to comment
stuartcryan Posted February 2, 2019 Author Share Posted February 2, 2019 Hi @Mehdi and @mikeylu, Can you please make sure the scripts in the workflow directory are executable (in a terminal chmod a+x <scriptname> specifically both applescript.scpt and passwordInput.osascript and let me know how that goes? Cheers, Stuart Link to comment
Mehdi Posted February 3, 2019 Share Posted February 3, 2019 Starting debug for 'LastPass CLI' [2019-02-03 14:35:39][ERROR: action.script] 2461:2743: execution error: Error: Unable to retrieve password from askpass (no reply) (1) [2019-02-03 14:36:04][ERROR: input.scriptfilter] Code 1: <?xml version="1.0"?> <items> <item uid="error-login"><arg>'error-login', ''</arg><title>It appears you are not logged in to LastPass.</title><subtitle>Please login using the 'lplogin' command or press 'ctrl' + enter to login now.</subtitle><icon>icon.png</icon></item> </items> [2019-02-03 14:36:15][ERROR: action.script] 2461:2743: execution error: 2019-02-03 14:36:10.953 passwordInput.osascript[18759:3293227] moreMenu loaded... /bin/bash: line 1: 18764 Abort trap: 6 /usr/local/bin/lpass ls --sync=now > /dev/null 2>&1 (134) [2019-02-03 14:36:30][ERROR: input.scriptfilter] Code 1: <?xml version="1.0"?> <items> <item uid="error-login"><arg>'error-login', ''</arg><title>It appears you are not logged in to LastPass.</title><subtitle>Please login using the 'lplogin' command or press 'ctrl' + enter to login now.</subtitle><icon>icon.png</icon></item> </items> [2019-02-03 14:36:34][ERROR: action.script] 2461:2743: execution error: /bin/bash: line 1: 18793 Abort trap: 6 /usr/local/bin/lpass login --trust "be*********@gmail.com" (134) [2019-02-03 14:36:47][ERROR: input.scriptfilter] Code 1: <?xml version="1.0"?> <items> <item uid="error-login"><arg>'error-login', ''</arg><title>It appears you are not logged in to LastPass.</title><subtitle>Please login using the 'lplogin' command or press 'ctrl' + enter to login now.</subtitle><icon>icon.png</icon></item> </items> [2019-02-03 14:36:51][ERROR: action.script] 2461:2743: execution error: Error: SSL connect error. (1) [2019-02-03 14:37:08][ERROR: action.script] 2461:2743: execution error: /bin/bash: line 1: 18846 Abort trap: 6 /usr/local/bin/lpass login --trust "be*********@gmail.com" (134) [2019-02-03 14:37:38][ERROR: action.script] 2461:2743: execution error: /bin/bash: line 1: 18868 Abort trap: 6 /usr/local/bin/lpass login --trust "be*********@gmail.com" (134) @stuartcryan here is a sample of the errors i'm getting, it does end up working after 3 or 4 tries but still getting errors, and prompt sometimes not appearing, and sometimes appearing twice in a row.. I did the chmod +x manoeuvre, those script are executable. Mehdi Link to comment
TNThomas Posted May 8, 2019 Share Posted May 8, 2019 (edited) Hello! I am running into a problem with the Homebrew part. When I try to run the "brew install lastpass-cli --with-pinentry --with-doc" I get an error message that says "invalid option: -with-pinentry". I am pretty sure this is an error on my end but I am stuck. Thanks for you help! Edited May 8, 2019 by TNThomas Link to comment
deanishe Posted May 8, 2019 Share Posted May 8, 2019 9 hours ago, TNThomas said: I am pretty sure this is an error on my end but I am stuck. I don't think you're doing anything wrong. I suspect the instructions are out of date, as Homebrew has changed recently. Looking at the Homebrew recipe for lastpass-cli, it seems that both those options are now default, so you should only need to do: brew install lastpass-cli Link to comment
sven-a Posted June 20, 2019 Share Posted June 20, 2019 Hi, This workflow looks awesome! - the install went OK - setting email also worked fine (I received popup notification) - but when I run lplogin nothing shows and I get this error in Alfred debug pane: ERROR: LastPass CLI[Run Script] 2845:2846: syntax error: Expected end of line but found “"”. (-2741) Any idea what the issue might be? I'm running Alfred 4.0.2 Link to comment
weqopy Posted June 29, 2019 Share Posted June 29, 2019 On 6/20/2019 at 11:05 PM, sven-a said: Hi, This workflow looks awesome! - the install went OK - setting email also worked fine (I received popup notification) - but when I run lplogin nothing shows and I get this error in Alfred debug pane: ERROR: LastPass CLI[Run Script] 2845:2846: syntax error: Expected end of line but found “"”. (-2741) Any idea what the issue might be? I'm running Alfred 4.0.2 This will fix it. crazypetegus 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now