The Milagro D-TA enables Principals (who require secrets to be safeguarded) to communicate with Fiduciaries who provide custodian services for those secrets. To facilitate these transactions communication between the parties must be secure i.e., must have privacy, authentication, non-repudiation and message integrity. The Milagro D-TA delivers this using its "Encrypted Envelope" messaging format.
The Milagro D-TA Encrypted Envelope format is conceptually similar to S/MIME and its cryptographic message format.
For more information about S/MIME, click here.
- The message consists of a header and body.
- The message body is encrypted with an AES key.
- The AES key for decrypting ciphertext is "encapsulated" i.e. encrypted using each recipient's public key.
- The sender signs the message.
- The message header contains a list of each recipient's encrypted version of the key.
- The message is pushed to IPFS and the IPFS address hash is sent to the recipients.
- The recipients verify the signature and then read the message.
- Only recipients with the matching secret keys can decrypt the AES key and use it to read the encrypted message bodies.
Post Quantum Cryptography
At the time of writing the Milagro D-TA implements cryptographic routines from the NIST Post-Quantum Cryptography Standardization Project.
- SIKE - key encapsulation
This implementation is currently under review.
Milagro D-TAs use BLS signatures to sign encrypted envelopes.
The Milagro D-TA's Encrypted Envelopes are designed to facilitate a dialogue between the Principal, Fiduciary and Beneficiaries. Requests and responses are appended to the original document and published back to IPFS which returns new HASH address.
In this way, an immutable copy of each transaction is maintained, but the intended recipients can view the entire history of the transaction if they have the required decryption keys. Each message can be seen within each update, providing additional assurance and verification and reducing round trips to IPFS.