Lastpass Search Workflow for Alfred
Simple yet powerful integration with the Lastpass CLI so you can now get your passwords out of your Lastpass vault and straight into the clipboard from within Alfred.
Current version: 1.5.3
Requires Alfred 3, 4, or 5 and LastPass CLI v1.3 or higher
Installation
- Ensure you have Alfred 3, 4, or 5 installed with the Alfred Powerpack License
- Install LastPass command line interface
- using MacPorts: 'sudo port install lastpass-cli lastpass-cli-doc'
- using HomeBrew: 'brew install lastpass-cli'
- manually, see https://github.com/LastPass/lastpass-cli for details
- Download and open https://github.com/Unimatrix0/lastpass-alfred-workflow/raw/master/LastPass%20Search.alfredworkflow
- Run 'lpsetemail [email protected]' in Alfred to set your LastPass username.
Usage
- lpsetemail [email protected] - must be run when you first install/upgrade to version 1.2 or higher
- lpsettimeout NUMSEC - Set number of seconds until your login times out (where NUMSEC is an integer such as 28800, if you use 0 that will keep you logged in until your computer restarts)
- lplogin - Log in to LastPass
- lplogout - Log out of LastPass
- lp Search Lastpass vault for item containing , press return to copy to clipboard.
- Shift modifier can be used on lp to copy the username.
Contributing
- Fork it!
- Create your feature branch: git checkout -b my-new-feature
- Commit your changes: git commit -am 'Add some feature'
- Push to the branch: git push origin my-new-feature
- Submit a pull request :D
History
Credits
Created by Stuart Ryan (<= v1.4.7)
Updated by Lothar Haeger (v1.4.8 - v1.5.2)
Updated by Unimatrix0 (>= v1.5.3)
License
Released under the GNU GENERAL PUBLIC LICENSE Version 2, June 1991
Notes
This Alfred Workflow is not affiliated in any way with LastPass. The LastPass trademark and logo are owned by LastPass.com. The LastPass logo and product name have been used with permission of the LastPass team.
My thanks go out to LastPass for their awesome product and the new CLI!