Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BW_SESSION env var is not read #46

Open
maxweisspoker opened this issue Jul 24, 2024 · 0 comments
Open

BW_SESSION env var is not read #46

maxweisspoker opened this issue Jul 24, 2024 · 0 comments

Comments

@maxweisspoker
Copy link

Even when the BW_SESSION env var is set, it is not read before the portwarden program attempts to run "bw unlock" or "bw login" in order to get a session variable. This is due to the function "BWGetSessionKey()" on line 159 of cmd/portwarden/portwarden.go calling BWUnlockVaultToGetSessionKey() before even attempting to look for a session key.

There are two currently open PRs which address this:

https://github.com/vwxyzjn/portwarden/pull/44/files

https://github.com/vwxyzjn/portwarden/pull/45/files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant