Your tauri.conf.json has a hardcoded public key but no proper 1Password integration.
-
Get your keys:
# If you have access to 1Password op signin --account my.1password.com op read "op://TerraphimPlatform/TauriSigning/TAURI_PRIVATE_KEY" op read "op://TerraphimPlatform/TauriSigning/TAURI_PUBLIC_KEY" op read "op://TerraphimPlatform/TauriSigning/credential"
-
Update tauri.conf.json manually:
{ "tauri": { "bundle": { "targets": "all", "identifier": "com.terraphim.ai.desktop", "signing": { "privateKey": "YOUR_TAURI_PRIVATE_KEY_HERE", "publicKey": "YOUR_TAURI_PUBLIC_KEY_HERE", "credential": "YOUR_TAURI_CREDENTIAL_HERE" } } } }
Run the provided setup script:
# Setup Tauri signing with 1Password integration
./scripts/setup-tauri-signing.shThis will:
- β
Read keys from 1Password
TerraphimPlatformvault - β
Create local
.tauriconfig - β Set environment variables for current session
- β Configure Tauri to auto-sign during builds
After setting up signing, build with:
cd desktop
yarn tauri build --bundles deb rpm appimage --target x86_64-unknown-linux-gnu
# Or use the comprehensive build script
./packaging/scripts/build-all-formats.sh 1.0.0If you can't access the TerraphimPlatform vault:
-
Create temporary keys for testing:
# Generate temporary keys cargo tauri keygen --name "Terraphim Test" --email "test@terraphim.ai" # Use these keys in tauri.conf.json temporarily
-
Contact your team to get proper access to:
TerraphimPlatform/TauriSigning/TAURI_PRIVATE_KEYTerraphimPlatform/TauriSigning/TAURI_PUBLIC_KEYTerraphimPlatform/TauriSigning/credential
Current tauri.conf.json issues:
- β Hardcoded public key (not secure)
- β No private key configuration
- β No 1Password integration
- β No signing setup for builds
After setup:
- β Secure 1Password integration
- β Automatic key management
- β
Local key caching via
.tauriconfig - β Environment variables for builds
- β Proper key rotation capability
- Never commit private keys to git repository
- Use environment variables for build-time signing
- Rotate keys regularly via 1Password
- Test signature verification after builds
- Run
./scripts/setup-tauri-signing.sh - Test with a small build:
yarn tauri build --bundles deb - Verify signatures:
yarn tauri signer verify - Proceed with full release build