This security guide covers update key management and security best practices for Ora Browser developers and contributors.
Update Key Management
Ora Browser uses Ed25519 cryptographic keys to sign and verify app updates for security.Public Key (Committed to Git)
ora_public_key.pem
Purpose: Verifies update signatures in the appStatus: Committed to git repositorySafety: Public keys are safe to share
Private Key (Never Commit!)
.env
Contains:
ORA_PRIVATE_KEYPurpose: Signs app updates during releaseStatus: Never committed to git (protected by .gitignore)Safety: Keep secure and private at all timesSetup Process
First Machine
Keys are automatically generated and saved appropriately when you run the setup script.
Additional Machines
Copy the
.env file from your first machine securely (never commit it to version control).Security Notes
Security Checks
Run the security check script to verify your configuration:- Private key exists but is not tracked by git
- Public key is available for app integration
.gitignoreproperly excludes sensitive files
Security Best Practices
Private Key Management
Private Key Management
NEVER commit private keys to version controlNEVER share private keys with anyoneNEVER delete private keys once you’ve published releases (breaks update chain)Use secure methods to transfer keys between machines (encrypted USB drives, secure password managers, etc.)
Version Control Safety
Version Control Safety
Regularly audit what’s in your git staging area before committing:Ensure no sensitive files appear in
git status before running git commit.User Privacy & Data Handling
User Privacy & Data Handling
When contributing:
- Be mindful of user privacy and data handling
- Never log sensitive user data
- Follow secure coding practices for web content handling
- Assume all user data is sensitive
Secure Development
Secure Development
- Keep dependencies up to date
- Review security advisories for Swift packages
- Use proper input validation
- Sanitize data before display
- Follow WebKit security best practices
Security Violations
If you accidentally commit sensitive data:Reporting Security Vulnerabilities
If you discover a security vulnerability in Ora Browser:Responsible Disclosure
- Do not open a public GitHub issue
- Contact maintainers privately on Discord
- Provide details about the vulnerability
- Allow time for the team to address the issue before public disclosure
Additional Resources
Contributing Guide
Development setup and contribution guidelines
GitHub Wiki
Comprehensive project documentation
For questions about security practices, join our Discord community or review the source code on GitHub.
