Repository navigation
docs(cli-generator): document optional macOS signing and Keychain prompt behavior - #7717
Open
devin-ai-integration[bot] wants to merge 1 commit into
Open
devin-ai-integration[bot] wants to merge 1 commit into
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…mpt behavior Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
devin-ai-integration
Bot
requested review from
jkonrath-postman and
nerminamiller-postman
as code owners
November 1, 2026 17:09
Contributor
|
🌿 Preview your docs: https://fern-preview-devin-1793552898-cli-macos-signing.docs.buildwithfern.com/learn Here are the markdown pages you've updated: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This documents optional macOS code signing for CLIs built with Fern's CLI generator. Signing turns on when the CLI repository has three Actions secrets (
CODESIGN_CERTIFICATE,CODESIGN_CERTIFICATE_PASSWORD,CODESIGN_IDENTITY). It also documents the new macOS Keychain prompt behavior. For customers, the change means end users of their CLI stop seeing a Keychain security prompt after every rebuild or upgrade: one Always Allow now lasts, and signing with a stable Developer ID identity keeps that approval tied to the same signer across releases.Implements docs for: fix(cli-generator): stop repeated macOS keychain prompts and name keychain denials (fern-api/fern#18622)
Pages changed
fern/products/cli-generator/publishing.mdx: new Sign macOS binaries subsection under Publish your CLI, placed after the attestations paragraph. It has a table of the three secrets and says all three are required. Without them, the workflow logs that the binaries stay unsigned and builds exactly as before. It notes the minimum version (CLI generator0.58.2) and that signing doesn't include notarization.fern/products/cli-generator/authentication.mdx: one paragraph in Storage and inheritance covering what changes on macOS:security, not the CLI.How the secret formats were checked
The formats come from cargo-dist's
cargo-dist/src/sign/macos.rs.CODESIGN_CERTIFICATEis base64-decoded and written tocert.p12, andCODESIGN_IDENTITYis passed tocodesign --sign. The cargo-dist book page for macOS signing now returns 404.Things for the reviewer to check
0.58.2is the right minimum version. These changelog entries sit under0.58.2ingenerators/cli/versions.yml.fern check --warningsreports 0 errors, and pre-commit/vale passes (its warnings are on lines this PR didn't touch).Link to Devin session: https://app.devin.ai/sessions/699c1ced3cd24c7eab5f62733a849438
Open in Devin Desktop: https://app.devin.ai/desktop/session/699c1ced3cd24c7eab5f62733a849438?variant=devin