Aesthetic Computer Electron Build Credentials#
This directory contains signing certificates and credentials for building and distributing the Aesthetic Computer desktop app across all platforms.
Contents#
macOS Code Signing#
mac-developer-id.p12- Apple Developer ID certificate (export from Xcode/Keychain)mac-developer-id-password.txt- Password for the .p12 filemac-provisioning-profile.provisionprofile- Provisioning profile (if needed)apple-id.txt- Apple ID email for notarizationapple-app-specific-password.txt- App-specific password for notarization
Windows Code Signing#
windows-code-signing.pfx- Windows Authenticode certificatewindows-code-signing-password.txt- Password for the .pfx file
Linux#
No signing required for Linux builds (AppImage, deb, rpm are unsigned by default)
Build Secrets#
.env- Environment variables for build process:# macOS CSC_LINK=./mac-developer-id.p12 CSC_KEY_PASSWORD=<from mac-developer-id-password.txt> APPLE_ID=<from apple-id.txt> APPLE_APP_SPECIFIC_PASSWORD=<from apple-app-specific-password.txt> APPLE_TEAM_ID=<your Apple Team ID> # Windows WIN_CSC_LINK=./windows-code-signing.pfx WIN_CSC_KEY_PASSWORD=<from windows-code-signing-password.txt> # Publishing GH_TOKEN=<GitHub Personal Access Token with repo scope>
Usage#
The build-all-platforms.fish script in the parent ac-electron/ directory will:
- Source credentials from this vault
- Build for all platforms using Docker containers
- Sign apps with appropriate certificates
- Publish to GitHub releases
Getting Certificates#
macOS Developer ID Certificate#
- Log into https://developer.apple.com
- Go to Certificates, Identifiers & Profiles
- Create a Developer ID Application certificate
- Download and install in Keychain Access
- Export as .p12 with a strong password
- Store .p12 and password in vault
Windows Code Signing Certificate#
- Purchase from a CA (DigiCert, Sectigo, etc.)
- Download the .pfx file
- Store .pfx and password in vault
Apple App-Specific Password#
- Log into https://appleid.apple.com
- Go to Security > App-Specific Passwords
- Generate a new password for "Aesthetic Computer Electron Builder"
- Store in vault
Security Notes#
- NEVER commit certificates to git
.p12and.pfxfiles should be mode 600 (owner read/write only)- Passwords stored in separate files for easier rotation
- This directory is gitignored in the parent repo