TylerLeonhardt / SecretManagement.LastPass

A PowerShell SecretManagement extension for LastPass
MIT License
46 stars 9 forks source link

Does SecretManagement.LastPass work with cygwin64 installed lastpass.cli? #28

Open ntaken opened 3 years ago

ntaken commented 3 years ago

I am having problem with making SecretManagement.LastPass find my cygwin64 installed lastpass.cli.

Tried different variation of : Register-LastPassVault -Name 'Vault' -Path "C:\cygwin64\bin\lpass.exe"

Always: throw "lpass executable not found or installed."

When trying Connect-LastPass -Vault 'Vault' -User xxxx

Should it work?

TylerLeonhardt commented 3 years ago

I think it should... It's probably getting stuck here: https://github.com/TylerLeonhardt/SecretManagement.LastPass/blob/main/SecretManagement.LastPass.Extension/SecretManagement.LastPass.Extension.psm1#L109

it shouldn't be wrapping in quotes because then Get-Command fails