2024-11-04 19:18:55 -08:00
# Secure Updates Client
**Contributors:** Secure Updates Foundation
**Tags:** plugin updates, custom host, WordPress
**Requires at least:** 5.0
**Tested up to:** 6.6.2
2024-11-05 17:10:44 -08:00
**Requires PHP:** 7.4
**Stable tag:** 3.1
2024-11-04 19:18:55 -08:00
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html
2024-11-05 17:10:44 -08:00
## Beta Status Notice
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
This plugin is currently in beta. While it is stable enough for testing and evaluation, please:
1. Test thoroughly in a staging environment first
2. Maintain backups before updating plugins
3. Monitor logs for any update failures
4. Report issues through our GitHub repository
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
Not recommended for mission-critical production sites without thorough testing.
2024-11-04 19:18:55 -08:00
2024-11-04 19:31:17 -08:00

2024-11-05 17:10:44 -08:00
## Description
Secure Updates Client is designed to seamlessly integrate with [Secure Updates Server ](https://github.com/secure-updates/secure-updates-server ), providing a complete solution for managing WordPress plugin updates through your own infrastructure. While it can work with any compatible update server, it offers zero-configuration integration with Secure Updates Server, allowing you to immediately start managing plugin updates through your own trusted infrastructure. The plugin intelligently overrides the update URLs for plugins hosted on WordPress.org while leaving custom-hosted plugins unaffected.
Together with Secure Updates Server, this client enables you to:
- Mirror and serve plugin updates from your own infrastructure
- Ensure plugin integrity through checksum verification
- Control and monitor plugin updates across your WordPress sites
- Maintain a secure, private plugin update channel
- Automatically sync new plugins with your update server
The client can also be configured to work with other mirrored plugin repositories or custom update servers that implement the required API endpoints.
2024-11-04 19:18:55 -08:00
### Features
2024-11-05 17:10:44 -08:00
- **Custom Update URL:** Redirects plugin update checks to your specified custom host for supported plugins
- **Selective Overriding:** Only overrides update URLs for plugins hosted on WordPress.org
- **Secure Update Notifications:** Displays secure update messages with checksum verification
- **API Key Integration:** Secure authentication with your custom update host
- **Connection Testing:** Test host connectivity from settings page
- **Automated Plugin Sync:** Daily synchronization of installed plugins
- **Real-time Plugin Change Handling:** Immediate host notification of plugin changes
- **Version Compatibility Checking:** Ensures plugins meet minimum requirements
- **Rate Limiting:** Prevents API overload
- **Checksum Verification:** Validates plugin integrity before installation
## System Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- SSL support (required for secure communications)
- MySQL 5.6 or higher
- Server Requirements:
- PHP memory limit: 64MB minimum
- Max execution time: 30 seconds minimum
- SSL certificate properly configured
- Outbound HTTPS requests allowed
2024-11-04 19:18:55 -08:00
## Installation
1. **Download the Plugin:**
2024-11-05 17:10:44 -08:00
- Clone the repository or download the ZIP file
2024-11-04 19:18:55 -08:00
2. **Install via WordPress Admin:**
2024-11-05 17:10:44 -08:00
- Go to `Plugins` > `Add New` > `Upload Plugin`
- Upload the `secure-updates-client.zip` file
- Click `Install Now` and then `Activate`
2024-11-04 19:18:55 -08:00
3. **Configure Custom Host URL:**
2024-11-05 17:10:44 -08:00
- Navigate to `Settings` > `Secure Updates Client`
- Enter your custom host URL
- Enter your API key
- Test the connection
- Enable updates from the custom host
- Save the settings
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
## Quick Start Guide
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
1. After installation, go to the Secure Updates Client settings page
2. Enter your custom host URL (e.g., `https://your-secure-updates-server.com` )
3. Input the API key provided by your secure updates server
4. Click "Test Connection" to verify connectivity
5. Enable the custom host if the connection test succeeds
6. Save your settings
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
## Documentation
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
- [Changelog ](CHANGELOG.md ) - Detailed version history and updates
- [Security Guide ](SECURITY.md ) - Security best practices and configuration
- [API Integration ](API_INTEGRATION.md ) - Complete API documentation and examples
- [Deployment Checklist ](DEPLOYMENT.md ) - Step-by-step deployment guide
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
Please review these documents before deploying in a production environment.
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
## Security Considerations
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
### API Key Management
- Store API keys securely
- Use unique keys per site
- Rotate keys periodically
- Never share keys in public repositories
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
### SSL Configuration
- Valid SSL certificate required
- Keep SSL certificates up to date
- Configure proper SSL verification
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
### Firewall Considerations
- Allow outbound HTTPS connections to custom host
- Configure rate limiting if needed
- Monitor for suspicious activity
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
## Troubleshooting
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
### Common Connection Issues
1. **Connection Failed**
- Verify custom host URL
- Check SSL certificate
- Confirm firewall settings
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
2. **API Authentication Failed**
- Verify API key
- Check key permissions
- Ensure key hasn't expired
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
3. **Plugin Sync Issues**
- Check server connectivity
- Verify WordPress cron is running
- Monitor error logs
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
## Support and Contribution
2024-11-04 19:18:55 -08:00
2024-11-05 17:10:44 -08:00
- Report issues on our [GitHub repository ](https://github.com/secure-updates-foundation/secure-updates-client/issues )
- Join our [Community Forum ](https://community.secure-updates.org )
- Contribute via Pull Requests
2024-11-04 19:18:55 -08:00
## License
2024-11-05 17:10:44 -08:00
This plugin is licensed under the GPLv2 or later. See the LICENSE file for details.