Skip to content

Conversation

@TeleVision05
Copy link
Collaborator

No description provided.

@gitguardian
Copy link

gitguardian bot commented Oct 17, 2025

⚠️ GitGuardian has uncovered 1 secret following the scan of your pull request.

Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.

🔎 Detected hardcoded secret in your pull request
GitGuardian id GitGuardian status Secret Commit Filename
21672320 Triggered Username Password f34fa7b software/mqtt_client.py View secret
🛠 Guidelines to remediate hardcoded secrets
  1. Understand the implications of revoking this secret by investigating where it is used in your code.
  2. Replace and store your secret safely. Learn here the best practices.
  3. Revoke and rotate this secret.
  4. If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.

To avoid such incidents in the future consider


🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.

TeleVision05 and others added 7 commits October 17, 2025 16:57
Features:
- APNs push notifications for object detection with 60s cooldown
- Camera online/offline status notifications
- Simple HTTP/2 APNs client (Python 3.11 compatible)
- Device token registration via MQTT retained messages
- Batch detection messages to reduce MQTT traffic
- Detection interval configuration (default: 60 frames)

Changes:
- Add apns_manager.py for APNs and device management
- Add simple_apns.py for HTTP/2 APNs communication
- Update server.py with APNs integration and status monitoring
- Add send_batch_detection() to mqtt_client.py
- Update requirements.txt with httpx, pyjwt, cryptography
- Update Docker files for APNs support
- Add test scripts and comprehensive documentation

Technical improvements:
- Fix cooldown key ordering (sorted unique classes)
- Replace apns2 with httpx-based solution for Python 3.11
- Add camera status tracking to prevent duplicate notifications

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants