Skip to main content

PRISM Mediator

Introduction

Mediators are indispensable in identity wallets, especially when dealing with mobile devices or edge agents. These mobile devices usually lack static IP addresses. They may only sometimes be online, posing a challenge in establishing reliable, direct connections between various parties in a decentralized ecosystem and guaranteeing delivery of DIDComm messages. The PRISM Mediator functions similarly to an email inbox for the recipient, storing "Forward" messages and their final encrypted content until retrieved by the intended party.

Mediator's Role in Decentralized Identity Transactions

Within a decentralized identity framework, the Mediator bridges the Holder's device and other key players, such as Issuers and Verifiers. For instance, if a Holder wishes to obtain a credential from an Issuer, the Mediator can relay or mediate this request, ensuring smooth interaction between both parties. Similarly, when a holder must present a credential to a verifier, the Mediator steps in again to mediate or relay the transaction. By leveraging a Mediator, identity wallets can offer secure and reliable communication between all involved entities. This approach also empowers holders to maintain control over their data and identities.

Security, Scalability, and Efficiency

The Mediator is an integral part of Atala PRISM, facilitating secure communication without the need for a centralized authority. It seamlessly connects various entities in the PRISM ecosystem, including Holders, Issuers, and Verifiers, ensuring the system remains secure, scalable, and efficient.

Technical Specifications

The PRISM Mediator is an open-source initiative. For more details, you can refer to the atala-prism-mediator Github repository. The project aims to address the inherent limitations of edge agents, which are not always online, by assuming that the Mediator is perpetually online. Employing DIDComm v2 protocols and cryptographic methods, the Mediator guarantees all exchanged messages' authenticity, integrity, and confidentiality.

DIDComm V2 Mediator Test Suite

Overview

We have rigorously evaluated our Mediator protocols using the DIDComm V2 Mediator Test Suite. This test suite scrutinizes the compatibility of mediators with DIDComm V2 protocols, serving as a benchmark for quality and reliability.

Protocols Tested

The suite tests a variety of vital protocols, including:

You can consult the features folder in the test suite repository for an exhaustive list of test scenarios and detailed descriptions.

Future Enhancements in Testing

As part of our ongoing commitment to improving the PRISM Mediator, we plan to make our test sets publicly accessible, allowing users and developers to perform comparative assessments on functionality and performance against other mediators in the market. We aim to continually refine the PRISM Mediator's features based on real-world scenarios and demands, ensuring it remains a reliable and robust component in the Atala PRISM ecosystem.

We are working on enhancing the scope of our testing suite to address limitations and include additional protocols and scenarios. These future updates will make the PRISM Mediator even more robust and versatile.

The PRISM Mediator will continue to develop with the same rigorous testing protocols to ensure it remains at the forefront of secure, efficient, and interoperable decentralized identity management.

Future Developments

Looking ahead, we are committed to the ongoing development of the PRISM Mediator, with plans to expand its feature set and integrate new protocols. Real-world use cases drive these updates to achieve feature completeness. Additionally, we aim to keep the Mediator at the forefront of industry developments, ensuring it remains aligned with emerging protocols and technological advancements.