Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    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.

    Visit blogRSSHN submissions
    Open Source & LinuxSecurityPrivacy & Policy
    What HN says

    HN 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.

    Stats for nerds
    55HN people shared it
    61linked in comments
    704story points
    Jan 2023last shared
    2013people per year2023

    Top posts on HN

    1. 1
      Lessons from the Gnome Patent Troll Incident
      3 people · 185 points · first shared 2020 · 68 comments on HN
    2. 2
      Creating a Home IPv6 Network
      2 people · 156 points · first shared 2020 · 77 comments on HN
    3. 3
      Linux Foundation Secure Boot System Released
      1 person · 125 points · first shared 2013 · 31 comments on HN
    4. 4
      The Community Corrosive Effects of CLAs (2021)
      1 person · 75 points · first shared 2021 · 46 comments on HN
    5. 5
      A Roadmap for Eliminating Patents in Open Source
      2 people · 74 points · first shared 2019 · 12 comments on HN
    6. 6
      Adventures in Microsoft UEFI Signing
      3 people · 8 points · first shared 2012 · 1 comments on HN
    7. 7
      GPL as the best licence
      3 people · 7 points · first shared 2018 · Discussion on HN
    8. 8
      Solving the Looming Developer Liability Problem
      3 people · 6 points · first shared 2023 · Discussion on HN
    9. 9
      James Bottomley: Containers and Cloud Security
      2 people · 6 points · first shared 2018 · 1 comments on HN
    10. 10
      Deploying Encrypted Images for Confidential Computing
      2 people · 6 points · first shared 2021 · 4 comments on HN

    What HN people wrote when they linked it

    • aeadioJan 2023

      > 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]…

    • FreakLegionDec 2022

      It's been a few years, but the main references I remember using:

      1. Windows: https://github.com/frankmorgner/vsmartcard/tree/master/virtualsmartcard/win32/BixVReader, which is a fix-up of the older https://www.codeproject.com/Articles/134010/An-UMDF-Driver-for-a-Virtual-Smart-Card-Reader, 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-the-hid-gadget/ and the code at https://git.kernel.org/pub/scm/linux/kernel/git/jejb/fido2-ctap-gadget.git/ 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).

    • zahllosAug 2019

      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 :(

    • alwillisFeb 2020

      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-509/.

    • l1ambdaFeb 2018

      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/)

    • bcantrillMar 2016

      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/

    Related

    Matthew Garrettmjg59.dreamwidth.org306 people

    I stayed in a hotel with Android lightswitches and it was as bad as you'd think

    Matthew Garrett
    Personal · last shared 2026
    GNOME Blogsblogs.gnome.org490 people

    AirPods fast connect security vulnerability

    GNOME Blogs
    Company · last shared 2026
    Kyle Mitchellwriting.kemitchell.com134 people

    The MIT License, Line by Line

    Kyle Mitchell
    Personal · last shared 2026
    Qualys Blogblog.qualys.com65 people

    SSL Labs in 2016 and Beyond

    Qualys Blog
    Company · last shared 2026
    Bradley Kuhnebb.org98 people

    Why Greet Apple's Swift 2.0 With Open Arms?

    Bradley Kuhn
    Personal · last shared 2025
    Scot Hackerbirdhouse.org36 people

    Antique BeOS Content by Scot Hacker (2011)

    Scot Hacker
    Personal · last shared 2026
    Canonical Blogblog.canonical.com38 people

    Shutting down Ubuntu One file services

    Canonical Blog
    Company · last shared 2018
    ldpreloadldpreload.com34 people

    Finding a kernel regression in half an hour with git bisect run (2018)

    ldpreload
    Personal · last shared 2026