Commit 575d5515 authored by juga's avatar juga
Browse files

Add documentation about integration tests

parent 65f8a7f3
Pipeline #187 failed with stage
......@@ -12,6 +12,7 @@ Welcome to pEp Python Remailer's documentation!
README
CONTRIBUTING
integration
modules
......
Integration tests
=================
Alice (A) want to send a message to Bob (B) routing it via N1, N2, N3.
For this test, the following docker images are needed:
Alice
-----
- has a keyring with the following keys: As, Ap, Bp, N3p, N2p, N1
- compose a message from Alice to Bob
- launch the mixnet client, the client will:
1. encrypt the message for Bob
2. encrypt the message for N3
3. encrypt the message for N2
4. encrypt the message for N1
5. the final message is from A to N1
6. send the message to N1
N1
--
- has a kerying with the keys: N1s, N1p, N2p, N3p
- receives the message from A to N1
- the mixnet remailer is triggered, which:
1. decrypts the message and obtain a message from A to N2
2. change the from header to be from N1?
3. send the message to N2
N2
--
- has a kerying with the keys: N2s, N2p, N1p, N3p
- receives the message from A (or N1?) to N2
- the mixnet remailer is triggered, which:
1. decrypts the message and obtain a message from A to N3
2. change the from header to be from N2?
3. send the message to N3
N3
--
- has a kerying with the keys: N3s, N3p, N1p, N2p
- receives the message from A (or N2?) to N3
- the mixnet remailer is triggered, which:
1. decrypts the message and obtain a message from A to B
2. change the from header to be from N3?
3. send the message to B
Bob
---
- has a kerying with the keys: Bs, Bp, Ap, N1p, N2p, N3p
- receives the message from A (or N3?) to B
- launch pep client, which:
1. decrypts the message and obtain a message from A to B
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment