You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
l.WithError(err).Warn("Failed to get test credentials from keychain")
returnfalse
}
iferr:=helper.Delete(creds.ServerURL); err!=nil {
l.WithError(err).Warn("Failed to delete test credentials from keychain")
returnfalse
}
returntrue
}
This messes up keychains that track history, in my case pass, as that adds multiple entries whenever the bridge starts.
If the bridge has explicitly been told to use a certain keychain, all others should not be touched even if they seem to be available.
Possible Solution
Don't check for usability of helpers that are not configured if the user explicitly set a helper in the config
Steps to Reproduce
Install pass, make it use the git integration
configure the bridge to use the secret-service helper
check the pass git log entries, you'll see a add + remove for every invocation of the bridge
Version Information
v3.4.2 (br-165)
The text was updated successfully, but these errors were encountered:
Also see #472 If protonmail doesn't want to work for gnome-keyring for whatever reason, but it works fine with pass, then you still have to wait for it to timeout with the other items because pass is checked last.
Expected Behavior
When the keychain helper is set to "secret-service" or "secret-service-dbus" all other helpers should not be tried
Current Behavior
All possible helpers are used in the setup, due to the
isUsable()
checks ininit()
of pkg/keychain/helper_linux.goproton-bridge/pkg/keychain/helper_linux.go
Lines 75 to 105 in 384154c
This messes up keychains that track history, in my case pass, as that adds multiple entries whenever the bridge starts.
If the bridge has explicitly been told to use a certain keychain, all others should not be touched even if they seem to be available.
Possible Solution
Don't check for usability of helpers that are not configured if the user explicitly set a helper in the config
Steps to Reproduce
pass git log
entries, you'll see a add + remove for every invocation of the bridgeVersion Information
v3.4.2 (br-165)
The text was updated successfully, but these errors were encountered: