-
Notifications
You must be signed in to change notification settings - Fork 101
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
Keychain backend not working on Macs (v0.24.0) #647
Comments
Hi @uvw I have tested out the latest release on my mac m3 pro and it appears to be working as expected. Some steps that would help us to diagnose the issue further would be to try building from source on your machine. If possible could you follow the steps in the contributing guide to build the cli then run |
@JoshuaWilkes, I tried building locally and it works as expected:
|
Another update. Running So, in the meantime I'll be doing it like this. Hopefully a solution can be found for this problem. Sorry I cannot help debugging more... not really sure how to even replicate it. |
Hi @JoshuaWilkes, thank you for looking into this. I agree, it's not related to the code changes. But I don't think the build environment is involved either. It's rather Homebrew + keychain or just keychain access. Here is what I tried to isolate the problem: 1. Roll back to v0.23.2 in Homebrew: The first thing I tried, and it worked. 2. Build v0.24.0 from the sources: I did something similar to @citosid but performed all the steps manually: go build -o ./bin/dgranted cmd/granted/main.go
ln -s $(pwd)/bin/dgranted ~/.local/bin
dgranted credential-process --profile <PROFILE> --auto-login
# {"Version":1,"AccessKeyId":"...","SecretAccessKey": "...", ...} Running 3. Use v0.24.0 binaries from the release: curl -OL https://releases.commonfate.io/granted/v0.24.0/granted_0.24.0_darwin_x86_64.tar.gz
mkdir granted-bin
tar -xzf granted_0.24.0_darwin_x86_64.tar.gz -C granted-bin
ln -s $(pwd)/granted-bin/granted ~/.local/bin
granted credential-process --profile <PROFILE> --auto-login
# {"Version":1,"AccessKeyId":"...","SecretAccessKey": "...", ...} Running However, when I tried Let me know if you'd like me to do more testing. I'm unfamiliar with how keychain works, so you might have to guide me. |
Thanks for you help in isolating the root cause here, we have a few threads going at the moment discussing this in our community slack as well. We isolated the likely cause to a change in our release pipeline and we are currently working to identify what the cause is. |
Hi all, we've set up a prerelease build pipeline to help diagnose the issue. If you're affected by this and could help test a new prerelease build that would be fantastic. This new build has
If you're testing from a |
Thanks @chrnorm! Will try it later today and report back |
Great! I switched to this build and so far so good. Thank you, @chrnorm 👍 I also cleared all |
Great, thanks for all your help here @uvw @citosid! I'll close this as fixed in https://github.com/common-fate/granted/releases/tag/v0.25.0 which is being released now, but please reopen the issue if you encounter this again. |
Thanks for your hard work @chrnorm ! It works now as expected. |
Following up on #139 recent comments, Granted started failing after upgrading to v0.24.0 with the same error:
Relevant logs:
.granted/config
:However, in my case, it is an old Intel x86_64 MacBook Pro.
Rolling back to v0.23.2 fixed the issue.
I didn't find anything related to keyring or securestorage in the v0.24.0 changes (v0.23.2...v0.24.0), but it seems like a regression.
The text was updated successfully, but these errors were encountered: