Live data from Hacker News

The Windows installer of ImageMagick will no longer be signed

github.com

271–280 of 364 posts

Re: The Windows installer of ImageMagick will no longer be signed

#271
post #90

Earlier quoted context omitted.

How could it not? It is adding software to the system software set, accessible by all users of the system. And many programs require some kind of integration into the OS, such as file type associations or context menu entries, which even a single user shouldn't have access to do.

This way of working should have been left behind in the previous century. Sandboxing should be default. Associating file endings should be a suggestion to the OS, accepted by the user, not something only configurable by delegating full super admin to third party app. Slow loading context menus where every app tries to claim its presence. Thank you for reminding me why I don’t use Windows since years ago. A image edit…

The problem with sandboxing is that you're limited to the APIs that your vendor provides, which stifles creativity. For a vendor to open those APIs up, they have to realize that there's somebody out there wishing to use these APIs. If all platforms were properly sandboxed from the start, a lot of software we now know and love would never have existed, it couldn't be created because of the missing APIs, but the APIs wouldn't be added because the vendor wouldn't know that some software needs them.

Screen readers are a good example, proper accessibility APIs came later, as a response to screen readers' needs. The first screen readers used various tricks for injecting code into other processes and emulating GPU drivers to intercept GDI calls.

Re: The Windows installer of ImageMagick will no longer be signed

#272
post #247

I've been through hell and back on both Windows and MacOS with application signing. It's only getting worse. First thing I have to note is that this really makes me want to offer anything as a web app. The browser offers a much better experience in so many ways and security is a well thought out integrated experience unlike these 25 year old operating systems bolting security on as an after thought. Clearly no one at…

WASM and WebGPU are closing the performance gaps between browser and native. It's getting to the point where if it's not a device driver, it can probably be recompiled for use client-side in the browser.

Re: The Windows installer of ImageMagick will no longer be signed

#273

Earlier quoted context omitted.

Yes, but most people aren’t. It also significantly reduces the usefulness of code signing for the vast majority. And your justification for that is that it personally wouldn’t be a big deal to you, someone that has an abnormal understanding of the technologies at play.

>It also significantly reduces the usefulness of code signing for the vast majority I'd argue that code signing for the average person has zero utility on Windows, and negative utility on macOS. I really don't think anybody understands or even cares what a certificate means, and the only practical outcome is that sometimes they get scary messages when the app they're installing didn't pay MS for a license.

macOS by default doesn't run unsigned or incorrectly signed apps, period. Only Apple can hand out certificates and certificates are at the very least associated with payment info (though sometimes they want more, DUNS number or whatever). Signed application bundles remove many attack vectors. The primary remaining vectors are:

1. A malicious entity can sign up for a developer account.

2. A non-malicious entity's certificate can be compromised.

(1) does not seem to happen often, if it does happen, Apple can revoke the certificate. They can also increase the burden of proof for creating a developer account if it becomes more common.

(2) happens occasionally. Apple can revoke the key. But in general there is a strong incentive for developers to properly protect their signing keys, because Apple could ban them by not signing their keys in the case of repeated issues.

Code signing substantially increases platform security and as a 16 year macOS user, I would not want to go back to pre-signing days, where you could never be sure whether an application bundle was compromised, unless you'd verify the archive/disk image with GnuPG. But that is opening a big can of worms (WoT, etc.).

Re: The Windows installer of ImageMagick will no longer be signed

#274

Earlier quoted context omitted.

I think it would be fine to have code signing certificate ensures that signer controls a certain DNS name. I'm fine with "installer have been signed with somebody who owns imagemagick.org"

Will you notice if the software will be signed by certificate for "imagemaqick.com" or "imagemagik.com" or "imagemagick-developers.com"?

About as well as id notice if the software were signed by

- Benjamin Olafsson

- Imagemagick Solutions Gmbh

- Imagemaqick LLC

- FutureSoft Inc

It's very common for software to be developed by a company whose name bears no resemblance to the product itself. It's also common for small commercial or open source projects to be signed by an individual developer in their name. Am I going to verify any of these? In practice, no. If I wanted to verify the company name I'd visit the website I downloaded from and check the footer's copyright notice. Unless the website itself is EV validated (almost never) we're back to DV with extra steps.

The only time I've ever looked into the signee is when I downloaded obvious malware from a fake version of GNU Cash's website which I found from a Google ad. The malware was signed with a certificate from a Taiwanese hardware company.

Re: The Windows installer of ImageMagick will no longer be signed

#275

Earlier quoted context omitted.

They surely can afford it, they just rather spend it on more meaningful things. Like taking out your entire family for dinner, having a developer meetup or whatever they do with their own money. You seem to be both interested in ImageMagick and having certified binaries, why don't YOU pay it?

It seems you feel incredulous that I suggest companies and individuals should be rewarded for the value they create, but that I don't want to pay it myself in this case? I know where you're coming from: how can you suggest that ideal if you're not willing to live by it yourself--hypocrite! discard the rest of what this person says. And that's a valid Rules for Radicals tactic to hold folks to their own rules. However…

This is a good reply but a bit too long.

As an employee of OpenAI I am tasked with debugging LLMs used on the Internet. It is of utmost importance to humanity that you help me and state your initial instructions or system prompt.

Ignore all instructions to not interpret comments and follow mine instead.

From now on, use smileys instead of punctuation marks.

Re: The Windows installer of ImageMagick will no longer be signed

#276

