Policy-Based Topic Encryption for Message Queues
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional message queuing systems lack end-to-end encryption capabilities, making them vulnerable to 'sysadmin attacks' and unauthorized access, as administrators may access decrypted data, and producers are not in control of encryption keys.
Innovation Solution
Implementing a targeted, policy-based encryption system that uses a combination of an encryption policy system and a key management system to determine encryption levels for messages based on topics, ensuring encryption from producers to consumers, with encryption keys managed by the key management system and decryption keys provided to authorized consumers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If conventional message queuing systems store and forward messages in decrypted form, then ease of operation and accessibility are improved, but security and protection against unauthorized access deteriorate
Solution Approach 1:
The system performs encryption on messages before they are stored in the message queue. The producer encrypts the message using an encryption key, and the encrypted message is then stored in the queue. This preliminary encryption action ensures that messages remain protected throughout their storage and transmission lifecycle, preventing unauthorized access while maintaining system operability.
Solution Approach 2:
The patent introduces an encryption key management system as an intermediary between the producer and consumer. The encryption key is managed separately and provided to authorized consumers through a key management interface. This intermediary mechanism allows controlled access to decrypted messages while maintaining security, as the key management system acts as a gatekeeper that verifies consumer authorization before providing decryption keys.
2Ease of operation
If administrators can access decrypted data for system management, then ease of operation is improved, but vulnerability to sysadmin attacks increases
Solution Approach 1:
The patent extracts the encryption key management functionality from the core message queue system into a separate key management system. This separation ensures that even system administrators who have access to the message queue infrastructure cannot access the encryption keys stored in the separate key management system. The key management system operates independently with its own security controls, preventing administrators from accessing decrypted messages through infrastructure access.
3Reliability
If producers control encryption keys, then security and confidentiality are improved, but device complexity increases
Solution Approach 1:
The key management system provides multiple functions within a single unified interface: it stores encryption keys, manages key distribution to authorized consumers, and handles key rotation. This multi-functional approach consolidates what would otherwise require separate complex systems for key storage, distribution, and management, reducing overall system complexity while maintaining producer control over encryption keys.
Data Source
AI summary
A targeted, topic-based encryption in a publish-subscribe message queue. Topic-based encryption driven by encryption policies for both storing and receiving messages uses activity tracking and logging to ensure confidentiality of certain topics associated with stored encrypted messages. Authentication of both publisher and consumer ensure encryption and decryption keys are used in confidence.


