this post was submitted on 05 Jan 2025
136 points (98.6% liked)

Opensource

3415 readers
54 users here now

A community for discussion about open source software! Ask questions, share knowledge, share news, or post interesting stuff related to it!

CreditsIcon base by Lorc under CC BY 3.0 with modifications to add a gradient



founded 2 years ago
MODERATORS
 

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."

all 37 comments
sorted by: hot top controversial new old
[–] asudox@discuss.tchncs.de 37 points 6 months ago (2 children)

I agree. People need to stop using GitHub already. Btw, Forgejo will be getting federation with ActivityPub.

[–] Noxious@fedia.io 3 points 6 months ago

I'm so excited for ForgeFed

You can also follow them on Mastodon https://floss.social/@forgefed

[–] secret300@lemmy.sdf.org 3 points 6 months ago

That's fuckin amazing

[–] friend_of_satan@lemmy.world 24 points 6 months 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?

[–] boredsquirrel@slrpnk.net 14 points 6 months ago (1 children)

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

[–] Scary_le_Poo@beehaw.org -4 points 6 months ago (2 children)

It is never done without a password.

You are spreading false information. Stop.

[–] subignition@fedia.io 16 points 6 months ago (1 children)

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 -1 points 6 months ago* (last edited 6 months ago) (1 children)

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

[–] subignition@fedia.io 1 points 6 months ago

You're wrong. This can occur when setting up some OEM systems without a Microsoft account or password. Here is a SuperUser post where someone is asking how to deliberately put a disk back into this state. I have personally run into this.

[–] boredsquirrel@slrpnk.net 3 points 6 months ago (1 children)

I didnt log in with a microsoft account. I only gave my user password for my account.

[–] gianni@lemmy.ca 1 points 6 months ago (1 children)

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

[–] boredsquirrel@slrpnk.net 1 points 6 months ago

Damn. My install is older, so I will probably get a second SSD and keep that one forever

[–] ByteOnBikes@slrpnk.net 12 points 6 months ago* (last edited 6 months ago) (3 children)

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.

[–] Scrollone@feddit.it 7 points 6 months ago

I agree. But Codeberg is very similar to GitHub. I like it, more than Gitlab.

[–] FizzyOrange@programming.dev 7 points 6 months 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.

[–] Mohamed@lemmy.ca 2 points 6 months 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.

[–] ptz@dubvee.org 7 points 6 months ago (5 children)

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.

[–] BrikoX@lemmy.zip 18 points 6 months ago (1 children)

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

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

[–] cbazero@programming.dev 3 points 6 months ago (2 children)

Does Codeberg allow private repos?

[–] asudox@discuss.tchncs.de 6 points 6 months ago (1 children)

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.

[–] ptz@dubvee.org 3 points 6 months 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.

[–] Arghblarg@lemmy.ca 5 points 6 months ago (1 children)

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.

[–] ptz@dubvee.org 2 points 6 months ago (1 children)

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 2 points 6 months 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 1 points 6 months ago* (last edited 6 months ago) (1 children)
  • 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

[–] robinshen@programming.dev 1 points 6 months ago

OneDev does support to clone via SSH if self hosted. Only that SSH access to code.onedev.io is turned off.

[–] chicken@lemmy.dbzer0.com 6 points 6 months ago (4 children)

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 19 points 6 months ago* (last edited 6 months ago) (1 children)

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.

[–] chicken@lemmy.dbzer0.com 1 points 6 months ago

Damn. Thanks for the info

[–] Shimitar@feddit.it 1 points 6 months ago

IPhones. Think of the freedom of owning an ihpone.

That's it

[–] h4x0r@lemmy.dbzer0.com 1 points 6 months ago

This talk doesn't directly answer your question, but it will help you build a foundation for intelligently understanding the risks from a high level.

https://youtu.be/36myc8wQhLo

[–] Scary_le_Poo@beehaw.org -2 points 6 months ago

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

[–] Noxious@fedia.io 2 points 6 months ago

There are enough other reasons to switch away from GitHub...

Give Up GitHub!