The Wayback Machine - https://web.archive.org/web/20210911192407/https://github.com/topics/encrypted-messages
Skip to content
#

encrypted-messages

Here are 30 public repositories matching this topic...

ockam
jared-s
jared-s commented Jul 21, 2021

Writing tests for nodes and workers is complex due to their async nature. In tests we can't use the #[ockam::node] attribute, and instead use the method of

let (ctx, executor) = ockam::start_node()
executor.execute(async move { ...

This method has problems: if a test assertion fails inside of this async block, the test will not fail. Instead, the Node remains alive. I believe

GallagherCommaJack
GallagherCommaJack commented Sep 9, 2019

for example:

  • limit number of kdf iterations for out of order message delivery
  • limit max message size
  • patch serde_cbor to limit maximum memory allocation

I'm not sure how best to pick these limits, so for now I'm going to leave TODO's in the code that reference this issue.

(probably partial) list of places in the code where this needs to be fixed:

  • read_cbor
  • `send_
mailchain-web

Improve this page

Add a description, image, and links to the encrypted-messages topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the encrypted-messages topic, visit your repo's landing page and select "manage topics."

Learn more