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

sign binaries on macOS #48

Open
riptl opened this issue Aug 7, 2022 · 2 comments
Open

sign binaries on macOS #48

riptl opened this issue Aug 7, 2022 · 2 comments

Comments

@riptl
Copy link

riptl commented Aug 7, 2022

consider signing the Rust + LLVM bins on macOS to avoid "unverified developer" warnings.

Solana could either create their own CA and ask users to import,
or buy a DigiCert Signing Cert and use the codesign command-line tool in CI

@riptl
Copy link
Author

riptl commented Aug 7, 2022

example

--- stderr
dyld[20253]: Library not loaded: '@rpath/librustc_driver-1095a6ea14c736d2.dylib'
  Referenced from: '/Users/richard/.cache/solana/v1.29/sbf-tools/rust/bin/rustc'
  Reason: tried: '/Users/richard/.cache/solana/v1.29/sbf-tools/rust/bin/../lib/librustc_driver-1095a6ea14c736d2.dylib' (code signature in <ED677311-B9C4-37E3-BFCB-76DB677F8117> '/Users/richard/.cache/solana/v1.29/sbf-tools/rust/lib/librustc_driver-1095a6ea14c736d2.dylib' not valid for use in process: library load disallowed by system policy), '/Users/richard/.cache/solana/v1.29/sbf-tools/rust/bin/../lib/librustc_driver-1095a6ea14c736d2.dylib' (code signature in <ED677311-B9C4-37E3-BFCB-76DB677F8117> '/Users/richard/.cache/solana/v1.29/sbf-tools/rust/lib/librustc_driver-1095a6ea14c736d2.dylib' not valid for use in process: library load disallowed by system policy), '/Users/richard/.rustup/toolchains/sbf/lib/librustc_driver-1095a6ea14c736d2.dylib' (code signature in <ED677311-B9C4-37E3-BFCB-76DB677F8117> '/Users/richard/.cache/solana/v1.29/sbf-tools/rust/lib/librustc_driver-1095a6ea14c736d2.dylib' not valid for use in process: library load disallowed by system policy), '/Users/richard/lib/librustc_driver-1095a6ea14c736d2.dylib' (no such file), '/usr/local/lib/librustc_driver-1095a6ea14c736d2.dylib' (no such file), '/usr/lib/librustc_driver-1095a6ea14c736d2.dylib' (no such file)

@dmakarov dmakarov changed the title sign bins on macOS sign binaries on macOS Mar 8, 2023
@ksolana
Copy link

ksolana commented May 2, 2024

Is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants