diff --git a/docs/networking/protocols/layer-7/rpc.md b/docs/networking/protocols/layer-7/rpc.md index 5b2f4acd..ddfe063f 100644 --- a/docs/networking/protocols/layer-7/rpc.md +++ b/docs/networking/protocols/layer-7/rpc.md @@ -142,18 +142,18 @@ Mutual TLS (mTLS) is an extension of TLS where both the client and server authen ### Benefits of mTLS -* Encrypts all communication between client and server. -* Authenticates both parties before any application data is exchanged. -* Eliminates the need to transmit credentials such as API keys between trusted services. -* Commonly used for service-to-service communication in microservice architectures. -* Provides strong identity verification in zero-trust environments. +- Encrypts all communication between client and server. +- Authenticates both parties before any application data is exchanged. +- Eliminates the need to transmit credentials such as API keys between trusted services. +- Commonly used for service-to-service communication in microservice architectures. +- Provides strong identity verification in zero-trust environments. ### Common Use Cases -* Communication between microservices. -* Internal APIs within Kubernetes clusters. -* Service mesh implementations such as Istio and Linkerd. -* Highly regulated environments requiring strong authentication and encryption. +- Communication between microservices. +- Internal APIs within Kubernetes clusters. +- Service mesh implementations such as Istio and Linkerd. +- Highly regulated environments requiring strong authentication and encryption. ## Key Comparisons Between RPC and gRPC diff --git a/docs/networking/protocols/layer-7/ssh.md b/docs/networking/protocols/layer-7/ssh.md index 34659700..24f6f95e 100644 --- a/docs/networking/protocols/layer-7/ssh.md +++ b/docs/networking/protocols/layer-7/ssh.md @@ -31,7 +31,7 @@ SSH (Secure Shell) is a cryptographic network protocol used to securely access r - **Public Key**: Shared with the server for authentication. - **Private Key**: Kept secret by the client for decryption. -
+
```mermaid sequenceDiagram participant Client as SSH Client @@ -52,7 +52,6 @@ SSH (Secure Shell) is a cryptographic network protocol used to securely access r Client->>Server: Encrypted Session Established Server-->>Client: Encrypted Session Established ``` -
### Steps in SSH Communication @@ -75,7 +74,7 @@ The **Diffie-Hellman Key Exchange (or similar algorithm)** is used to securely a 2. Both sides compute a shared secret key using their private parameters. 3. The resulting shared secret key is used for symmetric encryption. -
+
```mermaid sequenceDiagram participant Client as Client @@ -87,7 +86,6 @@ The **Diffie-Hellman Key Exchange (or similar algorithm)** is used to securely a Client->>Client: Computes Shared Key = (B^a mod p) Server->>Server: Computes Shared Key = (A^b mod p) ``` -
Here: