diff --git a/README.md b/README.md index 5388e52..97f7b34 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ 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. -##Version 1.4.6 update - Please Read +##Version 1.4.7 update - Please Read ###----------------------------------------------------------- -Ladies and gents, I am happy to present v 1.4.6 of the workflow. Before I continue, this has represented a SIGNIFICANT amount of work for me so if you like it and use it, please say thank you by donating towards my Diet Coke and cake fund. Any amount will do, whatever you feel the value is for you/your business/your time :) +Ladies and gents, I am happy to present v 1.4.7 of the workflow. Before I continue, this has represented a SIGNIFICANT amount of work for me so if you like it and use it, please say thank you by donating towards my Diet Coke and cake fund. Any amount will do, whatever you feel the value is for you/your business/your time :) **Please note you *MUST* update your LastPass CLI version to 0.7.1 or higher as this update relies on new functionality that I worked with the LastPass team on integrating into the official CLI. Additionally version 1.4.6 and higher of the workflow WILL ONLY SUPPORT ALFRED 3 (and are not backwards compatible)** @@ -55,6 +55,9 @@ This workflow (and the 1.4.3 update especially) represents many many hours effor ## History +* Version 1.4.7 + 1. Changed mechanism for copying to clipboard. Now marks passwords as transient, Alfred will no longer store them in the clipboard history. + 2. Updated icon submitted by [Tom Conroy](https://github.com/tconroy) has been merged in (thanks for this Tom!) * Version 1.4.6 1. Updated to work with Alfred 3 (long awaited official release of the long-in-testing beta version). 2. Username display functionality submitted by [Guillermo Moreno](https://github.com/gmq) has been merged in with some minor changes (thanks for your hard work Guillermo!) diff --git a/lastpass-cli-alfred-workflow.alfredworkflow b/lastpass-cli-alfred-workflow.alfredworkflow index 2a2b60f..cf763af 100644 Binary files a/lastpass-cli-alfred-workflow.alfredworkflow and b/lastpass-cli-alfred-workflow.alfredworkflow differ diff --git a/workflow/info.plist b/workflow/info.plist index 42529cb..ff63e98 100644 --- a/workflow/info.plist +++ b/workflow/info.plist @@ -60,6 +60,19 @@ + 201D2F2C-024E-4FA6-8B0C-CF32974E5077 + + + destinationuid + 8C058736-CA55-492F-B2EC-8715A0266564 + modifiers + 0 + modifiersubtext + + vitoclose + + + 29656ADA-02CB-48FC-BC0E-20376CF8D8EF @@ -120,7 +133,7 @@ destinationuid - 8F65DC4B-ED8E-4EE0-A6E0-14C1F0CDF3A4 + 815177FB-CED1-42F3-AC5B-C1AC60735FA1 modifiers 0 modifiersubtext @@ -155,6 +168,19 @@ + 815177FB-CED1-42F3-AC5B-C1AC60735FA1 + + + destinationuid + 8F65DC4B-ED8E-4EE0-A6E0-14C1F0CDF3A4 + modifiers + 0 + modifiersubtext + + vitoclose + + + C2D0FB11-55FC-4FD2-B32A-9923121F0321 @@ -172,7 +198,7 @@ destinationuid - 1BAF402C-C953-4474-B777-549FB54BA190 + 201D2F2C-024E-4FA6-8B0C-CF32974E5077 modifiers 0 modifiersubtext @@ -352,6 +378,23 @@ end if version 1 + + config + + autopaste + + clipboardtext + {query} + transient + + + type + alfred.workflow.output.clipboard + uid + 815177FB-CED1-42F3-AC5B-C1AC60735FA1 + version + 2 + config @@ -382,8 +425,9 @@ my $firstLine = <$file>; close $file; chomp $myFirstLine; -my $results = qx{export LPASS_ASKPASS=\"$firstLine\" && export LPASS_AGENT_TIMEOUT="$loginTimeout" && $lpass_exec show --sync=no -c --username $details[1]}; -print $details[0]; +my $results = qx{export LPASS_ASKPASS=\"$firstLine\" && export LPASS_AGENT_TIMEOUT="$loginTimeout" && $lpass_exec show --sync=no --username $details[1]}; +chomp $results; +print $results; } scriptargtype 0 @@ -599,27 +643,6 @@ exit 0; version 2 - - config - - lastpathcomponent - - onlyshowifquerypopulated - - removeextension - - text - {query} - title - Copied password to clipboard. - - type - alfred.workflow.output.notification - uid - 1BAF402C-C953-4474-B777-549FB54BA190 - version - 1 - config @@ -653,8 +676,9 @@ my $firstLine = <$file>; close $file; chomp $myFirstLine; -my $results = qx{export LPASS_ASKPASS=\"$firstLine\" && export LPASS_AGENT_TIMEOUT="$loginTimeout" && $lpass_exec show --sync=no -c --password $details[1]}; -print $details[0]; +my $results = qx{export LPASS_ASKPASS=\"$firstLine\" && export LPASS_AGENT_TIMEOUT="$loginTimeout" && $lpass_exec show --sync=no --password $details[1]}; +chomp $results; +print $results; } scriptargtype 0 @@ -691,6 +715,44 @@ print $details[0]; version 1 + + config + + autopaste + + clipboardtext + {query} + transient + + + type + alfred.workflow.output.clipboard + uid + 201D2F2C-024E-4FA6-8B0C-CF32974E5077 + version + 2 + + + config + + lastpathcomponent + + onlyshowifquerypopulated + + removeextension + + text + + title + Copied password to clipboard. + + type + alfred.workflow.output.notification + uid + 8C058736-CA55-492F-B2EC-8715A0266564 + version + 1 + config @@ -973,35 +1035,35 @@ My thanks go out to LastPass for their awesome product and the new CLI! xpos 500 ypos - 610 + 620 102D0B94-B4FC-4450-9B5B-9D76AA0FF12C xpos 500 ypos - 750 + 760 149C4CF2-82AE-4F6C-8D1D-726438E36F75 xpos 500 ypos - 860 + 870 1B629A30-41FB-400F-89DC-8B35990D0F84 xpos 700 ypos - 860 + 870 - 1BAF402C-C953-4474-B777-549FB54BA190 + 201D2F2C-024E-4FA6-8B0C-CF32974E5077 xpos 700 ypos - 380 + 470 29656ADA-02CB-48FC-BC0E-20376CF8D8EF @@ -1015,7 +1077,7 @@ My thanks go out to LastPass for their awesome product and the new CLI! xpos 300 ypos - 860 + 870 5811419C-5D78-450A-8F28-46CC209BF760 @@ -1036,42 +1098,56 @@ My thanks go out to LastPass for their awesome product and the new CLI! xpos 300 ypos - 750 + 760 + + 815177FB-CED1-42F3-AC5B-C1AC60735FA1 + + xpos + 700 + ypos + 270 8820573B-DB5E-4B65-9178-3DD86CF620CC xpos 700 ypos - 750 + 760 + + 8C058736-CA55-492F-B2EC-8715A0266564 + + xpos + 880 + ypos + 470 8F65DC4B-ED8E-4EE0-A6E0-14C1F0CDF3A4 xpos - 700 + 880 ypos - 270 + 270 A2718C33-DE84-4E0F-8A09-37DA3C9E8732 xpos 500 ypos - 500 + 510 C2D0FB11-55FC-4FD2-B32A-9923121F0321 xpos 300 ypos - 440 + 450 D049EE1A-03D1-4BDF-8920-EE8667E7365C xpos 500 ypos - 380 + 390 D21298B3-763D-48F9-A804-C3B06D3B70E7 @@ -1085,7 +1161,7 @@ My thanks go out to LastPass for their awesome product and the new CLI! xpos 700 ypos - 610 + 620 DE8D285B-733F-4B2D-91DA-4613717E2005 @@ -1099,11 +1175,11 @@ My thanks go out to LastPass for their awesome product and the new CLI! xpos 300 ypos - 610 + 620 version - 1.4.6 + 1.4.7 webaddress http://technicalnotebook.com