Changes for page Matrix

Last modified by Stefan Schwalb on 2023/08/28 20:39

From version 22.2
edited by Aysegül Omus
on 2023/08/23 18:36
Change comment: There is no comment for this version
To version 34.1
edited by Jonas Jelten
on 2023/08/28 16:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.kahraman
1 +XWiki.jelten
Content
... ... @@ -1,165 +1,98 @@
1 1  {{toc/}}
2 2  
3 3  
4 -= Establishing a Matrix Chat =
4 +== What is Matrix? ==
5 5  
6 6  
7 +[[image:https://element.io/images/Ui-grad-homepage.png||alt="https://element.io/images/Ui-grad-homepage.png" height="677" width="942"]]
7 7  
8 -== what's matrix? ==
9 9  
10 +[[Matrix>>https://matrix.org/]] is a chat system very similar to E-Mail, but instantaneous and secure.
10 10  
11 -Matrix is a chat system very similar to email. People have their account on one server but can write messages to anyone on other servers. For example @someprofessor:tum.de can communicate with @someresearcher:lmu.de.
12 -
13 -You can create end-to-end encrypted personal or group chats that are not stored and dependent on a central authority like most other tools (ms teams, whatsapp, zoom, ...) . All your messages are synced between all your devices - web clients, desktop clients, smartphone apps. For additional security, encryption keys of contacts can be verified and then stored as trusted.
14 -
15 -
16 -
17 -
18 -you can use following ito or cit interface of Matrix chat if you have ITO or CIT account:
19 -
20 -
21 - 1 [[matrix.cit.tum.de (ITO- ID)>>url:https://matrix.cit.tum.de/#/welcome]]
22 - 1 [[matrix.tum.de (LRZ-TUM-ID)>>url:https://matrix.tum.de/#/welcome]]
23 -
24 -You can log in any of them with the appropriate ID and password.
25 -
26 -
27 -if you don't have a CIT or TUM account, you can create a matrix account freely on [[https:~~/~~/app.element.io>>url:https://app.element.io/]]
28 -
29 -
30 -And[[ Here>>url:https://element.io/get-started]] you can find installation for IOS, Android, Mac, Linux and Windows.
31 -
32 -
33 -[[image:matrixdownload.png||height="284" width="575"]]
34 -
35 -
36 -== Log in ==
37 -
38 -
39 -=== Log in to the web interface with TUM login data ===
40 -
41 -
42 -(% class="box" %)
43 -(((
44 -Webpage: https:~/~/matrix.tum.de
12 +* You need to register an account at a provider (e.g. tum.de, or lmu.de)
13 +* Whatever your provider is, you can talk to people using other providers
14 +** (((
15 +For example {{code language="none"}}@someprofessor:tum.de{{/code}} can communicate with {{code language="none"}}@someresearcher:lmu.de{{/code}}!
45 45  )))
46 -
47 -(% class="box" %)
48 -(((
49 -ID: LRZ-ID (without @mytum.de or @tum.de)
17 +* (((
18 +In the same way you can use Outlook or Thunderbird with the same email account, you can use different Matrix apps for the same Matrix account!
19 +Several apps exist, but we're going to go with "[[Element>>https://element.io/]]" for the sake of simplicity, as it's among the most fully-featured Matrix apps on the market.
50 50  )))
51 51  
52 -(% class="box" %)
53 -(((
54 -Password: LRZ/TUM Password
55 -)))
22 +So People have their **account on one server** but can write messages **to anyone on other servers**.
23 +
56 56  
57 -[[image:tumaccountlogineng1.png||height="329" width="582"]]
25 +You can create[[ end-to-end encrypted>>https://en.wikipedia.org/wiki/End-to-end_encryption]] **personal or group chats** that are not stored and **not dependent on a central authority** like most other tools (MS Teams, WhatsApp, Zoom, ...).
26 +All your messages are **synced** between all your devices - web clients, desktop clients, smartphone apps.
27 +For additional security, encryption keys of contacts can be verified and then stored as trusted.
58 58  
29 +== Home Server ==
59 59  
60 -[[image:tumaccountlogineng2n.png||height="362" width="589"]]
31 +Messages are stored and synced between home servers.
61 61  
62 -=== Log in to the web interface with cit.tum login data ===
33 +A user typically has **one account** on one homeserver. You can use any homeserver of your choice - however [[ITO>>doc:CIT.ITO.WebHome]] offers two homeservers:
63 63  
64 -(% class="box" %)
65 -(((
66 -Webpage: https:~/~/matrix.cit.tum.de
67 -)))
35 +* **matrix.cit.tum.de** for CIT accounts: @username:cit.tum.de
36 +* **matrix.tum.de** for TUM accounts: @username:tum.de
68 68  
69 -(% class="box" %)
70 -(((
71 -ID: ITO-ID (without @cit.tum.de)
72 -)))
38 +You only need to use one account and can communicate with any other homeserver of the world.
73 73  
74 -(% class="box" %)
75 -(((
76 -Password: cit.tum Password
77 -)))
40 +If you don't have a CIT or TUM account, you can use a public homeserver instead:
78 78  
42 +* matrix.org: [[https:~~/~~/app.element.io/#/register>>https://app.element.io/#/register]]
43 +* or any other homeserver [[https:~~/~~/joinmatrix.org/servers/>>https://joinmatrix.org/servers/]]
44 +* or, host your own homeserver :)
79 79  
80 -[[image:Screenshot 2023-08-23 at 18.16.21.png||height="474" width="609"]]
46 +To use your home server, you have to **use a client** that communicates with your homeserver.
81 81  
48 +== Clients ==
82 82  
83 -[[image:rbgaccountlogineng2.png||height="377" width="608"]]
50 +[[Element>>https://element.io/]] is our client of choice.
84 84  
52 +* [[Desktop Client>>https://element.io/download]] (easily provided in [[your Linux distribution of choice>>https://repology.org/project/element-desktop]])
53 +* In your web browser:
54 +** [[matrix.cit.tum.de>>https://matrix.cit.tum.de]]
55 +** [[matrix.tum.de>>https://matrix.tum.de]]
56 +* [[On your smartphone>>https://element.io/download]]
85 85  
86 -== Create new chat room ==
58 +(% class="wikigeneratedid" %)
59 +Make sure the **home server is set correctly** to your provider!
87 87  
88 -If you want to create a new chat room, first click the **+**-Button next to **Rooms** in the program or on the web inferface and then enter the name of the chat room. You can also block users on other servers from joining the room or enable encryption. You can't change these settings later.
89 -
90 -[[image:addroom1.png||height="311" width="622"]]
91 -
92 -
93 -The chat room **TestRoom** is private, so it is not visible to others and participants can only join the room by invitation.
94 -
95 -[[image:addroom3.png||height="738" width="617"]]
96 -
97 -
98 -== Invite into the chat room ==
99 -
100 -**Requirement**: The member which is been invited has registered once on the Matrix Server.
101 -
102 -**Note**: If you have only released the room for the cit.tum or TUM user, only people who are registered on the cit.tum or tum server can access this room.
103 -
104 -If you want to invite new members to the room, click the button **Invite to this room**.
105 -
106 -[[image:addroom4.png||height="636" width="616"]]
107 -
108 -
109 -Enter followings in the opened window:
110 -
111 -**For ITO Accounts**: e.g. @musterma:cit.tum.de
112 -
113 113  (% class="box infomessage" %)
114 114  (((
115 -@ITO-ID:cit.tum.de
63 +**CIT: Homeserver**: matrix.cit.tum.de **Username**: CIT-ID (without @cit.tum.de)  **Password**: CIT Password
116 116  )))
117 117  
118 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
119 -
120 120  (% class="box infomessage" %)
121 121  (((
122 - @lrz-ID:tum.de
68 +**TUM: Homeserver**: matrix.tum.de **Username**: LRZ-ID (without @mytum.de or @tum.de)  **Password**: LRZ/TUM Password
123 123  )))
124 124  
125 -**For other Accounts: ** e.g. @musterma:matrix.org
126 126  
127 -(% class="box infomessage" %)
128 -(((
129 - name, email address, username  @username:domain
130 -)))
72 +== Using Element for Matrix ==
131 131  
132 -and send the invitation to the e-mail address of the person to be invited. The invitation will appear in the matrix chat window and must be accepted.
133 133  
75 +Follow [[the official guide>>https://matrix.org/docs/chat_basics/]] how to chat with Element 😎
134 134  
135 -[[image:invitetotestroom.png||height="593" width="622"]]
77 +You can create personal chats, group chats, and spaces for bundling multiple chatrooms to communicate with any other Matrix user in the world.
136 136  
137 137  
138 -=== invite to the private chat ===
80 +== Invitation of TUM Users ==
139 139  
82 +When inviting TUM or CIT users to a chat, just enter the following Matrix IDs:
140 140  
141 -**Requirement**: The member which is been invited has registered once on the Matrix Server.
84 +**For CIT Accounts**:
142 142  
143 -
144 -You can also privatly chat with other in Matrix. If you want to chat with a member privatly, click on the **+-Button** beside **People** in the program or on the web interface.
145 -
146 -[[image:startchat1.png||height="202" width="633"]]
147 -
148 -
149 -Enter followings in the opened window:
150 -
151 -**For ITO Accounts**: e.g. @musterma:cit.tum.de
152 -
153 153  (% class="box infomessage" %)
154 154  (((
155 -@ITO-ID:cit.tum.de
88 +@CIT-ID:cit.tum.de     (e.g. @cooluser:tum.de)
156 156  )))
157 157  
158 -**For TUM Accounts: **e.g. @lr89rbg:tum.de
91 +**For TUM Accounts:**
159 159  
160 160  (% class="box infomessage" %)
161 161  (((
162 - @lrz-ID:tum.de
95 + @LRZ-ID:tum.de     (e.g. @ga42lol:tum.de)
163 163  )))
164 164  
165 165  **For other Accounts: ** e.g. @musterma:matrix.org
... ... @@ -166,15 +166,18 @@
166 166  
167 167  (% class="box infomessage" %)
168 168  (((
169 - name, email address, username  @username:homeserver
102 + @username:domain
170 170  )))
171 171  
172 -and send the invitation to the e-mail address of the person to be invited. [[image:invitepeople1.png||height="298" width="687"]]
105 +The invitation will then appear in the Matrix client of the just-added user and must be accepted.
173 173  
174 174  
175 -The invitation will appear in the element chat window and must be accepted.
108 +== Secure Backup ==
176 176  
177 -[[image:invitepeople2.png||height="263" width="686"]]
110 +Since end-to-end encryption stores decryption keys only on clients (the "end"), logging out of the last client would mean loosing all messages.
178 178  
112 +Matrix allows to create a encrypted backup of the decryption keys on your homeserver - with a separate passphrase.
179 179  
180 -----
114 +Matrix will ask you to set up your secure backup, and will request the password for the backup keys if needed.
115 +
116 +More information is in the [[official documentation about private chats>>https://matrix.org/docs/chat_basics/private-group-chat/]] 🤓