InfoSec Person | Alt-Account#2

  • 4 Posts
  • 17 Comments
Joined 3 years ago
cake
Cake day: September 28th, 2023

help-circle

  • The problem it’s trying to solve is mostly straightforward. I’ll provide a high-level overview so as to not complicate things (a lot of this is simplified):

    When you create an account on signal, you create a private key and a public key. When you DM someone, you’re communicating with your public keys (simplified). Your private keys remain with you. However, this creates a very big problem that’s not new to signal, but has existed since TLS (previously SSL):

    If you are trying to communicate with Bob over the internet, he’s supposed to give you his public key over the internet.

    But, how do you know that the person who replies to you with their public key is actually Bob? What if someone else gives you their public key and says they’re Bob? The easiest way would be to physically meet Bob, and check whether the public key you received over the internet matches. However, this is impractical (live in different countries?).

    TLS solved this with certificates. How do you know that the byte stream of data you’re receiving from lemmy.world is really coming from Lemmy.world, and not malicious-lemmy.world? Because of certificates: someone you trust cryptographically said that the byte stream is really from lemmy.world. Your device with which you use to access the internet (phone, laptop, browser) comes with pre-installed certificates. Here’s the list Mozilla ships with Firefox: https://ccadb.my.salesforce-sites.com/mozilla/IncludedRootCertificateReport

    Solving this with signal isn’t that easy. There’s problems (users may change numbers / usernames), and general certification is… just not that simple. That’s why, when you DM someone on signal, you can “mark safety number as verified” if you can verify that you both see the same number (you do this over a medium that isn’t signal).

    Signal is now introducing a solution called Key transparency (defined by the IETF: https://datatracker.ietf.org/doc/draft-ietf-keytrans-protocol/), which in essence says that your device periodically checks your own entry on a ledger that signal now hosts, and you can initiate a check of your contact’s entry too.

    If you notice your key on the ledger is wrong, something bad happened (malicious). If the other person’s key on the ledger changed, then you should verify that it was indeed meant to change (new phone? New number? New username?). Because the server that provides the ledger could theoretically show different people different versions of the ledger, independent auditors attest the ledger, making conflicting views detectable (you might pull the wrong ledger from a malicious person, or signal may give you wrong ledgers maliciously). They’re entrusting external parties to attest that the data that both parties of a DM get the correct view of the ledger.

    This is what I understood after a cursory reading, and I may be wrong. It is also simplified. But I hope that this is mostly correct.

    It’s solving a very old problem of public-key cryptography: how do you ensure that the person who is talking to you claims who they are? Are you sure you’re really talking to Bob, and instead not Mallory who’s pretending to be Bob?

    Tagging @k0e3@lemmy.ca too.










  • Also fuck off with this attitude man. I’m not attacking you, learn how to speak to people.

    Sorry. I get quite triggered when people add pseudo-labels to distributions, mainly Debian being outdated. Looking back, I was quite harsh and I apologize.

    However, you’re actively spreading the false narrative by saying Debian’s not good for “general computing” - this is what triggers me. A distribution is nothing but its package manager and some defaults. Some have different defaults and package managers.

    Older packages can be difficult for new users who want a computer to “just work”.

    The only place this makes a difference is with the latest hardware which OP does not have. I have more recent hardware than OP and Debian 13 + KDE Plasma 6 works out of the box.

    It’s fine for general computing, but not great.

    Again, I really hate this sentence. I will tone down the rudeness this time in explaining why. I have daily-driven Debian for years with AMD + Intel CPUs, Nvidia GPUs (1070, 3060) with use cases ranging wildly through the years. I cannot fathom what kind of general computing cannot work. If you say specialized computing, I would still disagree as there are always ways to make things work.

    Just off the top of my head where things are iffy with Debian: bat cannot be installed via a package manager, but not on most distros anyway. There’s a deb package though which works. Similar with dust, although more distros have it in their package manager.

    Debian, like you said, is rock-solid stable. In my many years of developing code, university courses, daily work (research), maintaining servers with wildly different usages, Debian’s “outdated” packages have only let me down once and that was with a LaTeX package which could be installed via ctan anyway.


  • A Basil Plant@lemmy.worldtoLinux@lemmy.worldHelp me ditch windows?
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    8 months ago

    Debian is rock-solid stable, but lacks newer packages. It’s great for a server, not so great for […] general computing.

    What the fuck??? I’ve been daily driving Debian for years now on my personal laptops, desktop, mini PC, and mutliple servers. I’ve found and reported Linux kernel vulnerabilities on my trusty Debian systems.

    What do you mean it’s not so great for general computing? What can’t you do with Debian computing-wise that you can do with other distros? The only issues I’ve ever had was with some LaTeX packages being older versions. You just get that from CTAN and install that manually.

    This is such a ridiculous comment. What do you do on a server that’s not general computing? You’re doing a subset of general computing??? How does a fucking distro actively prevent you from doing general computing???