| author | holly sparkles <sparkles@holly.sh> | 2023-08-02 8:18:16.0 +00:00:00 |
|---|---|---|
| committer | holly sparkles <sparkles@holly.sh> | 2023-08-02 8:18:35.0 +00:00:00 |
| commit | 8727e0b7961b4c7ec4b9c1f88b5ee6ff86e6a726 [patch] |
|
| tree | b15d75278817ede235c6c01a0cddee06b7e6d78a |
|
| parent | c52e5c54d381f7a72a93cbf64faccbb4e1796bd8 |
|
| download | 8727e0b7961b4c7ec4b9c1f88b5ee6ff86e6a726.tar.gz |
|
fix: `BW_FIELD_KEY_PASSPHRASE` now gives "I'm an environment variable!"
Diff
src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 161de95..7573465 100644 /// Environment variable housing an existing Bitwarden session. const SESSION_ENV_KEY: &str = "BW_SESSION"; /// Environment variable referencing the name of the field containing the SSH key passphrase (if any). const BW_FIELD_KEY_PASSPHRASE: &str = "passphrase"; const BW_FIELD_KEY_PASSPHRASE: &str = "BW_KEY_PASSPHRASE"; // This environment variable only set when calling ssh-agent, so return the passphrase to authenticate and then quit.