TPM is a dedicated chip or firmware enabling hardware-level security, housing encryption keys, certificates, passwords, and sensitive data, “and shielding them from unauthorized access,” Microsoft senior product manager Steven Hosking wrote last month, declaring TPM 2.0 to be “a non-negotiable standard for the future of Windows.”

  • friend_of_satan@lemmy.world
    link
    fedilink
    English
    arrow-up
    26
    arrow-down
    4
    ·
    1 day ago

    Wouldn’t urging people to stop using windows and instead use Linux be a more appropriate suggestion? Sure, GH is MS, but GH isn’t what is going to allegedly require TPM 2. Are we also supposed to stop playing Xbox because MS owns that too?

  • chicken@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 day ago

    Normally, offloading cryptography to a different hardware module could be seen as a good thing — but with nonfree software, it can only spell trouble for the user…

    Could someone explain more about this? What about TPM + proprietary OS is bad? What are the risks here?

    • Don_alForno@feddit.org
      link
      fedilink
      arrow-up
      15
      ·
      edit-2
      21 hours ago

      Here is an (old but updated) article on the topic.

      As of 2015, the main method of distributing copies of anything is over the internet, and specifically over the web. Nowadays, the companies that want to impose DRM on the world want it to be enforced by programs that talk to web servers to get copies. This means that they are determined to control your browser as well as your operating system. The way they do this is through “remote attestation”—a facility with which your computer can “attest” to the web server precisely what software it is running, such that there is no way you can disguise it. The software it would attest to would include the web browser (to prove it implements DRM and gives you no way to extract the unencrypted data), the kernel (to prove it gives no way to patch the running browser), the boot software (to prove it gives no way to patch the kernel when starting it), and anything else relating to the security of the DRM companies’ dominion over you.

      Under an evil empire, the only crack by which you can reduce its effective power over you is to have a way to hide or disguise what you are doing. In other words, you need a way to lie to the empire’s secret police. “Remote attestation” is a plan to force your computer to tell the truth to a company when its web server asks the computer whether you have liberated it.

      […]

      As of 2022, the TPM2, a new “Trusted Platform Module”, really does support remote attestation and can support DRM. The threat I warned about in 2002 has become terrifyingly real.

      Remote attestation is actually in use by “Google SafetyNet” (now part of the “Play Integrity API”), which verifies that the Android operating system running in a snoop-phone is an official Google version.

      This malicious functionality already makes it impossible to run some bank apps on GrapheneOS, which is a modified version of Android that eliminates some, though not all, of the nonfree software that Android normally contains.

      This kind of walled garden where you don’t really control your machine is where MS wants to get, and TPM2 supposedly enables them to do that or is a step in that direction.

    • Scary le Poo@beehaw.org
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      22 hours ago

      It’s just FUD and made up shit. I hate MS as much as anyone else, but the statement is bullshit.

  • ByteOnBikes@slrpnk.net
    link
    fedilink
    arrow-up
    14
    arrow-down
    3
    ·
    edit-2
    1 day ago

    I’m okay to get downvoted.

    But unless the solution provides a easy way to create issues and MRs, has high upstream and I can read the code in a browser, then I’m sticking with GitHub.

    I say this as a person who contributes to open source and I absolutely know that if I hate something, I should fix it. But I’m dumb as rocks and I just want to contribute, and GitHub hasn’t Enshittified itself to a point that stops me from doing that. Yes, it’s under Microsoft.

    I’ve tried a few others, and I keep going back to GitHub because it has the least barriers of entry. I can contribute, I can get feedback, and I can move on.

    • Mohamed@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      4 hours ago

      There are a few quite good alternatives, like codeberg.org and gitlab. But, im not really disagreeing. Perhaps out of familiarity, GitHub UI/Features is still my favorite.

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      5
      ·
      17 hours ago

      Gitlab is ok, and Codeberg is getting there.

      I think the main thing that keeps me on GitHub is the network effect - all the other projects are there. They also have very generous (basically anti-competitive) free tiers.

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    44
    arrow-down
    23
    ·
    2 days ago

    I’m so tired of projects being like “We’re open-source” and then they’re hosted on GitHub, using Discord and whatever fucking other awful tooling they can get their hands on. Thanks guys. I’ll definitely check out your project, yes.

    • notTheCat@lemmy.ml
      cake
      link
      fedilink
      arrow-up
      5
      ·
      17 hours ago

      If I’m applying to a job and provide a Codeberg link only, my employer would probably think I never even used Git, I just mirror stuff to GitHub so I don’t get alienated myself

    • refalo@programming.dev
      link
      fedilink
      arrow-up
      34
      arrow-down
      7
      ·
      edit-2
      2 days ago

      how does that make the project any less open-source?

      what’s next, shaming project owners for living in a house that they pay for with a corporate job?

      we get it, you hate capitalism, but that doesn’t mean other people want to go live in the woods too… gotta be realistic :)

      • ByteOnBikes@slrpnk.net
        link
        fedilink
        arrow-up
        14
        arrow-down
        2
        ·
        1 day ago

        Ewww did you type this on a computer made by BIG TECH? How do you call yourself a supporter of the free world when you’re using tech that had precious metals mined by CHILDREN?!

      • Ephera@lemmy.ml
        link
        fedilink
        English
        arrow-up
        17
        arrow-down
        4
        ·
        2 days ago

        They are still technically open-source. I’m not saying that they’re not. But they’re actively alienating users who want to use open-source, because those users cannot get support, report bugs or contribute to the project without using proprietary software.

        • Shimitar@feddit.it
          link
          fedilink
          arrow-up
          4
          ·
          16 hours ago

          What? I use Firefox and git to bworse, commend and post issues on open source tools hosted on github.

          Just tell me you dislike github (understandable) but not that “those hosted on github” are not open source tools… That depends on the license they are following, not the tools they are using.

          And by the way git is open source as well as the browser you need to access github.

          I think you are getting way too far.

          Said so, I host all my open source code on my private instance of forgejo, which is way more open source than github, but I don’t allow registration (its my private instance, after all) so where do you put me at?

          Just to remember that even the GPL v3 doesn’t say you must provide support or a ticketing system.

        • Kissaki@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          16 hours ago

          they’re actively alienating users who want to use open-source, because those users cannot get support, report bugs or contribute to the project without using proprietary software

          You can still use their source and software though.

          Surely, they have their reasons for choosing GitHub over other alternatives.

          I know I do, when I choose GitHub over others. (I’m not choosing Discord though.)

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    15
    arrow-down
    1
    ·
    2 days ago

    TPM is nice and all, but Micro$ encrypts your data without consent or a password. Which is insane.

    My backup windows install literall bitlock-ed itself

      • subignition@fedia.io
        link
        fedilink
        arrow-up
        16
        ·
        2 days ago

        You’re wrong, it’s true. installs of Windows 11 automatically have software bitlocker when installed on compatible storage devices. If you don’t sync with a Microsoft account, you are required to manually export the recovery key or risk getting locked out of the system. And you are not told that you need to do so.

        • Scary le Poo@beehaw.org
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          edit-2
          22 hours ago

          But that isn’t what he said. He said that MS encrypts your data without a password. That is not true.

        • gianni@lemmy.ca
          link
          fedilink
          English
          arrow-up
          1
          ·
          4 hours ago

          This is no longer possible with recent builds of the Win11 installer :(

  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    What’s a good alternative (assuming this is one of the few things I don’t want to self-host)?

    I self-host Gogs for my internal projects, but my public stuff is on Github. The only “fancy” GH feature I use is the actions since it will do ARM builds which I can’t do locally.

    • BrikoXOP
      link
      fedilink
      English
      arrow-up
      19
      arrow-down
      2
      ·
      2 days ago

      https://codeberg.org/ is a nice alternative.

      They do provide access to a runner for actions, but you need to request access to it.

    • asudox@discuss.tchncs.de
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      You can self host Forgejo (a Gitea fork) which is powering codeberg.org

      It will be getting federation support someday with the ForgeFed ActivityPub extension, so you pretty much can stay connected with others’ repos while owning your data.

      • Admiral Patrick@dubvee.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        I self-host Gogs, currently, but I am looking at Forgejo after several recommendations. Not sure how useful AP integration will be at first, but it’d be a “nice to have” once it’s there for sure.

        The reason I’m looking at a hosted one rather than on-prem is the hosted one is basically my “hot” backup.

    • scsi@lemm.ee
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      I self-host Gogs for my internal projects, but my public stuff is on Github.

      If you were willing to make a fundamental change, one possible outcome: migrate your internal from Gogs to Forgejo and use Codeberg for your public FOSS as it runs on (a slightly patched) Forgejo. The gain is working with the same tooling on both sides and possibly gaining a runner (Action) locally if you spend the time to learn and set it up on your internal instance. Bonus idea: you could even make your public Codeberg FOSS repo a push-mirror from your internal server and let the Forgejos keep things in sync between the two.

    • Arghblarg@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      Myself, I moved my projects to self-hosted gogs (maybe forgejo soon) but kept placeholders with a README.md and link on github so people can still find them.

      • Admiral Patrick@dubvee.org
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        That was going to be my follow-up question lol: How should I handle the original repo? Leave it at the last commit and add a “We moved” note, strip it down to a stub that points to the new repo, or something else.

        • Arghblarg@lemmy.ca
          link
          fedilink
          arrow-up
          2
          ·
          2 days ago

          I was feeling particularly grumpy and did a final commit that 'git rm’ed everything but the new README.md, yeah.

          One could even risk deleting the github repo and re-creating it w/same name to remove all old content…

    • onlinepersona@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      2 days ago
      • https://code.onedev.io/ - built upon Java, feature-rich but suffers from HTTPS-only clones (yep, the main instance can’t use SSH)
      • radicle - federated sourceforge. Doesn’t have a CI but they are actively working on it, but your repo is replicated across multiple instances, “pull requests” (they call them patches - example) can be done across instances, and the devs dog-food it (one of their repositories), and it also works on TOR

      I’d love to support gitlab, but they refuse to invest in federation and there have been rumors about inter to be bought by Google, which will definitely kill any federation suggestions.

      Anti Commercial-AI license