289 points · by pid-1 · 3y ago · 353 comments
I can afford to pay for certificates (I believe I have to have one for Windows and OSX) but I refuse to for a project that I already give away my time for.
I would love to see a LetsEncrypt style service for OSS but I assume it's against the core interests of Microsoft / Apple to allow something like this as it would start to drive people away from the walled gardens of the app stores.
I've been writing software for close to 25 years and it's quite sad to watch the decline of ownership over our own machines in the same of "security".
People have been asking Let's Encrypt itself for this on the Let's Encrypt forum since the project was founded.
The usual answer is that code signing certificates are (supposedly) trying to attest to a legal identity in the hope of being able to punish people offline if they publish malware, or allow people or organizations to have a policy about only installing software known to be from a certain list of publishers. DV certificates for HTTPS are trying to attest to control of a name in the DNS, which is verifiable by automated technical means, and which is not necessarily related to offline identity. (ICANN says it should be ... in an indirect way ... which isn't always complied with, and which, following increased pressure from European privacy law, is often not visible to the public.)
A Let's Encrypt certificate would confirm that a certain key is apparently controlled by someone who apparently also controls a certain DNS name. But a code signing certificate would supposedly go further and confirm that it's apparently controlled by someone acting on behalf of a certain named legal person existing in a certain jurisdiction. This is much more expensive to verify usefully, although maybe some governments will eventually have a way to automate it.
This isn't to say that either kind of certificate is necessarily ideal for all of the different uses to which relying parties end up putting it nowadays, but just that what they're attesting to, and how you would verify it, is pretty different.
Edit: There seems to be a longer discussion about related points in this thread already at https://news.ycombinator.com/item?id=38056024
I'm fine with "installer have been signed with somebody who owns imagemagick.org"
Maybe I’m naive but I feel like the solution is pretty obvious: just crowdsource the cost of the certificate and only sign the software as long as the money keeps coming in.
If people really do care that much they should be willing to help shoulder the cost, and if they’re not then there shouldn’t be a problem with it being unsigned.
For utility style apps, Microsoft's app store is a joke.
This means that these signatures tend to expire when the code signing certificate or the CA itself expires.
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.
User-only installs are possible:
> C:\Users\YourUsername\AppData\Local is intended for MSI installations for a single user but typically doesn't require Administrative privileges. This folder is normally hidden.
* https://superuser.com/questions/1327037/what-choices-do-i-ha...
This is the variable %LOCALAPPDATA%:
* https://pureinfotech.com/list-environment-variables-windows-...
See also perhaps CSIDL_DEFAULT_APPDATA and CSIDL_DEFAULT_LOCAL_APPDATA:
* https://learn.microsoft.com/en-us/windows/deployment/usmt/us...
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 editor should only need to load and save images I ask it to, no other system integration. iOS, Android and the browser has proven it is possible. Now the desktop needs a similar journey.
https://github.com/technion/rustypwneddownloader/blob/main/....
This worfklow isn't usable with these new rules, and I'm having a hard time with the assertion that moving builds to my desktop to use a hardware signing key and uploading them in a non automated, non transparent fashion is an improvement on security.
For most projects it is an improvement, for better or worse.
First issue: private keys stored in files can be stolen silently, and then the only recourse is revocation. That's the main reason for the HSM requirement: malware authors have been doing this for some time now and revocation is difficult/expensive for various reasons. An HSM can also be stolen but only in the old fashioned way of breaking into your office or home and grabbing it, which you're going to notice.
You may object that the credentials for using the HSM can be stolen, and that's true, but they can also be changed easily and quickly. So if you notice that your PIN has been keylogged, you can recover from the compromise then change the PIN and you're done, no need to revoke the certificate.
Second issue: automated signing in CI can actually be risky. It means anyone who can push code to your CI system can get code signed as yourself, possibly without you even being aware of it. The key is held online at all times, so obviously if the CI system gets hacked then it's game over, but even without that it boils down to anyone who can push code into the system becoming a weak point, especially because CI systems are running lots of arbitrary code without being closely monitored. CI signing is at best 1-factor security.
If you sign locally then the key can be (literally) offline until the moment you do a release, and access to it can be constrained via 2-factor auth: the key is something you have, the credential is something you know. So this is quite secure.
For signing nightly dev builds, internal tools and other transient binaries that shouldn't get out into the wild anyway, you can self-sign which is free.
Still, though, it should just be a matter of money. The $629/year cloud-hosted HSM mentioned in the OP will do it. If you pay that, you can use this procedure to make it work with GitHub Actions with the same sort of signtool or Set-AuthenticodeSignature command that you use now: https://docs.digicert.com/en/software-trust-manager/ci-cd-in...
While I’m unsure if Azure is suitable for actual companies I think the risk is ok for what I need it for and the API quality as well as OIDC support make it quite nice to use with GHA.
[1] https://github.com/jborean93/PowerShell-OpenAuthenticode [2] https://github.com/vcsjones/AzureSignTool
So all that would change is where the signing part happens, either in the cloud or on your local runner...
Not sure which way to lean if this is an improvement or not security wise :-)
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 reminder that something significant needs to change in how we approach and value open-source contributions.
I don't think the $629 itself is the problem, but rather that they're being forced to spend it on something that many people don't agree is "essential" in any way. Is it about security, or is it about crying "security" to push through a pay-to-play market?
Putting the price aside just for a second, are there really people out there who think that code signing isn't worthwhile? Remember paint.net/filezilla having ad links to "Download Now" that would download... not paint.net or filezilla?
Still, if a major problem is ads directing to malware-infested downloads, how about before we start requiring OSS projects to become legal entities, we apply the same idea to advertisers? Why not introduce "ad signing", or better yet, some regulatory scheme, where you cannot provide an ad, and you cannot display an ad, unless you're a recognized legal entity with a certificate chain to back it? That would address a part of this problem at the very source (and address so, so, so many other problems too).
But I get it. We have to disempower the innovators and make it hard for honest people, because the whole computing industry makes almost all its money from scoundrels fucking the society over, and while we can't admit to it out loud, we can talk up the threat of overt bad actors, so that no one pays attention to more covert bad actors running the show.
It doesn't give you any guarantees about the binary being free of malware - only that it's really published by the entity you got it from.
Granted: Now an actor who wants to inject malware has to hijack the build process rather than only the website, but somehow I'm not convinced that's worth 600$/year and a lot of technical effort that could be put into securing the distribution chain.
They're widely known for shipping malware with at least some of their downloads (windows only maybe?), and completely ignoring posts on their forum about it.
See my other comment for how i consider this may be cartel behavior: https://news.ycombinator.com/item?id=38056460
> 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 started as a way to refuse playing the market game. Good or bad, visionary or naive, this was the OG culture, and remains potent in a subset of the larger OSS world.
> While I agree that small fees can serve as proof of identity—verifying that the software indeed comes from the claimed source, which seems to be one main intent of signatures—I don’t understand why these fees have to be exorbitant.
Again, I don't think the price is the problem, nor even that there is a fee. The problem is that "verifying that the software indeed comes from the claimed source" is done by requiring the software to be developed or controlled by a specific legal entity, and requiring that entity to establish trust via business relationships with the network of companies centered around major software corporations. It's forcing the entire OSS ecosystem (or at least the parts that directly, or transitively, target proprietary platforms) to commercialize.
Now, while I'm strongly biased against what I consider "security disempowering users and sucking out all the fun from computing", I'm not going to argue that this is entirely 100% bad, or that software devs have right to remain anonymous. Maybe, long-term, it's the only way forward. But right now, it feels like being colonized. "Yes, nice stuff you're making there, our citizens love it, and we've made some good money on it too. But from now on, you're no longer welcome on this land, unless you accept citizenship and become legible to our bureaucracy."
Instead, there are various foundations that sponsor popular open source projects for costs like signing certificates and hosting. I'm sure one of these should be trustworthy enough to obtain a signing certificate themselves so they can issue and revoke certs to various projects without much cost.
I see it as a failure to provide security systems like this without the need for financial gatekeeping.
$629.00 isn't a trivial amount of money.
I think that framing overly emphasizes an existing problem, which is the perception that OSS is sort of a charity. This misperception only reinforces the negative sense of entitlement that people have towards open source.
A couple of ways that the sense of entitlement manifests itself is the expectation that OSS should be free and, if money is involved, then it should be in the form of pay-what-you-want donations, or subscriptions, not tied to a specific exchange of value. The concept of funding can encompass this vagueness.
The word ‘Transactions’, I think, is a more precise and correct term, as it more clearly relates to desired and sustainable goal of a defined and measured exchange of value.
So instead of the issue being merely the providing of funding, rather, I see it as an issue with the open-source community not fully recognizing that it’s an industry in its own right.
This lack of awareness hampers its ability to participate effectively in the marketplace, including financial transactions to sustain itself.
On another note, I share your view that these fees are troublesome. While I agree that small fees can serve as proof of identity—verifying that the software indeed comes from the claimed source, which seems to be one main intent of signatures—I don’t understand why these fees have to be exorbitant.
It seems more like artificial price inflation, perhaps even a form of cartel behavior.
Compare that to the days of dos, where you could type “qbasic” and away you went
I refuse to accept this as a normal thing to do. Microsoft inflicted this upon the Windows ecosystem themselves.
It's costs are many. If you have a more humane bent you will consider the psychological toll, and note the many "I'm leaving OSS" posts one can observe. If you have a different bent you may appreciate the more economic cost incurred by this lack of market efficiency: an exploitative market that fails to ensure commensurate exchange of value does not have much future.
At best, "cost free" OSS is a short-term play, murkily backed by the same "robber baron" attitudes than underpin the exploitation of workers (and the gaslighting of the whole class to believe they can expect nothing more), throughout human history.
Let's not permit OSS to go down this sad, tired and disastrous path. You can't grow the productive output of a market unless you respect property rights and exchange of value.
Also your hyperbole is apalling.
Nothing about OSS is free. "Free" is a lie. Pernicious, in that it was passed off under the guise of some ideal, yet it undermines the long term sustainability of the field by supporting a sense of entitlement.
Quoting https://www.gnu.org/philosophy/free-sw.en.html
> “Free software” means software that respects users' freedom and community. Roughly, it means that the users have the freedom to run, copy, distribute, study, change and improve the software. Thus, “free software” is a matter of liberty, not price. To understand the concept, you should think of “free” as in “free speech,” not as in “free beer.” We sometimes call it “libre software,” borrowing the French or Spanish word for “free” as in freedom, to show we do not mean the software is gratis.
The four essential freedoms are:
* The freedom to run the program as you wish, for any purpose (freedom 0).
* The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this.
* The freedom to redistribute copies so you can help others (freedom 2).
* The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.
Can’t edit now. Thank you for clarifying!
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?
But since we’re still not past even this after YEARS, I have little faith that we’ll ever get there.
While indeed methods exist, many problems remain, and it's useful to note that not all systems currently used may be appropriate for all creators.
Your suggestion that complaints about current solutions are invalid, implies a lack of empathy with those who aren't served by existing mechanisms. This view could come across as too one-sided, which might hamper its ability to be taken seriously.
Similarly, your comment seeks to curtaIl any critic of OSI licenses, and while it's true they provide many protections and benefits, it's also true that many new licenses and mechanisms are being used as a result of gaps in the current approach.
Failing to understand the concerns of other segments of the ecosystem with which you may not be acquainted, does not mean their complaints are without merit. You may take it as an opportunity to better grasp the realities facing creators to give you a clearer understanding of the issue overall.
If you frame it as “security” problem, you are already nothing compared to those who are believed to have the final say on “security”.
Before you play, remember that the house always wins.
Thanks for your comment; it's certainly thought-provoking. You're advocating for a more strategic look at the challenges open source projects face, which I appreciate. Also, I like your "Socratic"-style! :)
Firstly, you mention that framing this as a "money problem" pits us against bigger players with more resources. While that's a concern, the idea that you can't succeed if you don't already have money is fundamentally flawed. Every large business started small. In the realm of open source, financial challenges aren't unsolvable; they require a new transactional approach.
On the security aspect, yes, established authorities have a stronghold, but that's not unbreakable. Look at services like Let's Encrypt, which offers free SSL certificates at scale. They emerged as a disruptor, challenging the established norms in a market that was seemingly locked down.
And to your final point, about "the house always wins," I'd say this defeatist attitude is the real obstacle. The notion that we can't or shouldn't try to change the system is harmful. You say the house always wins, but who exactly are the "insiders" here? Are we just supposed to accept the status quo, or should we aim for innovation that could make the system more equitable?
So, back to you: what solutions do you see? Or at least, what approach do you think has a fighting chance? I'm genuinely curious to hear your perspective.
Power does not always come with fear, it can be unnoticeable or hidden inside candy wrapping. An existing person does not exist to corporate/government structures without official papers proving it. In the same manner, users can't access many modern services without social network account or mobile phone number (which is a qualified long term tracking id which allows these services to find their place in existing data trading schemes). Smartphones essentially belong to platform owners which merely allow consumers, hardware, and application makers to use their services. The problem is not whether “A is good” or “B is bad”, the problem is giving those abilities to decide to some entity, which people do voluntary.
The idea is that you shouldn't play with a swindler at all if you understand that it's a swindle, even if inertia or goading makes it the easier choice.
Restricting the meaning of the word "free" to one defined by "FS" orthodoxy, is very not free, wouldn't you agree? Haha :)
Indeed the word free has many meanings, and consequently care must be taken to avoid confusion. Defining free in a way that only aligns with a particular ideology may be seen as self-serving, or confusing and deceptive. It's important to avoid such biases in order to clearly examine the real issues.
It's understandable, given the dependency of big business on price-free software, that business would not want the "price-free" nature of much software to change. A "price awakening" among creators would directly threaten the bottom lines of these companies. Unfortunately, it seems they are also abusing the ideology of "FS" to create confusing false notions of a "noble software creators who gives away their creations without extracting any money". This is abusive, and exploitative, and it must stop. The way it will stop will be creators waking up. The way they will wake up will be thinking clearly, not simply subjugating themselves to, or repeating, misapplications of "FS" ideology.
Specifically, my commentary here seeks to expose the costs that occur throughout the lifecycle of software creation, and avoid the confusing false equivalences with "FS" ideology. It is by hiding or ignoring those costs that exploitation of creators is permitted to flourish. Training creators to think in ways that do not account costs to their time, or to their creations, or, that make it unacceptable to do so, is abusive. It's a gaslighting mindset that seeks to prevent creators from capturing the value they have a right to.
It's important to avoid deliberately misusing the idealism of a "FS" movement to suggest money should not be exchanged, as this is abusive to creators.
Deliberate blurring of meanings, and the creation of false equivalences and reductions, is deceptive tactic is designed to confuse in order to prevent clear understanding of the issues. This in turn can hamper people asserting their right. In this context, the ideology of the "FS" movement, is often used to create a confusing equivalence with price-free. This in turn suggests there virtue in not requesting payment for software. Overall, this abuse of "FS" ideology is done in order to continue to exploit creators.
In short, the very ideology of freedom you tout is abused as to restrict creators, and oppress their right to financial self-determination. And the "FS" movement is misused in this way to create an ideological fake justification for not capturing value from software. It's important to not participate in the perpetuation of such harmful lies and misuses of principles.
While the ideologies of free software are commendable, they must not be used to repress the freedom of creators to earn from their creations, as is attempted to be done with the line of argument espoused in your comment.
It can be difficult to see people earning from their creations, and it's understandable to have fear that you will not be able to afford software if this idea of charging for it spreads. However, it's important to understand that the current situation is abusive and must be terminated. Exploitation is not sustainable, and the software economy must respect the rights of all participants in order to be just.
I challenge folks to advocate for a more positive and inclusive stance on this issue, that supports creators and clear thinking about the issues involved! :) Dispelling muddy thinking must be a top priority of anyone who aligns with that, and to that end, I encourage you all to re-evaluate your injection of "FS" points into these moments. :)
https://gitlab.com/DaveJarvis/KeenWrite/-/blob/main/installe...
Then osslsigncode applies the certificate:
https://gitlab.com/DaveJarvis/KeenWrite/-/blob/main/scripts/...
Echoing what Rodeoclash wrote: Having to pay to play on Windows for an open-source project that makes $0 is a decline of ownership over our own machines.
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 Apple cares about this but that would be funny if this was the crack in the dam that broke down their hardware software monopoly.
Second thing is why can't a third party offer this as a service? I'm not limited in the number of apps I can sign technically, right? Why would people using my app care that the certificate says it is signed by me instead of (trusted by the os) ABC, corp that (Microsoft|Apple) says in their overlaid dialog they trust. They could revoke something in the chain but it's technically possible right? Is this explicitly prohibited in some EULA I accepted in a brain fog?
There is surprisingly little info available on how to do code signing for Windows now. I don't want to use a physical device - with fully remote teams it's not feasible. Eventually settled on Azure KeyVault with Digicert (I don't like Comodo aka Sectigo). There is really little info available on how to get it all to work together, and you have to spent around $600 before you can even try and see whether it can work.
Now that it's all configured, the setup works well. The new setup of doing the signing via Azure is more secure than storing the private keys on the CI system. But I never thought that signing an app for Windows would be more difficult than signing for macOS or iOS.
Somewhere at Microsoft two sales guys are high-fiving each other upon reading this comment. Mission. Fucking. Accomplished.
1. DigiCert CS certificate. You can validate your organization before paying anything, but it felt like we ended up in a low-priority queue because of that. After not hearing back for 2-3 weeks, I emailed support, then got validated in a day or two.
2. Azure KeyVault: "Premium" pricing model, since you need RSA 3072-bit or RSA 4096-bit HSM-backed keys. Generate a CSR here. There are a couple of annoying steps such as getting the access control setup right, but nothing too complicated.
3. Once you have a validated org and paid for the CS certificate, you can upload the CSR to DigiCert, and download the certificate.
4. "Merge" the certificate on Azure KeyVault.
5. Create an "application" on Azure which gives you API credentials. You need to copy a whole bunch of IDs:
# key vault:
azure-key-vault-url
azure-key-vault-certificate
# client application:
azure-key-vault-tenant-id
azure-key-vault-client-id
azure-key-vault-client-secret
You use the above with AzureSignTool to do the signing, e.g. from you CI system.
https://hydraulic.dev/blog/21-shipping-electron-apps-from-ci...
From their website:
SignPath Foundation provides reliable code signing for Open Source projects.
If it's legit, then it could be a useful option.Right now the "foundation" is run by the SignPath company. But TBF they say they hope the foundation will eventually scale, and become independent and community run.
If there is one thing that seems to be common amongst large tech companies it is that it all starts out looking great, then after a few years the rot sets in and if they manage to hang on long enough eventually they turn into parasitic entities. There is no way that a company the size of Microsoft could not come up with a way of working that would enable the FOSS world that they claim to be such huge supporters of to deploy on their platform without hassle or cost. All of this friction in the name of security always accidentally helps the bottom line.
That said - and maybe I'm missing something - but why did did ImageMagick wait til the _day of expiration_ to make this post?!
My only explanation for why it needs to be so expensive is that it needs to be a large enough charge that the rightful owner of a stolen credit card might notice it? Because it’s in and of itself an author verification? If that’s the case though, they could refund some or all of it after say 3 months?
Even then, just as a verification, there seems like very little need to charge for that verification annually. It really just seems like rent seeking.
Certificates are expensive because governments aren't digitized and don't really "do" cryptography, so associating ownership of a private key with ownership of a legal identity requires a lot of manual effort. CAs have to do things like look up your registration details in country-specific websites that don't have APIs, make phone calls, study passport scans and so on. That's all very labor intensive which makes it expensive.
It could be made a lot cheaper if governments ran their own PKIs and issued every company registrant with private keys as part of setup, likewise if passports came with private keys usable for document signing (govs already run PKIs for e-Passports but you have no way to associate a personal private key with that certificate).
Unfortunately there's been no movement on that for a long time, and the few countries that did experiment with national PKIs have mostly given up. America never tried to do large scale government PKI outside of the DoD, and therefore US software firms never felt much need to do a good job of smartcard support. No mainstream operating system has solid support for it, standards are lacking, etc.
Then you have the generally high overheads that the certificate consumers (Microsoft) and CA/Browser forum mandates for CAs. That costs money too. Then the overheads that come with a company existing at all (websites, taxes, salaries etc).
The reason for the annual fee is to amortize the cost over time. It costs the CA more than the 1-year fee to issue the certificate in the first place, but if they assume you'll use it for at least a few years then they can break even then make a small profit.
The longer I live, the more I realize RMS is a modern Cassandra.
The set does include hardware token for storing the private key as well as a certificate valid for one year. Renewal is 25 EUR.
It does require verifying identity with government issued ID though. I haven't seen anything cheaper on the market (happy to hear suggestions).
With npm, you can opt in to have your npm package releases signed, and it took less than five minutes for me to integrate. As long as the package is published with GitHub Actions (or other supported CIs I guess), you can sign the package and npmjs shows it as well.
Git also has release and commit signing with gpg/ssh keys, so the authentication is already solved.
https://github.blog/2023-04-19-introducing-npm-package-prove...
Folks shouldn’t be forced to use proprietary software from US-based, publicly-traded megacorporotations just to build & sign their libre software.
This assumes the actions are not downloading content from other places, which I’m not sure is easy to enforce given prevalence of package managers. Meaning workflows has to be reviewed manually for such.
2. Create public repo with just an exe of malware and whatever is needed to setup the action
3. Download the signed exe
4. Delete the repo
5. Repeat
It doesn't mean much.
For CLI programs, the shell should take care of managing parameters in a standard and trustable way, also returning tokens instead of file names.
Collectively, we're like chicken caught out in a rainstorm... looking up, frozen in panic. Some of us know how to get out of the rain... but we're stuck in the middle of the flock.
This is how macOS works these days with sandboxing. Unless you manually go into system settings to grant "full disk access", apps only get access to files the user has manually selected (through the system open dialog, drag and drop, double-clicking, etc)
People continually decry this as "iOSification of the Mac", "the end of general purpose computing" and "too many damn permissions dialogs what is this Windows Vista or something"
Therefore there's no GUI to see whether an app uses the sandbox or not, or what permissions it requests, and apps can statically request any permissions they want and they'll be granted silently.
Apple do this because their vision of solving software trust revolves around vetting people in the app stores. It's still very much code signing and identity based.
Of all app platforms, only the web attempts to let people run arbitrary malicious code without risk.
Hell naw, dawg.
It's about granting access to a folder and its children, rather than individual access to files.
For example, when you try to import your files, if they are located within the 'Music' folder, the OS will ask if you are OK with the app having read / write access to that folder. You click OK - it will never ask again for anything you store import or interact with under that parent.
Similar to how IDE's ask if folders should be trusted when you open / run projects.
To be fair, Android does it better in that at least the apps can call into system file picker, which lets me simultaneously navigate the host FS and grant the app access to specific files or folders (and it explains what it's doing).
Still, I'm worried, because decisions about future OS and platform architectures are increasingly made by people who grew up in the "apps era", and likely internalized the misguided idea that "data produced by a program belongs to that program", further disempowering the users (including, ultimately, themselves). This is in opposition to the idea that made computing ubiquitous and a tool for people to improve their lives: the idea that data is independent of the software that produced it; that the data files are owned by the user, can be copied and moved around using generic means, and worked on in many different software tools.
I don't want anything like that on desktop. Some way of wrapping applications under my control (not some app stores control) and easily edit a simple text-file to give it permissions would be nice, but nothing beyond that.
Sandboxes and containers are what you do when you don't have proper capability models to utilize. I'll keep putting up with Win10 or Linux until I get that.
There is no better security than through compartmentalization. The other approaches are through obscurity (doesn't work at all) or correctness (unrealistic). Also, compare the number of CVEs of Qubes and any other system.
It’s bad practice. Confusing for users and dangerous for users to get used to doing something like that.
But yeah I’m not paying $99 a year.
The goal of us developers is of course to fully automatically sign an executable, while the CAB forum seems to want one to always enter a pin code in a hw device anytime you make a build.
Are there any good solutions or hacks to automate it? Does Digicert really make it possible again to just invoke signing of anything from the command line or CI task WITHOUT entering any pin or 2factor stuff? That would be great, and of course ultimately circumvent the CAB forum's demands as anyone who stole the digicert credentials can now sign anything.
In theory they want you to use a 2FA authenticator for it so their protocol requires TOTP secrets and the like. In practice nothing stops you saving the seed to a file, so you can sign automatically.
Of course then you're reducing the security gained by the system. Your CI becomes a very weak point. But it does work.
The CAB Forum is well aware that people want to and can sign automatically. The purpose of the HSM is to fix revocation, not to require manual intervention for signing software.
Alternatives to IM:
- http://www.graphicsmagick.org (IM fork)
0. https://marc.info/?l=imagemagick-developer&m=104777007831767...
Yikes! At least Mac (and iOS) developers get this for $99/year. What makes code signing so expensive on Windows?
There are other options that would require more changes to their workflow but are much less expensive. See the responses on GitHub or the other comments here for several of them.
My day-job SaaS uses ImageMagick on Windows (long story), but this doesn't affect us - I imagine most other users will be the same.
I'm surprised they even make an installer for Windows at-all instead of only shipping portable zips.
The fallout has been that corpos can build it from their source and ship it themselves if they need it so bad, and users are always informed up front about what is coming to their computers.
Let that stick in your brain for next time you wonder why Windows still hasn't gotten a competent package manager that can wrangle dependencies. The userbase has been made terminally paranoid by decades of trojans and adware installers.
winget?
> I'm surprised they even make an installer for Windows at-all instead of only shipping portable zips.
You really appreciate that when you are managing a fleet. Though you can always slap a script or NSIS installer yourself, it's way easier if it's already done.
I agree that let's encrypt should just issue them. If Microsoft refuses to support it, someone should write a windows kernel module to add (or patch in) support.
Also FYI, Bob is pleading for some volunteers to help manage the project; he's doing it all on his own as a side project. If you can, please put the word out
https://github.com/libvips/pyvips/blob/master/examples/annot...
tldr: make an image containing your text, composite it over the image you want to annotate.
WSL is meant for UNIX developers to bring their habits into non-UNIX OS, just like IBM mainframes and micros have PASE.
So in many ways, WSL is a survival strategy - it makes it possible to stay a relevant developer while working in windows.
BTW, I know a case where WSL is nothing short of brilliant: online game development. A lot of times, the backend is running linux only, while the client is windows only. WSL is the only decent solution here.
They’re called Codespaces.
Trying to use a windows computer for gaming or media production with WSL installed is problematic. For example… opening file explorer causes WSL to start and file explorer is frozen until it launches. And WSL seems to constantly be running eating up 8gb of RAM.
Unless you need a GPU, codespaces are way more convenient than WSL.
(Regardless, vendor-specific code-signing schemes are a racket.)
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.
As a result – most people now skip the "SmartScreen" warning at the level of habit. This warning just adds to the noise from the Windows system which you want to skip as fast as possible.
Tons of good software simply can't afford it or won't bother getting such a non-portable thing as hardware FIPS. Classic Microsoft "just shove it up your throat" practices for the sole purpose of revenue
https://www.youtube.com/watch?v=Wi-4WdpKm5E
Also it has been 3 years since that video and even a modern search still has unclear messaging if this thing is even an option to be used today.
Looks like a dev commented in the GitHub issue, but clearly the maintainer of this project had no idea it existed.
It's sort of my secret solution to using software I need from gimped userland, although I know it lights alarms in the big InfoSec secret dungeon. Luckily, they're lights for "Visual Studio Code", so that "alarm" is on all the time.
Ubuntu users on 22.04 LTS or later are also unaffected, because the release came with a version that was already patched [1]. If you upgrade to a newer Ubuntu release, there is no need to pay for ESM.
Your comment makes it sound like the ImageMagick developers want money specifically from Ubuntu users to reveive security patches, which is not true.
[0] https://github.com/ImageMagick/ImageMagick/discussions/6805#...
[1] https://ubuntu.com/security/CVE-2022-48541
Edited to add some links.
You are free to criticize Canonical for their business model, but that seems off-topic to me right now.
With that said, the mentioned vulnerability is an odd one. A CVE published in 2023 with a CVE number for 2022 for a bug that was found and fixed in 2020. The bug in question is a memory leak when passing -help.[1]
That said, seems like you could bring down that price by hosting the key yourself with a yubikey or cloud hsm instead of buying the turn key solution from digicert.
I'd assume creating a fake persona / faking whatever is required to satisfy the identity checks that come with that $630 is the actual deterrent. If it was cheap to perform the actual identity checks it would still provide this effect.
This requires identity validation and controls for it to actually work, which is fundamentally incompatible with a Let's Encrypt-style pretend-CA.
This means storage of keys in hardware. Otherwise code signing keys are stolen and used for malware distribution in high profile attacks. This happened one too many times hence the more stringent requirements.
Ironically these guys want their cake and eat it too, there is no reason they couldn't just manually sign release builds which come once in a while. Many small OSS projects do this. No, they want full automation with an organization cert and now are complaining about meeting the requirements for that.
And meanwhile, in Linux land, people will install things by piping curl into bash[0][1], so the bar is just not that high. And the ultimate answer to security will come from better app sandboxing, not from charging every native-app developer in the world $700/year for a code signing certificate.
[0] https://docs.chef.io/chef_install_script/ [1] https://github.com/zyedidia/micro#quick-install-script
Just because some operating systems are decades behind on security that does not mean that security does not matter.
I wish we had a cryptographic verification mechanism based on code and reproducibility of their builds, and local-sensitive hashing mechanisms rather than the current ones.
Technically this might actually be a decentralized ledging use case that makes sense.
With a self-signed certificate, you are effectively your own PKI. The goal is generally to deduplicate that kind of work while also providing better security properties than “my host trusts self-signed certificates from a root CA that I keep on disk somewhere.”
Is this an inside joke in the community or maybe even a an official take?
Makes me feel like I would like to learn more about open source. What drives it's development and what the business models are.
There are 152 contributors to this project who wrote 21,686 commits. If each commit took an hour of work, and we value each hour at $50, that is $1,084,300 worth of time.
How can a project gather over a million dollars worth of work time, but not $629 for a certification service?
Simple: there is no business model. Open Source is not a business. It is a philosophy and hobby, where people help each other and give away their labor with no expectation of a return.
(Some youngsters that have grown up in the social media age have developed a kind of entitlement complex where they focus more on the popularity of their contribution than its utility; they may be developing it just to see a lot of stars on a GitHub page. But largely it's a community driven by people who just needed some code to exist and then released it for free when it worked)
(Some businesses do release code with an open source license and even accept some contributions from the public, but largely they are doing so for various business reasons and the project is more a reflection of the business than the needs of a community. Since those projects are financed and organized by the business, they tend to end when the business abandons them; whereas a grassroots community project is often just maintained by a new stranger on the internet if the old maintainer gives it up)
If they would say “Would match our ‘donation’ and donate $10 each year that we put in $1k in labor to this project?” that sounds like some commercial users would accept. But the first problem with medium scale OSS like this is that it’s no one’s hobby to manage projects or beg for money.
It’s also a problem that OSS contribution/sponsorship isn’t normalized in corporations. I could much easier get permission to buy a $5k piece of software than donate $5 to an OSS project that powers out largest project and has been maintained for 10 years by a single person.
The unspoken assumption here is that code signing is a good thing. I question this assumption, particularly with how this works today. Microsoft, the cert issuers, and other companies involved in this are trying to create a reality in which software must always be attached to a specific legal entity, and then that entity must be vetted through the "corporate web of trust". That $629 (per year?) isn't paying to access/license a feature. It's a membership fee in that "corporate web of trust".
It's a nice way to disempower users and individual developers, while effectively commercializing the entire Open Source space. "Want to have your open source project to have any users (on proprietary OS-es)? You need to start a company and sign a contract with one of our approved business friends."
Because business has it's own logic. If you invest $5k in a product, you are expecting the return to be customer support, quality control, timely bug fixing, "enterprise" features, feature request priority, legal indemnification / due diligence, etc. You make a business case to justify the expense, with the expectation that this is going to provide a return (eventually) in the form of revenue, time/cost savings, etc.
Donations in and of themselves don't provide any obvious return. If the project kept a "business case" page that includes what the donation goes to and shows the direct benefits that come from donation, it's much easier to justify the cost. And you might think "can't they just write off the donation?", but the project would need 501(c)(3) status, and it's apparently quite[1] hard[2] to get OSS approved as such.
[1] https://web.archive.org/web/20221201141451/https://opensourc... [2] https://www.mill.law/blog/more-501c3-rejections-open-source-...
Dogma and fervor don't pay the bills.
Because the certification 'service' is a protection racket (as in criminal[0] racketeering) by Microsoft.
Millions for defence (or in this case infrastucture), but not a cent for tribute.
0: Since I'm sure some pedant will nitpick this: yes, I'm aware that large corporations have likely purchased legislation misclassifying this as not officially a crime; you know perfectly well what I mean.
The economics are probably pretty simple: you can have fun contributing your time to a project, but you can’t have fun contributing money. It’s also easier to get your employer to okay your spending time to upstream bugfixes or even features than to get them to pay money to what’s likely a very vaguely defined organization for a very fuzzily defined service as opposed to straightforwardly buying a thing. (The money itself would be negligible—the accountants’ and lawyers’ time will cost more.)
Though here it seems to be mostly a money thing ($629/year is a real amount of "pocket change").
> we value each hour at $50
If you start with fantasy hypotheses like these, you're going to obtain fantasy conclusions.
Also the API is has silly names, uses globals, not really nice, and not really FFI friendly (overcomplicated).
Also requires global installation, cannot be deployed side by side with projects.
For me it is a solid red flag for any project if they are using ImageMagick/GraphicsMagic. I don't let it near my computers.