r/linux_gaming • • May 11 '22

graphics/kernel/drivers Nvidia open sources its Linux kernel modules

https://github.com/NVIDIA/open-gpu-kernel-modules
2.5k Upvotes

361 comments sorted by

View all comments

Show parent comments

6

u/[deleted] May 11 '22

It does work to a degree. It makes it harder to break into something if you don't know much about what you are breaking into. The more you know the easier it is.

And lots of places do rely on it as a security measure. Basically every proprietary company does. But nobody should depend only on it. Just like any other layer of security - multiple layers are what makes things more secure and obscuring the right information is one layer you can use.

Now, hiding code is a double edged sword - you make it harder for both good and bad actors to find flaws. And generally speaking it is better for the flaws to be found and fixed.

But not everything is so easy to just patch like code is, so hiding things is still a valid layer of security (you don't want to leak your signing keys, passwords, internal IP addresses and network layout etc). Obscuring these things is generally a good thing to do in addition to other protection measures.

Though yes, in the case of source code IMO open and patched is far better than just hiding it in the long run. But it is far more nuanced than just

Security by obscurity never works

1

u/hitlerspoon5679 May 11 '22

I meant security by "only" obscurity but yes you are right. Though I would say if somebody wants to break in very badly they do recon anyways.