diff --git a/README.md b/README.md index caf470c..1ce6bcc 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Mycelium -Mycelium is an IPv6 overlay network writing in Rust. Each node that joins the overlay network will receive an overlay network IP in the 400::/7 range. +Mycelium is an IPv6 overlay network written in Rust. Each node that joins the overlay network will receive an overlay network IP in the 400::/7 range. ## Features diff --git a/docs/api.yaml b/docs/api.yaml index a2f038c..58c5199 100644 --- a/docs/api.yaml +++ b/docs/api.yaml @@ -104,7 +104,7 @@ paths: $ref: '#/components/schemas/PushMessageBody' responses: '200': - description: We received a reply withing the specified timeout + description: We received a reply within the specified timeout content: application/json: schema: diff --git a/scripts/setup_network.sh b/scripts/setup_network.sh index e975776..bfb3973 100755 --- a/scripts/setup_network.sh +++ b/scripts/setup_network.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash # -# A simple shell script to setup a local network using network namespaces. This relies on the presence of the `ip` tool, part of `iproute2` packge on linux. +# A simple shell script to setup a local network using network namespaces. This relies on the presence of the `ip` tool, part of `iproute2` package on linux. # # Note: this script requires root privilege diff --git a/src/crypto.rs b/src/crypto.rs index 321ec16..fbb5bff 100644 --- a/src/crypto.rs +++ b/src/crypto.rs @@ -156,7 +156,7 @@ impl SharedSecret { data.buf } - /// Decrypt a message previously encrytped with an equivalent `SharedSecret`. In other words, a + /// Decrypt a message previously encrypted with an equivalent `SharedSecret`. In other words, a /// message that was previously created by the [`SharedSecret::encrypt`] method. /// /// Internally, this messages assumes that a 12 byte nonce is present at the end of the data. diff --git a/src/message.rs b/src/message.rs index 41ef03b..694f98d 100644 --- a/src/message.rs +++ b/src/message.rs @@ -503,7 +503,7 @@ impl MessageStack { let src_pubkey = if let Some(pk) = dp.router().get_pubkey(message.src) { pk } else { - warn!("No publick key entry for IP we just received a message chunk from"); + warn!("No public key entry for IP we just received a message chunk from"); return; }; // This always is our own key as we are receiving.