Skip to main content
Banner

Security Assessment of tlock

· 2 min read
Yolan Romailler
Co-Founder & Cryptographer

We are happy to announce that our timed release encryption scheme "tlock" and its implementations, which we introduced in our previous blog post, have recently undergone a comprehensive security assessment by Kudelski Security. This was a crucial step in ensuring the robustness and reliability of our encryption system in order to guarantee that timelocked content remains encrypted until the time has come for it to be decrypted and never before.

Overview

Kudelski Security, a renowned provider of cybersecurity solutions, was engaged to review the implementation of drand’s timelock encryption scheme and timelock responsible disclosure demo. The work covered:

The audit primarily focused on code security, protocol security, and ensuring our implementations matched the tlock paper.

📋 Audit Findings

During the audit, Kudelski Security identified:

  • 1 High severity issue
  • 5 Medium severity issues
  • 3 Low severity issues

It is worth highlighting that none of the identified issues would have put existing encrypted data at risk. We are pleased to report that all identified issues have been addressed and corrected. The detailed audit report is available on IPFS with CID QmWQvTdiD3fSwJgasPLppHZKP6SMvsuTUnb1vRP2xM7y4m.

🛡️ Security Considerations

The security of our timelock encryption system relies on four main aspects:

  1. The security of the **Identity Encryption Scheme** from 2001 that we used, and our implementation of it.
  2. The security of the underlying threshold **BLS scheme** from 2003 that we used, and our implementation of it.
  3. The security of age's underlying primitives, and that of the age implementation used to encrypt the actual data. (See **https://age-encryption.org/** for details about age.)
  4. The security of the threshold network providing you with its BLS signatures at a given frequency.

Please note that neither the BLS, nor the IBE scheme are "quantum resistant". However, a quantum computer that is able to break them seems unlikely to be built within the next 5-10 years, therefore we currently believe you can expect a "long term security" horizon of about five years by relying on our design for timed release encryption.

🏆 Conclusion

We are grateful to the Kudelski Security Research team for their thorough and professional audit. Their expertise has been critical in helping us improve the security of drand's timelock encryption functionality. We also want to thank the Kudelski team for the smooth collaboration and availability throughout the assessment.

However, it's important to note that no security assessment can guarantee 100% security. While we've taken extensive measures to ensure the security of our timelock encryption system, we encourage users to understand the security considerations and make informed decisions, especially when encrypting data for a long time period.

Our code being entirely open-source, further scrutiny and reviews are always welcome. Don't hesitate to **join our Slack workspace** to discuss our Timelock design, possible use-cases, or to show us what you've done with it!

We look forward to continuing to enhance the security and reliability of our systems, and we remain committed to transparency and collaboration in all our endeavors.