Readit News logoReadit News
johnfonesca commented on How we enforce .NET coding standards to improve productivity   anthonysimmon.com/worklea... · Posted by u/fratellobigio
maltalex · 25 days ago
If you’re working in the .net ecosystem, you need to grok msbuild. Is not exactly painless or elegant, but is incredibly powerful. Creating a nuget package that applies settings and configuration files to consuming projects is the tip of a very deep iceberg.

I’m the author and owner of a similar code style/code quality package in a fairly large company and went through a very similar process, culminating with writing our own Roslyn-based analyzers to enforce various internal practices to supplant the customized configuration of the Microsoft provided analyzers. Also, we discovered that different projects need different level of analysis. We’re less strict with e.g test projects than core infrastructure. But all projects need to have the same formatting and style. That too can be easily done with one nuget using msbuild.

johnfonesca · 22 days ago
>But all projects need to have the same formatting and style.That too can be easily done with one nuget using msbuild.

That's like using a car for "traveling" 3 meters. Why not just use dotnet format + .editorconfig , they were created just for this purpose.

johnfonesca commented on Microsoft is moving antivirus providers out of the Windows kernel   theverge.com/news/692637/... · Posted by u/mrcsharp
steelbrain · 2 months ago
> forced HDCP

Fly-by, but HDCP is already cracked. There's no shortage of HDCP strippers from AliExpress; although they use clever marketing terms to avoid spelling out the fact (presumably to avoid legal troubles)

johnfonesca · 2 months ago
> HDCP is already cracked

It's being 15 years already

johnfonesca commented on CrowdStrike debacle provides road map of American vulnerabilities to adversaries   nytimes.com/2024/07/19/us... · Posted by u/jmsflknr
pdimitar · a year ago
> This is about putting critical infrastructure connected to the internet that's running an operating system that you can't trust out of the box. Since the Windows OS is susceptible to so much malware you need all these third party services (which you also can't trust or audit, but it's absolutely better than not having anything) on top of the OS.

Agreed, they should not be using Windows in the first place. That should have been the first line of defense.

> There was a whole host of companies that had zero problems, not because they're using Rust, but because they have much better security practices and quality infosec employees.

Fair enough, I only commented on one layer of the security stack -- so your remark that expands the scope is valid and welcome.

> We're all waiting for your anti-malware Rust Win32 kernel module...

I am done working for free. If I am paid to do it I am sure I would have done better than this poor confused soul who allows NULL pointer dereferencing which is a mistake that most C/C++ interns quickly learn to avoid.

johnfonesca · a year ago
>Agreed, they should not be using Windows in the first place

Crowdstrike borked RHEL 1 month ago https://access.redhat.com/solutions/7068083 Literally the same situation, unbootable machines.

The reality is that shitty software broke everything. Why do we have to drag the OS into this?

johnfonesca commented on     · Posted by u/edent
curtisblaine · 2 years ago
What's the underlying joke with Elon Musk and reviewing code?
johnfonesca · 2 years ago
Twitter employees were asked to print some of their best code and bring it for review by Musk.
johnfonesca commented on The young people sifting through the internet's worst horrors   ft.com/content/ef42e78f-e... · Posted by u/quick_brown_fox
jampekka · 2 years ago
Corporations are not evil. They just don't care at all about e.g. human suffering or destruction of environment they cause to maximize return on capital. From human perspective they are amoral or chaotic neutral. Like Cthulhu.
johnfonesca · 2 years ago
>Like Cthulhu

Cthulhu is definitely less evil than Meta.

johnfonesca commented on How to install Windows 11 on a device that does not meet Windows 11 requirements   support.microsoft.com/en-... · Posted by u/belter
johnfonesca · 2 years ago
How effective is TPM 2.0 compared to the original ? Are there any reports that demonstrate its effectiveness ?

If a specific version of TPM becomes required to use future versions of Windows, we will have swappable TPM chips ? Eg update your TPM chip just like you update your GPU :)

johnfonesca commented on Add dark mode to your website with a single line of code   github.com/bufferhead-cod... · Posted by u/0natcer
Alifatisk · 2 years ago
> a single line of code

Which means importing a whole js file

johnfonesca · 2 years ago
And the JS file "weights" 4 Kb.
johnfonesca commented on Last Chance to fix eIDAS: Secret EU law threatens Internet security   last-chance-for-eidas.org... · Posted by u/mnot
Jensson · 2 years ago
> Now 7 years later there still isn't a API specification for interoperability

The standard existed 2016, I did a short stint for a company that was implemented eIDAS back then.

They even have a test suite you can use to check how well you comply with the standard: https://ec.europa.eu/digital-building-blocks/wikis/display/D...

It is very archaic to work with though, but at least they try to have a standard.

johnfonesca · 2 years ago
The ETSI checker you have linked doesn't have anything to do with CA API interoperability and "switch document signer provider". That's just a basic tool which validates if a signature is PADES/ETSI compliant or not.

The real value in eIDAS would be "unlocked" if they would release a proper API specification with which a digital signatures application would integrate with any EIDAS CA to emit/sign certificates. And then enforce that any eIDAS compliant CA would implement this API.

In practice that means any company/digital signatures product could do a integration with this API once and then be able to use ANY certification authority they want/need/offer best prices for certificates.

Without this API, eIDAS is just a marketing moniker because the power belongs to the selected Certification Authorities. They set the prices, they choose WHOM can integrate with them to isse certificates and there is NO interoperability between them. This doesnt allow for a open market and makes the top players control everything while shouting "standards" and "eIDAS".....

johnfonesca commented on Last Chance to fix eIDAS: Secret EU law threatens Internet security   last-chance-for-eidas.org... · Posted by u/mnot
Jensson · 2 years ago
It is a digital certificate standard. Browser certificates is only a tiny part of it, that wasn't why it was made. Having a standard for digital certificates is a good thing, it makes it easy to switch document signer provider etc since they all are forced to implement the same interface.
johnfonesca · 2 years ago
>it makes it easy to switch document signer provider etc since they all are forced to implement the same interface.

eIDAS was introduced in 2016. Now 7 years later there still isn't a API specification for interoperability (there are drawings though https://blog.eid.as/new-apis-for-the-eidas-ecosystem/ )

In the meantime, any digital signature done in EU must be done with a certificate issued only by the "select" CA to be considered "valid".

johnfonesca commented on Last Chance to fix eIDAS: Secret EU law threatens Internet security   last-chance-for-eidas.org... · Posted by u/mnot
johnfonesca · 2 years ago
eIDAS is a cartel created to protect the business interests of EU biggest certification authorities.

u/johnfonesca

KarmaCake day140September 4, 2022
About
Founder of Bulksign, the digital signatures platform for everyone

https://bulksign.com

View Original