-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME_example_messages.txt
58 lines (40 loc) · 1.27 KB
/
README_example_messages.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
## A message from Alice to Bob
$ oc_client -u Alice -d data.txt -f msg.txt
where data.txt contains the onionURL,
port and password, in the following format:
onionURL:port password
LF or CRLF (must be one line only, otherwise
a format error appears)
## A message to the Usenet Group alt.test
data.txt contains the mailer data.
Subject: Test
Newsgroups: alt.test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hello world!
## A reply message to the above Usenet posting
Subject: Re: Test
References: <Message-ID of original posting>
Newsgroups: alt.test
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> Hello world!
Hi
## An email, via a Guard node and Middleman
data.txt must contain as first hop the
onionURL:port password of the Guard node.
The message then needs a prepended header
of the middleman.
X-OC-To: onionURl:port password of middleman
X-OC-To: onionURL:port password of mailer
Subject: Hello
Hi Bob!
Best Alice
After that the message needs to be encrypted
with the public key of the Guard node, done with
minicrypt and send to the guard node in data.txt.