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
    A

    Aaron Toponce

    pthree.org · Personal blog · on HN since 2009

    Aaron Toponce, a Linux system administrator, writes about ZFS, cryptography, SSH keys, password hashing, and the Linux random number generator.

    Visit blogHN submissions
    Open Source & LinuxSecuritySystems & Performance
    What HN says

    HN commenters use his ZFS on Linux guide as a reference, and link his posts on bit rot protection and SSH key encryption.

    Stats for nerds
    79HN people shared it
    51linked in comments
    414story points
    Sep 2023last shared
    2012people per year2023

    Top posts on HN

    1. 1
      The Meaning of 'su'
      2 people · 142 points · first shared 2013 · 55 comments on HN
    2. 2
      Why I think using sha256crypt or sha512crypt is dangerous
      3 people · 83 points · first shared 2018 · 45 comments on HN
    3. 3
      The Physics of Brute Force (2016)
      5 people · 35 points · first shared 2018 · 12 comments on HN
    4. 4
      The Sheer Size of IPV6
      1 person · 29 points · first shared 2009 · 19 comments on HN
    5. 5
      Deckware – A 224-bit entropy extractor (2021)
      1 person · 23 points · first shared 2021 · 4 comments on HN
    6. 6
      Debian – The Universal Operating System
      1 person · 20 points · first shared 2009 · 5 comments on HN
    7. 7
      ZFS on linux guide
      7 people · 8 points · first shared 2012 · Discussion on HN
    8. 8
      Bitcoin Mining Rate and Waste
      4 people · 8 points · first shared 2016 · 1 comments on HN
    9. 9
      OpenSSH Keys and The Drunken Bishop
      5 people · 7 points · first shared 2013 · Discussion on HN
    10. 10
      ECB vs CBC Encryption
      5 people · 6 points · first shared 2012 · 1 comments on HN

    What HN people wrote when they linked it

    • drbawbOct 2018

      For a great primer on ZFS (on Linux) in general there's this website[1] by Aaron Toponce that is very well laid out. Specifically see the section on snapshots & clones, as well as sending/receiving. Also don't forget that you can make a ZFS pool out of any block device, this includes normal files mounted as a loop device! So a great way to experiment w/ learning how to manage a ZFS pool is to just create a few sparse files, add them to a pool, and just start messing around with it. (For actual production pools though always put ZFS as close to the actual disks as possible.)

      What's really cool about serialized snapshots is that once native encryption support lands in ZFSonLinux you'll be able to send encrypted volumes over the wire. The data blocks don't have to be decrypted to be serialized or checked for integrity, so you don't even need the decryption key to do incremental sends! You can send your backups to an untrusted remote pool that never has to have knowledge of the decryption key!

      (You can also serialize snapshots to files, which is useful for say writing them to detachable media to sneakernet them. If you want to do incremental sends though the receiver does have to be an actual zpool.)

      Some other helpful hints would be using something like `mbuffer`[2] on the sender & receiver. This is handy for spinning rust pools, so that your disks don't have to wait on the network before seeking to the next blocks to be sent.

      Also ZFS lets you delegate permissions so you…

    • marcan_42Jan 2022

      I did the math myself at one point, but I lost the link. However, here's a reference for the same kind of thing:

      https://pthree.org/2016/06/19/the-physics-of-brute-force/

      The total energy output of a supernova is enough to count up to 2^220, making a lot of generous (invalid) assumptions. You'd need 2^36 supernovas to just count up to 2^256, never mind actually running SHA256. At minimum.

      There are circa 2^38 stars in the Milky Way, and they're not going to all go supernova. Add in the actual cost of compute and it just isn't happening, not in this galaxy.

      For 128-bit crypto we can look at a more earthly calculation. Using the same math as that article, but at room temperature, and taking the total solar irradiance on the Earth as an energy source, it would take this long to count up to 128 bits (calculated using Google):

      ((2^128) * (1.38064852 * ((10^(−16)) (ergs / K))) * (298 K)) / ((1361 (W / (m^2))) * (pi * (radius of Earth^2))) =
      8.04911615 seconds

      Definitely more on the plausible side, but we're already moving away from 128-bit crypto and there's a staggering number of generous assumptions being made here; we aren't going to be getting thermodynamically ideal computers using a significant fraction of the total solar irradiance on the Earth any time soon.

      Just to give you an idea of how far away we are from that, looking at actual SHA256 calculations:

      https://www.iea.org/data-and-statistics/charts/efficiency-of-bitcoin-mining-hardware

      22222 MH/J is the…

    • mbreeseSep 2022

      Here's the first example I could find.

      https://pthree.org/2014/04/01/protect-against-bit-rot-with-parchive/

      Basically, you take a normal TAR file and creates external parity files that can be used to recover data in the case of bitrot. Something like this would have been great to have on a few data files I had to retrieve from tape that ended up with a bit flip somewhere in the network > disk > tape > disk process.

      However, it doesn't look like the program is maintained anymore...

      http://parchive.sourceforge.net/

      > DISCLAIMER: This project web space is not actively mantained and is presented here for archive purposes. However some project members still montior the project mailings lists if you have questions. (sic)

      The last release was in 2004 (Wikipedia says it was active until 2015, but I don't see that).

    • valarauca1Oct 2014

      Zpool is a great feature. On top of the dozen(s) of amazing features in ZFS. The problem is, and ZFS admits this: If you don't run ECC ram Zpool can "accidentally" your whole hard drive (bit of a joke there, it can corrupt your drive as it attempts to correct bit rot that never happened).

      This happens a lot more often then we really care to think about. (Ram corruption)

      For most day-to-day linux users who are just using standard consumer desktop/laptops they don't have this protection. And ZFS can do more harm then good.

      References:

      https://pthree.org/2013/12/10/zfs-administration-appendix-c-why-you-should-use-ecc-ram/

    • zarothOct 2016

      Although this depends very much on the particular form of key you are using.

      Password encrypted SSH keys were getting a single round of MD5 for the longest time. This was fixed initially only for Ed25519 keys, to use bcrypt(5), which is still not fantastic, but a hell of a lot better than md5(1).

      Newer OpenSSH (v6.5 and later) has a new file format and allows specifying an arbitrary bcrypt complexity regardless of the key type. Look for your private key file to start with;

      -----BEGIN OPENSSH PRIVATE KEY-----

      [1] - https://pthree.org/2014/12/08/super-size-the-strength-of-your-openssh-private-keys/

    • atoponceDec 2014

      Well, in the case of SSDs, every byte counts. But no, that's not my concern. My concern is installing a binary I have no intention of using. It's solid security best practices to only install what you need, and leave the rest out.

      Also, I don't have a "fundamental misunderstanding of NTP". I've blogged about it quite a bit:

      https://pthree.org/2013/11/05/real-life-ntp/

      https://pthree.org/2013/10/13/ntp-drift-file/

      https://pthree.org/2013/10/12/new-public-ntp-server/

      http://transmission.xmission.com/2014/05/28/building-a-stratum-1-ntp-server-with-a-raspberry-pi

    Related

    Jeroen Louwrenslouwrentius.com31 people

    The Raspberry Pi 5 Is No Match for a Tini-Mini-Micro PC

    Jeroen Louwrens
    Personal · last shared 2026
    Linux Locklinuxlock.blogspot.com19 people

    Hacker News Folks Get Long Overdue Thanks

    Linux Lock
    Personal · last shared 2020
    Scott Helmescotthelme.co.uk160 people

    Another free CA as an alternative to Let's Encrypt

    Scott Helme
    Personal · last shared 2026
    Grsecurity Bloggrsecurity.net83 people

    Important Notice Regarding Public Availability of Stable Patches

    Grsecurity Blog
    Company · last shared 2026
    Dan Kaminskydankaminsky.com52 people

    The cryptographically provable con man

    Dan Kaminsky
    Personal · last shared 2024
    Naked Securitynakedsecurity.sophos.com740 people

    Serious Chrome zero-day

    Naked Security
    Company · last shared 2023
    Dustin Kirklandblog.dustinkirkland.com88 people

    Ubuntu on Windows

    Dustin Kirkland
    Personal · last shared 2024
    Vidar Holenvidarholen.net68 people

    Useless Use of "dd" (2015)

    Vidar Holen
    Personal · last shared 2025