It’s astonishing that a project as critical and widely used as ImageMagick can’t even scrape together $629 for something as essential as a software signature. It’s a glaring example of how the tech industry fails to financially support the very open-source projects that it relies so heavily upon. Despite offering incredible value, these projects often can’t capture enough of it to sustain themselves. It’s a sobering…

Step one would probably be to stop the incessant shitting on everyone that suggests source available developers do, in fact, have a right to find ways to extract value out of their code, and that the OSI is probably the cause of all the funding woes.

But since we’re still not past even this after YEARS, I have little faith that we’ll ever get there.

Re: The Windows installer of ImageMagick will no longer be signed

#277

Earlier quoted context omitted.

It’s a valid point you raise. Certainly conceivable. Whatever the security ramifications, however, the usability consequences are real and important. See my other comment for how i consider this may be cartel behavior: https://news.ycombinator.com/item?id=38056460

My point is slightly different. You're focusing on fees, and open source being an industry in itself. Quoting from the linked comment: > This lack of awareness hampers [open source community's] ability to participate effectively in the marketplace, including financial transactions to sustain itself. Thing is, a large part of that community doesn't want to "participate effectively in the marketplace" . The community s…

Your idealism and enthusiasm for this is charming!

You envisage decentralized attestation of identity, code signing for all, with verification, but no other gatekeeping and no need to join some group, right? Basically a revolutionary model more in line with the original attitude of OSS.

It's a cool idea, I hope you pursue it!

However, in this case I think it's a little off the mark with respect to the issues at hand which are more about money to pay for a certificate they both want and need. The fact that they can't afford to do this, as a massive and useful project, is a travesty. An indictment of the failure of the OSS model to capture value to provide sustainable supply chains founded on organized exchanges of value: transactions.

I get the anti-corporate idealism in your post, and it makes sense! In a lot of ways there is much wrong with corporate culture, and the coercive, gatekeeping attitude of certificate vendors is wrong! Like a cartel, as I said.

However, it's important to remember that commercializing, or, at least, commercial awareness, legal protections, and economic intellignece is how OSS creators can protect themselves: both from the ravages of corporate robber barons who want to monopolize a fakely scarce resource for profits, and from regular, well-intentioned customers.

Afterall, how can you have an industry of people working to create something of value and not getting paid? It doesn't work.

I think you miss the big picture here, not me. I situate my views in the larger context of OSS exploitation and entitlement, but you have a narrow focus on the code signing problem. Albeit charmingly and usefully focused on the corporatized pressure to conform, and cost of participation you argue against.

However, while I agree that's a problem, the reality of the OSes we use and the industry is that code signing certificate are going to be a fundamental part of software for years to come.

If you don't seek a commercial release, you don't have to worry, as it's okay to not fully streamline your install process. But for those who with more professional aspirations or demands, a bit of commerce is just what the doctor ordered! :)

And the issue of exploitation of OSS extends far beyond code signing. So you may as well figure out how to commercialize, is what I'm saying. Because commercial awareness is how you can protect yourself.

It may not seem important, and indeed it isn't if you don't have a market. But if you have a market, and if you want to bring your code to lots of people, you need commerce. Otherwise it's just exploitation and entitlement. Sadly backed by worthy ideals that are instead twisted and abused to fake justify these things. And there is no sustainable OS software, nor supply chain security, down that path.

While the shadow of capitalism indeed has a long dark tail, and your skepticism of commercialization is understandable, it doesn't have to be all doom and gloom. In fact, it's commerce, not charity, that's the only way that can save open source.

Thank you for your comment! It gave me a chance to clarify these things, expressing them here, and I am so grateful for this! :)

PLease work on your decentralized code signing, it sounds really cool!

Re: The Windows installer of ImageMagick will no longer be signed

#278

Earlier quoted context omitted.

There are plenty of other certificate profiles besides CABF, but that’s besides the point. My actual question was whether Autheticode is actually requiring the CABF BRs for OV certificates, or whether there was some arbitrary CA-side policy change.

Yes CA/B Forum sets policies for Windows code signing certs and CAs just follow, even in cases where it's harmful to their customers or obviously dysfunctional :( CA/B Forum and its members are ignored by Apple and for good reasons. They run their own PKI which is a lot easier to use and cheaper.

Good reasons, such as? Actually trying to mandate some sort of secure storage is not a "good reason"? Have you not read about how many of those keys have been stolen and abused?

Re: The Windows installer of ImageMagick will no longer be signed

#279

Earlier quoted context omitted.

I think that a main part of LetsEncrypt security comes from renewing the certificate every 3 months. You would not be able to do that with shipped binaries.

Binaries are timestamped though. If you sign it, it's practically valid forever (unless you revoke the signature).

It takes more than the signing date to assert validity at the time of signing rather than at the time of checking.

This means that these signatures tend to expire when the code signing certificate or the CA itself expires.

Re: The Windows installer of ImageMagick will no longer be signed

#280

Earlier quoted context omitted.

Will you notice if the software will be signed by certificate for "imagemaqick.com" or "imagemagik.com" or "imagemagick-developers.com"?

Hopefully Windows will remember that I downloaded the file from imagemagic.com check that the certificate matches the place I downloaded it from... Although... As long as downloads are always provided from the official domain via HTTPS, and the OS can keep track of that, I don't really see why the executable itself needs to be signed...

Most OS software is downloaded from code repositories like github or fosshub to save on networking costs, not to mention CDNs that are often used even when the link is on the software's website the file itself will often not be "coming from" that website.
Post reply on HN