Claude traced NIST’s P-256 seed to a 1997 timestamp, Muse Spark Open runs on four Mac Studios, and UTC drops leap seconds

1 month ago

Claude traced the seeds of NIST's P-256 and the other prime curves to the lrand48 random number generator and a 1997 Unix timestamp, and what that leaves open. Also from Friday's Hacker News front page: Muse Spark Open running on four Mac Studios with MLX, UTC going continuous in May 2027, and Sill, which puts a Mac window on an iPhone or iPad. Claude reveals ECDSA curve origins, by Anthropic's Frontier Red Team https://www.anthropic.com/research/ecdsa-curve-origins Discussion: https://news.ycombinator.com/item?id=50122800 fidotron on the discarded candidates: https://news.ycombinator.com/item?id=50123213 Local and Distributed Large LLM Inference with MLX and RDMA on Mac Studio, by Apple Machine Learning Research https://machinelearning.apple.com/research/mlx-distributed-inference Discussion: https://news.ycombinator.com/item?id=50118320 peri-cl on 4-bit Muse against full-precision Qwen: https://news.ycombinator.com/item?id=50119761 BIPM decides to stop adding leap seconds to UTC: Resolution 5 of the 28th CGPM (2026) https://www.bipm.org/en/cgpm-2026/resolution-5 Discussion: https://news.ycombinator.com/item?id=50105777 neutrinobro on tracking UT1-UTC: https://news.ycombinator.com/item?id=50107714 Sill: any window from your Mac, on your iPhone and iPad https://github.com/Saffsanity/sill Discussion: https://news.ycombinator.com/item?id=50112739 fbcpck on replacing Sunshine and Moonlight: https://news.ycombinator.com/item?id=50115352

Ask about this presentation

Chapters

Show transcript
  1. On Friday's Hacker News front page, a cryptography mystery from the nineties got its answer. The NIST curves behind ECDSA, the most widely used elliptic curve signature standard, were built from seeds the NSA handed over with no explanation. Those seeds are plain output from the C library's lrand48 random number generator, seeded with a Unix timestamp. For P-256, the clock read August 16, 1997, and the published seed is candidate 1842 from that run. An internal Claude research model worked out all five prime curves in under half an hour, and a short Python script now prints every seed.

    Slide text

    Claude traced NIST’s P-256 seed to lrand48 and a 1997 clock

    srand48(1997-08-16 01:52:34 UTC)
    candidate 1842 → C49D3608 86E70493 6A6678E1 139D26B7 819F7E90
    P-192 P-224 P-256 P-384 P-521 under half an hour
  2. There's nothing to patch or rotate. For years the worry was that the NSA chose those seeds to plant a weakness, and a clock-seeded generator that anyone can replay leaves far less room for that. Claude spotted it in the top bits. Written as 32-bit words, four of the seeds have a zero top bit in every word, about a one in six thousand chance. That is the signature of lrand48, which hands back only 31 bits of its state. Claude recovered each generator state, ran it backwards to the value srand48 would have set, and every prime-curve seed landed on a timestamp between May 1997 and April 1998.

    Slide text

    Your P-256 keys stay as they are, and the backdoor theory gets weaker

    Top bit is zero in all 20 words of 4 of the 10 seeds, about 1 in 5,810 by chance
    lrand48 returns 31 bits of a 48-bit state, so its output looks exactly like that
    Stepped back to srand48 every prime-curve seed lands on a time between May 1997 and April 1998
  3. Some of it is still open. The P-256 run passed over candidate 876, which also gives a prime-order curve of the right size, and the reason for skipping it is unknown. The B-163 seed fits nothing tried so far, and the base points of the larger prime curves are still unexplained. The bounty, almost 37 thousand dollars, goes to the Internet Security Research Group. In the thread, fidotron points out that this settles how the seeds were made and leaves open how they were picked, because candidates that were generated and thrown away are invisible.

    Slide text

    Why the P-256 run skipped a usable curve at candidate 876 is still open

    B-163 seed still unexplained
    Base points P-224 to P-521 unexplained
    $36,864 bounty donated to ISRG

    “Specifically you cannot see those candidates that were generated and discarded.”

    fidotron
  4. Apple's machine learning team showed Meta's Muse Spark Open, a model of about 816 billion parameters, running at a desk, as long as the desk holds four Mac Studios with M5 Ultra chips. Even at 4-bit, the weights take about 490 gigabytes, so one machine can't hold it. Split across all four, Muse Spark Open writes about 37 tokens a second, faster than you can read. MLX also runs an OpenAI-compatible server, so a coding agent like OpenCode can point straight at it. In the thread, peri-cl calls the comparison lopsided, with Muse at 4-bit and Qwen shown only at full precision.

    Slide text

    Muse Spark Open, an 816B model, runs on four Mac Studios with MLX

    2 Mac Studios, pipeline
    15.7
    2 Mac Studios, tensor
    25.0
    4 Mac Studios, tensor
    36.7
    tokens per second · M5 Ultra · 8,192-token context · 4-bit NVFP4 weights, about 493 GB
  5. The General Conference on Weights and Measures has made UTC continuous from May 20, 2027. Leap seconds stop, and so does the need to smear one across a day on your servers. The gap between UTC and the Earth's rotation may now grow to a full hour, which is room for several centuries. The push came from the risk of the first negative leap second ever applied, about a thirty percent chance by 2035. In the thread, neutrinobro notes the catch for anyone who needs Earth-rotation time: that difference becomes a value you track from the IERS feed instead of from time zone data.

    Slide text

    UTC stops adding leap seconds on 20 May 2027

    UT1 − UTC may drift up to 1 hour, several centuries of room
    Negative leap 30% chance by 2035, never applied before
    Earth rotation UT1 − UTC comes from IERS and GNSS
  6. Sill streams one window from your Mac, or the whole desktop, to an iPhone or iPad, and sends your taps, keys, trackpad and Apple Pencil back to the Mac. The Mac side encodes the picture as HEVC on its hardware encoder and sends it over TLS straight to the device, on the same network, over a USB cable, or through your own VPN such as Tailscale. There's no account and no server in between. Both apps are free, and Homebrew installs the Mac side. In the thread, fbcpck says Sill replaced a Sunshine and Moonlight setup that broke half the time.

    Slide text

    Sill puts any Mac window on your iPhone or iPad, and you work in it there

    HEVC over TLS 1.3 same Wi-Fi, USB or Tailscale touch, keys, trackpad, Pencil no account, no relay server free · Apache-2.0
    brew install --cask saffsanity/sill/sill

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York