Skip to content

Add more security and allow_lists, and type annotations#80

Merged
mraspaud merged 4 commits intopytroll:mainfrom
mraspaud:more_security
Jan 23, 2026
Merged

Add more security and allow_lists, and type annotations#80
mraspaud merged 4 commits intopytroll:mainfrom
mraspaud:more_security

Conversation

@mraspaud
Copy link
Member

@mraspaud mraspaud commented Jan 22, 2026

This PR complements the previous work on curve security by enabling ZAP for all sockets (even unsecure, but will be transparent for existing processes), and using the white-listing also for the unsecure backend if defined.

@mraspaud mraspaud self-assigned this Jan 22, 2026
@codecov
Copy link

codecov bot commented Jan 22, 2026

Codecov Report

❌ Patch coverage is 86.00683% with 41 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.70%. Comparing base (5fe9b3f) to head (0bb8cdb).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
posttroll/backends/zmq/socket.py 70.11% 26 Missing ⚠️
posttroll/logger.py 0.00% 7 Missing ⚠️
posttroll/backends/zmq/subscriber.py 91.66% 4 Missing ⚠️
posttroll/backends/zmq/address_receiver.py 90.00% 1 Missing ⚠️
posttroll/backends/zmq/ns.py 97.72% 1 Missing ⚠️
posttroll/message.py 92.30% 1 Missing ⚠️
posttroll/ns.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #80      +/-   ##
==========================================
- Coverage   89.17%   88.70%   -0.48%     
==========================================
  Files          26       26              
  Lines        2430     2576     +146     
==========================================
+ Hits         2167     2285     +118     
- Misses        263      291      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mraspaud mraspaud marked this pull request as ready for review January 23, 2026 08:31
@mraspaud mraspaud merged commit 59e4a16 into pytroll:main Jan 23, 2026
5 of 7 checks passed
@mraspaud mraspaud deleted the more_security branch January 23, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant