J

James Bottomley

blog.hansenpartnership.com · Personal blog · on HN since 2012

James Bottomley, a Linux kernel developer, writes about open source licensing, UEFI secure boot, TPMs, and developer liability.

What HN saysHN commenters link it for licensing analysis, such as GPLv2 and CDDL compatibility with ZFS, for copyright advice for open source, and for UEFI signing details.
55HN people shared it
13linked it in comments
61stories submitted
704story points
8 months agolast shared
2012people per year2026

Most-shared posts

  1. 1
    Are gplv2 and cddl incompatible
    4 people · first shared 2016
  2. 2
    Lessons from the Gnome Patent Troll Incident
    3 people · 185 points · first shared 2020 · 68 comments on HN
  3. 3
    Adventures in Microsoft UEFI Signing
    3 people · 8 points · first shared 2012 · 1 comments on HN
  4. 4
    GPL as the best licence
    3 people · 7 points · first shared 2018 · discussion on HN
  5. 5
    Solving the Looming Developer Liability Problem
    3 people · 6 points · first shared 2023 · discussion on HN
  6. 6
    Owning Your Own Copyrights in Open Source
    3 people · 4 points · first shared 2021 · 2 comments on HN
  7. 7
    Webauthn in Linux with a TPM via the HID Gadget (2019)
    3 people · 2 points · first shared 2019 · discussion on HN
  8. 8
    Owning your windows 8 uefi platform
    3 people · first shared 2013
  9. 9
    Creating a Home IPv6 Network
    2 people · 156 points · first shared 2020 · 77 comments on HN
  10. 10
    A Roadmap for Eliminating Patents in Open Source
    2 people · 74 points · first shared 2019 · 12 comments on HN
  11. 11
    James Bottomley: Containers and Cloud Security
    2 people · 6 points · first shared 2018 · 1 comments on HN
  12. 12
    Deploying Encrypted Images for Confidential Computing
    2 people · 6 points · first shared 2021 · 4 comments on HN
  13. 13
  14. 14
    Paying Maintainers Isn’t a Magic Bullet
    2 people · 4 points · first shared 2022 · discussion on HN
  15. 15
    Using Your TPM as a Secure Key Store
    2 people · 4 points · first shared 2016 · 1 comments on HN

What HN people wrote when they linked it

runningmike · 2021-04-12
misleading title: it’s not complicated, but you can make it complicated. Just use cc-by (sa or nd) and an osi approved foss license. A good read: https://blog.hansenpartnership.com/owning-your-own-copyrights-in-open-… or see https://blog.codeforscience.org/intellectual-property-in-open-projects… to keep it simple!
qlk1123 · 2018-11-28
Just a weakly related comment here. When one talks about security, it's really hard for people to follow what she really means; the context has always been qualitative, but not quantitative. I found the idea "Vertical/Horizontal Attack Profile" interesting, which may help measure security when people argues different container solutions or even VMs. https://blog.hansenpartnership.com/measuring-the-horizontal-attack-pro…
aeadio · 2023-01-07
> Which major distro allows using ZFS from its official installer…? That says more about the distributions than about ZFS’s fitness or maturity as a file system. It’s understandable that many distributions don’t bundle ZFS, since the licensing is still an open debate. Although that’s not so cut-and-dried [1], I wouldn’t expect broad support from distributions unless and until these issues have been tested and proved out one way or the other. No organization wants to insert themselves into a legal skirmish. The best (and probably only good thing) to come out of Ubuntu’s support for ZFS is the vote of confidence in favor of ZFS’s legality in-base from a major corporate entity. We can hope more distributions pick up on this, but I’m not holding my breath. But legal issues and technicalities say nothing at all about the relative technical merit of ZFS (or any other file system). > how many people use it as a filesystem for the linux root? Never seen anyone putting the main OS on zfs Quite a lot of users, actually. There’s a significant community around ZFS, including an ecosystem of some robust tooling. ZFSBootMenu is evidence enough that people want to run root on ZFS, and that root on ZFS is both feasible and highly desirable. Compare its feature list to what you can achieve with root-on-Btrfs, and ZFS pretty handily comes out ahead as the more powerful file system in terms of real world administrative capabilities. [1]…
p_l · 2020-02-15
For OEM to allow reinstall done "normally", yes. But DB entries can also contain SHA-256 hashes of the image to load (with the image stripped of the signature, which btw allows you to also resign it). https://blog.hansenpartnership.com/the-meaning-of-all-the-uefi-keys/ https://www.nsa.gov/Portals/70/documents/what-we-do/cybersecurity/prof…
ece · 2017-09-04
This seems like FUD, people have analyzed the licensing, and the openzfs project is independent of any company. Would you say OpenJDK was murky? I don't think so. https://blog.hansenpartnership.com/are-gplv2-and-cddl-incompatible/
wmf · 2017-03-03
James Bottomley navigated the bureaucracy and lived to tell about it: https://blog.hansenpartnership.com/adventures-in-microsoft-uefi-signin…
bcantrill · 2016-03-07
So you're implying that Oracle would use its standing as a Linux copyright holder to sue Canonical for violating the GPL by integrating the (Oracle copyrighted!) CDDL'd ZFS? On the one hand, I give points for the absurdity of the scenario -- and that it makes no sense would certainly not dissuade Oracle. But on the other hand, even this bizarre scenario is missing something that all of these litigation scenarios seem to lack: damages. James Bottomley explored this issue[1], and I continue to be amazed that others either ignore it or don't treat it explicitly, as it will be the first question that will be asked by any lawyer: where are the damages? I actually ask this earnestly: can those who fear litigation here at least take a swing at establishing the economic harm here? [1] http://blog.hansenpartnership.com/are-gplv2-and-cddl-incompatible/
kevinoid · 2013-02-28
You can be "personally in control of the trusted root CA" using SecureBoot. Just replace the Platform Key with your own key.[1] Or am I misunderstanding your objection? 1. http://blog.hansenpartnership.com/owning-your-windows-8-uefi-platform/
alwillis · 2020-02-24
Browsers toyed with the idea of using DNSSEC + DANE which would allow a website owner to use self-signed certificates and have them trusted just like commercial certificates. A DNS record (TLSA) would tell the browser how to deal with trusting the certificate, its public key or to validate the chain of certificates, etc: https://www.rfc-editor.org/rfc/rfc7671.html. This would have radically changed the landscape of certificate authorities and browser vendors. Google and Mozilla implemented it back in the day but changed directions. Among other issues, doing additional DNS lookups when you're trying to get the page on the screen as quickly as possible put the kibosh on things. Plus politics. Mind you, using DANE + TLSA is the defacto standard for Mail Transfer Agents to do secure email with each other but SMTP and HTTP have different security requirements. We may eventually get there, but there are political and technical hurdles to overcome when it comes to DNSSEC, which is required for DANE and all the rest. It's really taken off in parts of the European Union, South America, and Asia, but not so much in the US, where only about 25% of internet users are behind a DNSSEC-aware resolver: https://stats.dnssec-tools.org. The article DNSSEC, DANE and the failure of X.509 is a pretty good summary: https://blog.hansenpartnership.com/dnssec-dane-and-the-failure-of-x-50…
zahllos · 2019-08-15
It's not always easy to do (and Microsoft could always exempt themselves from surface devices) - I think the spec only requires that it is possible, not that there is a nice dialog box in the bootloader to do it (unfortunately). You need to put the device into setup mode first, which should be possible by disabling secure boot then deleting the platform key. Then you can update the DB, then KEK and finally PK using keytool.efi. There's many guides on the process, see for example: https://blog.hansenpartnership.com/owning-your-windows-8-uefi-platform… and https://www.rodsbooks.com/efi-bootloaders/controlling-sb.html. Specifically, what I'd do is: disable secure boot, copy shell.efi and keytool to the ESP, add a boot entry for the shell.efi entry, always useful, then boot to it, run keytool, clear the PK - voila you are in setup mode and should be able to change everything. Be aware that once you set a platform key, updates to any key database are checked for valid signatures. Updates to the KEK must be signed by PK, updates to the DB, DBX must be signed by the KEK, etc. If there's no dialog, you might also want to back up the keys, if you want to set the machine back to its factory default setting. I can imagine Microsoft might not have enabled this level of control for their surface devices, although as I understand their HCK, they should. Perhaps they exempt themselves :(
l1ambda · 2018-02-13
I keep hearing that the GPL and CDDL are incompatible. But repeating something doesn't make it true. And I have read both licenses, and have come to the conclusion that they're unlikely to be incompatible in the first place. Unfortunately, every time this line of argument come up, it tends to get buried in discussion. The basis of the incompatibility claim seems to be from 3 arguments: 1) Statements from the FSF website, but those have no legal bearing against the actual text of the licenses 2) Claims that the CDDL was engineered to be incompatible with the GPL, again, it's an interesting hypothesis but has little bearing against the actual text of the licenses 3) Derivative Work argument from the GPL. This seems to be the only one that could hold water; however, I doubt that a court would find ZFS to be derivative work of the Linux kernel. Furthermore, even if you argue that the "derviative work" clause makes them incompatible, there’s no way actually to prosecute such a violation. Copyright law is something called a tort in law, which means you have to show that someone violated the rules AND also caused quantifiable harm. What would our theory of harm be? (https://blog.hansenpartnership.com/are-gplv2-and-cddl-incompatible/)
FreakLegion · 2022-12-11
It's been a few years, but the main references I remember using: 1. Windows: https://github.com/frankmorgner/vsmartcard/tree/master/virtualsmartcar… which is a fix-up of the older https://www.codeproject.com/Articles/134010/An-UMDF-Driver-for-a-Virtu… and https://github.com/Watfaq/SoftU2F-Win/tree/master/SoftU2FDriver. Note that neither of these actually implement CTAP2. 2. Linux: There's plenty to refer to on HID gadgets, but https://blog.hansenpartnership.com/webauthn-in-linux-with-a-tpm-via-th… and the code at https://git.kernel.org/pub/scm/linux/kernel/git/jejb/fido2-ctap-gadget… were my entrypoint and cover the whole idea of WebAuthn in software. 3. Mac: I ended up not implementing a Mac version, but GitHub themselves used to support a CTAP1/U2F software authenticator, now archived at https://github.com/github/SoftU2F. I was going to work from that. For the service I looked at different software "devices" interfacing with these kinds of drivers (or just the browser directly in Firefox's case). 1. Generic NIST SP 800-73 PIV: https://github.com/CCob/PIVert. Very limited scope, pentest tool with no extraneous features. It uses the BixVReader driver. 2. U2F: Just the corresponding driver repos I think. 3. CTAP2: Firefox Soft Token code, https://github.com/ellerh/softfido, https://github.com/bulwarkid/virtual-fido (the one you found).

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close