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

Go's interface to macOS's keychain certificate store is currently broken #24127

Closed
copumpkin opened this issue Mar 20, 2017 · 2 comments
Closed

Comments

@copumpkin
Copy link
Member

See #24058 #24124 for context. Basically Go programs should be able to check the system keychain for certificates but they currently segfault when trying to.

@LnL7
Copy link
Member

LnL7 commented Mar 20, 2017

"turns out" this is actually caused by #12346.
The go binary itself links against both the pure CF and Security.framework, the setup-hook added in #22571 only rewrites dylds at the moment.

$ otool -L result/bin/go
result/bin/go:
        /nix/store/k471jxzcf357xqwnxxadmknl5hqrh6lx-CF-osx-10.9.5/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 0.0.0, current version 0.0.0)
        /System/Library/Frameworks/Security.framework/Versions/A/Security (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/il826qrrls32gjnmcqjlmhxxhrcy5lgz-Libsystem-osx-10.11.6/lib/libSystem.B.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/il826qrrls32gjnmcqjlmhxxhrcy5lgz-Libsystem-osx-10.11.6/lib/libSystem.B.dylib (compatibility version 0.0.0, current version 0.0.0)
        /nix/store/il826qrrls32gjnmcqjlmhxxhrcy5lgz-Libsystem-osx-10.11.6/lib/libSystem.B.dylib (compatibility version 0.0.0, current version 0.0.0)

@LnL7
Copy link
Member

LnL7 commented Oct 4, 2017

Fixed by #27598

@LnL7 LnL7 closed this as completed Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants