
Technologist,Atheist,rationalist,empiricist and non-believer in unicorns, virgin births or https://xitter.cf/t.co/JWGHmFcFSn Linux,Science,Wine and the Arts @codfather.bsky.so
London,La Loire & Almeria
Joined January 2009
- Tweets54.7K
- Following18.4K
- Followers16.7K
- Likes102K
Pinned Tweet
Cods Plaice: Staying safe on the Web - what can I do to make my browsing safer codsplaice.blogspot.com/2019โฆ
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Still not aliens, but one of the weirdest things we have found in a sky where weird things are not in short supply. iflscience.com/one-radio-souโฆ
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Ubuntu 26.10 is now available for download, with GNOME 51, Linux 7.3 and new desktop features โ including a slick new way to quickly tile app windows! #ubuntu
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Ubuntu 26.04 LTS has been released. The latest long-term support release gets 5 years of updates, but is the first LTS to not include an X11/Xorg desktop session.
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Announcing 3 Critical vulns for hundreds of millions of IoT, Firewalls, OT, and Military devices including: Palo Alto Networks, Comcast, D-Link, HP, Canon, Honeywell, GE, Oracle, Siemens, Rockwell, Digi, Lockheed Martin, Boeing...
The vulns are with GoAhead Web Server which is a backend library used by these devices. There's a patch available from GoAhead but that doesn't mean there's a patch available for the devices yet -- that's up to the manufacturer.
- TLS traffic over DHE ciphers have a 1-byte secret, "04", meaning anyone can decrypt connections to these devices and steal login credentials and session tokens if the client negotiated with DHE ciphers like the latest TLS_DHE_RSA_WITH_CHACHA20_POLY1305_SHA256, which is extremely likely.
- LibreSSL mTLS has been completely bypassed, meaning anyone can connect over mTLS. If you have one of these devices listening on the internet and are expecting mTLS to protect it from attackers, take it offline or patch asap.
- OpenSSL Certificate Revocation Lists (CRLs) are not enforced, meaning if a user device is stolen or compromised, and you revoke that mTLS cert, nothing actually happens. There are a lot of other attacks this can be used for.
These are critical because these types of devices run our world. Water systems, electricity, military, firewalls, critical infrastructure.
foxio.io/blog/choose-your-baโฆ
Firefox 159 Released With AMD Linux Graphics Fix For Excessive Memory Use
phoronix.com/news/Firefox-15โฆ
Linux 7.4 Expands Sensor Monitoring For More @ASUSUSA & @msigaming Motherboards, New @Hi_MINISFORUM Driver
phoronix.com/news/Linux-7.4-โฆ
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Australia has entered the chat.
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Never check a role name in your code
In one of the projects where I worked, we had role checks in many places across the project. Then, we needed to introduce a new role and that was a cumbersome code change in many places.
RBAC stands for Role-Based Access Control. The path we selected was to give users roles and let the code ask "is this user a Manager?"
Yet, the model has one more part. Users get roles, roles get permissions and permissions define what a user can do.
The code should only ask about the permission, for example "can this user approve an invoice?"
Here is the complete flow:
๐ญ. ๐ง๐ต๐ฒ ๐๐ผ๐ธ๐ฒ๐ป ๐ฐ๐ฎ๐ฟ๐ฟ๐ถ๐ฒ๐ ๐ฟ๐ผ๐น๐ฒ๐. We set up the identity provider to add them at sign-in.
๐ฎ. ๐ง๐ต๐ฒ ๐๐ฃ๐ ๐๐๐ฟ๐ป๐ ๐ฟ๐ผ๐น๐ฒ๐ ๐ถ๐ป๐๐ผ ๐ฝ๐ฒ๐ฟ๐บ๐ถ๐๐๐ถ๐ผ๐ป๐. It reads the mapping from its database and keeps a short cache.
๐ฏ. ๐ง๐ต๐ฒ ๐ฒ๐ป๐ฑ๐ฝ๐ผ๐ถ๐ป๐ ๐ฐ๐ต๐ฒ๐ฐ๐ธ๐ ๐ผ๐ป๐ฒ ๐ฝ๐ฒ๐ฟ๐บ๐ถ๐๐๐ถ๐ผ๐ป. It asks for invoices:approve and never names a role.
๐ฐ. ๐๐ป ๐ฎ๐ฑ๐บ๐ถ๐ป ๐ฎ๐ฑ๐ฑ๐ ๐ฎ ๐ป๐ฒ๐ ๐ฟ๐ผ๐น๐ฒ ๐ฎ๐ ๐ฑ๐ฎ๐๐ฎ. The admin creates the Auditor role in the identity provider. One table row maps it to invoices:read. The code stays the same, and nothing gets deployed.
In ASP.NET Core, the endpoint gets [Authorize(Policy = "invoices:approve")]. It replaces [Authorize(Roles = "Manager")]. Behind it, a policy provider turns that name into a requirement. A handler checks it against the user's permissions.
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Natalie is at it again - but it can't be Trump, he's got the Bible the right way up, & his ankles aren't swollen.โ๏ธโ๏ธ
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Reform - dragging you backwards through time........
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
"I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu)..."
On August 25, 1991, a 21-year-old student sent a message to a Usenet newsgroup. He thought he was just building something fun for himself.
35 years later, that "hobby" is the backbone of global technology:
๐ Powering helicopters in space with NASA
โ๏ธ Running the global cloud and 100% of the worldโs supercomputers
๐ฑ Connecting billions of people
๐ฎ Redefining the future of handheld gaming
What started as one student's side project became the greatest collaborative technology movement in history. Thank you to every maintainer, contributor, and advocate who made it possible.
Happy 35th Birthday, Linux. Hereโs to the power of open source and the next 35 years of building together.
learnlinux.ie/content/linus-โฆ
#Linux35
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Replying to @Rainmaker1973
Tuscany Italy ๐ฎ๐น๐๐ผ
๐
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
An American interviewer asked me about my political beliefs. #VoteBinface
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
โIโve been selected to stand as a Conservative councillor in Somerset.โ
codfather #FBPE ๐ช๐บ๐ซ๐ท ๐ด๓ ง๓ ข๓ ท๓ ฌ๓ ณ๓ ฟ๐บ๐ฆ retweeted
Replying to @MarkHam80780803
๐ค





























