I’ve been looking into Briar messenger app but it doesn’t seem to have much documentation.

Being a decentralized app, they say that communication between devices can be done over a wifi lan, bluetooth or over Tor/Internet.

But I still don’t understand how devices find each other.

@nutomic@lemmy.ml
link
fedilink
5
edit-2
urte bat

This doesnt really answer your question, but years ago I wrote an instant messenger app that works over Bluetooth. Your post just reminded me of that. I also wrote my bachelor thesis about that project (linked in the readme).

https://github.com/Nutomic/ensichat

seahorse
link
fedilink
4urte bat

Just tried it with my brother. Briar generates a random URL-like string such as “briar://7f2g83f7832hgb87f3b…” on your device which you share with the person you want to be in contact with, and they send you their string. Once you’ve both pasted each other’s strings in the proper form field it connects and you can start messaging each other.

@madcap@lemmy.ml
creator
link
fedilink
3urte bat

ct with, and they send you their string. Once you’ve b

that “random” string is in fact the Tor hidden service address.

@Lynda@lemmy.ml
link
fedilink
4urte bat

I’m guessing that you and your contacts exchange MAC and Onion addresses. Then Briar looks for that MAC address via WiFi/Bluetooth or an Onion address on Tor.

@madcap@lemmy.ml
creator
link
fedilink
2urte bat

I’ve watched a video where Torsten Grote explains some of it. In fact you’re right when you say it uses the onion address on Tor (I also had assumed that). But he doesn’t explain how the contacts exchange work on a local LAN. I’m not sure it uses the MAC addresses because those are not reliable in the sense that they can be easily spoofed. But maybe I’m wrong because in the end what counts is if the device know the private key or not. Here’s the video: https://media.ccc.de/v/34c3-8937-briar

@Ghast@lemmy.ml
link
fedilink
4urte bat

I always assumed it was a matter of open ports, or just devices swapping MAC addresses, then they send information in the normal way over those channels.

@Vera9@lemmy.ml
link
fedilink
1
edit-2
urte bat

deleted by creator

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

  • 0 users online
  • 3 users / day
  • 15 users / week
  • 57 users / month
  • 377 users / 6 months
  • 14 subscribers
  • 1.76K Posts
  • 8.41K Comments
  • Modlog