9 ms·
Interesting that they will check the hashes of dependencies at runtime. But then I start to wonder - why dynamic linking if the library can't be replaced?
by asveikau 8y ago
Interesting that they will check the hashes of dependencies at runtime. But then I start to wonder - why dynamic linking if the library can't be replaced?
- criddell 8y agoWhy bother checking the signature of dependencies if the main executable integrity isn't being checked? What really surprises me is that the author of something as great as Notepad++ isn't making enough money from the project to easily be able to pay for the certificate.
- asveikau 8y agoI suppose we could all demand a refund. Edit: downvoted? The project is GPL, not a revenue source.
- mattnewport 8y agoPrice doesn't seem to be his primary issue.
- magnat 8y agoIt's not about the price, but about name on the certificate: > However I cannot use "Notepad++" as CN to sign because Notepad++ doesn’t exist as company or organization CAs would put author's name as CN, which isn't great, especially for collaborative project.
- techsupporter 8y agoYep and sometimes the name people know isn't the name that a CA will permit in a certificate. I have one of those. I'm known as a shortened version of my middle name, say Jack Quimby, but DigiCert and others insist that the cert be issued to Alphonse Jackson Quimby, Jr. OK I'll just buy an LLC from a state that's cheap (never mind the paperwork) but that's no good either because the new entity had no listed phone number...
- magnat 8y ago>OK I'll just buy an LLC When I bought code signing certificate for my LLC, in their infinite wisdom CA put "Spółka z ograniczoną odpowiedzialnością" as CN, because that's what they saw on proof of ownership. "Spółka z ograniczoną odpowiedzialnością" literally means "Limited liability company" in Polish.
- kstrauser 8y agoI know that must have been a pain in the neck for you, but that's hilarious. Thanks for sharing!
- smallbigfish 8y agoBut they "spend hundreds" on checking the validity of the requester.
- criddell 8y agoThat doesn't seem like it should be a deal breaker, especially for something security related.
- 1wd 8y agoThe opposite would surprise me. How would Notepad++ earn any money?
- Skunkleton 8y agoRedhat is an example of a company that makes money on top of extensive open source contributions. I doubt a similar model would work for a text editor. There is a reason most open source projects like this have a corporate benefactor.
- NullPrefix 8y agoContext aware ads
- SamuelAdams 8y agoCould be related to the CIA replacing common libraries with their own. https://notepad-plus-plus.org/news/notepad-7.3.3-fix-cia-hacking-issue.html https://notepad-plus-plus.org/news/notepad-7.3.3-fix-cia-hac...
- captainredbeard 8y agoAnother major benefit of dynamic linking is that multiple processes can share the same dylib in memory -- for things like Apple's AppKit.framework, that can add up to significant savings when multiplied across all of the open apps. https://www.quora.com/What-is-the-difference-between-static-and-dynamic-linking https://www.quora.com/What-is-the-difference-between-static-...
- asveikau 8y agoI believe recent Windows and other recent OSs can hash the contents of pages and de-dupe them, which could have some benefits for the same library linked statically across multiple binaries, assuming the identical code ends up page aligned in the same way. This strategy also has benefits for running VMs with the same OS loaded multiple times. See: https://en.wikipedia.org/wiki/Kernel_same-page_merging https://en.wikipedia.org/wiki/Kernel_same-page_merging
- maccam94 8y agoThat requires all of the apps to be built with the same exact version of the library.
- asveikau 8y agoSo does hashing the DLLs before you load them, negating much of the purpose of dynamic linking. That was my point. Anyway if you really want to get technical, if your sharing method is hashing identical pages, I would bet that you don't actually need the same version of the lib to get nonzero sharing. I would not be surprised if many libs have large ranges of identical pages across point releases. Then it's more a question of: was the same compiler used, did it optimize the same way.
- deleted 8y ago[deleted]
- captainredbeard 8y ago