-
Notifications
You must be signed in to change notification settings - Fork 90
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
Panic when calling Set() on Ubuntu 20.04 on WSL #54
Comments
Thanks for reporting this. Since this panic happens deep inside the godbus library it may have to be reported there if there is a way to replicate it outside of |
Aha! That update seems to have fixed the panic: Build:
Execution:
|
Cool! Thanks for testing it! |
Thanks for putting up a fix! Will there be a new release for these changes, or should I remain pinned to the specific commit? |
@Piccirello We have made a new release now: https://github.com/zalando/go-keyring/releases/tag/v0.1.1 |
Calling
keyring.Set()
on Ubuntu 20.04 on WSL results in the following panic:panic: runtime error: slice bounds out of range
. On Ubuntu 18.04 on the same machine,keyring.Set()
fails more gracefully, returning the errorexec: "dbus-launch": executable file not found in $PATH
. I've included a minimal PoC to reproduce.OS: Microsoft Windows Server Version 1809
Ubuntu 20.04 on WSL:
Ubuntu 18.04 on WSL:
The text was updated successfully, but these errors were encountered: