etalab-ia / albert-tchap

Bot for Tchap (the messaging app of the French State) using Albert, the French administration Artificial Intelligence agent
MIT License
13 stars 1 forks source link

Verificate the bot device signature #84

Open dtrckd opened 2 weeks ago

dtrckd commented 2 weeks ago

Messages send by the bot have a warning label on tchap (not tested in element)

image

The tooltip tells us that "Encrypted by a device not verified by its owner"

I do not know at this point how hard it is to do it with the matrix-nio library.

Have you faced this kind of issue before @nrolin ?

nrolin commented 2 weeks ago

I did not do any verification on my bots. The easiest way is probably to load a real navigator with the bot session identifier and verify it manually, as it is an operation you only need to do once.