首页›发现›编程›Filippo Valsorda

Filippo Valsorda

RSS运行正常
访问网站
文章数10
更新频率每月约 1.3 篇
最近抓取16分钟前
订阅方式RSS
订阅地址https://words.filippo.io/rss/

最近的文章

订阅后,这些文章和以后的新文章都会出现在你的阅读器里

The NIST Elliptic Curves Seeds Bounty Has Been Claimed

AI 摘要A team from Anthropic claimed the author's three-year-old bounty by discovering that the NIST elliptic curve seeds were generated in 1997-98 using the drand48 random number generator seeded with UNIX timestamps, disproving the lore that they came from hashed English sentences. The findings rule out the NSA-backdoor conspiracy theories, since the seeds offered too little freedom to intentionally target weak curves, restoring confidence in NIST elliptic curve cryptography. The prize was donated to ISRG, the non-profit behind Let's Encrypt, tripling its value to $36,864.

(Post-Quantum) Cryptographic Right Answers

AI 摘要This article presents an updated edition of the 'Cryptographic Right Answers' guidance for developers, driven by the accelerated post-quantum transition timeline that now targets completion by 2029. It explains that while symmetric cryptography remains largely unchanged, nearly all asymmetric recommendations have shifted, offering concrete picks such as XAES-256-GCM or XChaCha20Poly1305 for encryption, Argon2id or scrypt for passwords, X25519+ML-KEM-768 for key exchange, HPKE with X-Wing for asymmetric encryption, and ML-DSA-44 for signatures. It also highlights that LLM-based code review is now a standard recommendation alongside using memory-safe languages.

Production ML-DSA Verification in 350 Lines of Python

AI 摘要The author presents a production-ready ML-DSA (post-quantum signature) verifier written in 350 lines of pure, dependency-free Python, available on PyPI with an API modeled after pyca/cryptography and support for all parameter sets. Performance is described as decent—around 230 ML-DSA-44 verifications per second, roughly 60x slower than Go—and the implementation is thoroughly tested with Wycheproof vectors, CCTV vectors, and mutation testing. The project originated as a way to validate the author's Go implementation by writing an independent one, and since verification involves no secrets, Python's lack of constant-time guarantees is not a concern.

Opaque, Interoperable Passkey Records (and a Go API)

AI 摘要The article argues that passkeys are the key solution to phishing but that server-side adoption suffers from non-interoperable database schemas, so the author proposes a c2sp.org/passkey-record format—borrowing PHC string syntax and WebAuthn's authenticator data encoding—that lets applications store passkeys as opaque strings, much like password hashes. Building on this, the author drafts a stateless Go crypto/passkey API covering registration and login flows, where the application only stores per-user passkey records and caches login challenges while the library handles verification. The author notes the format naturally avoids credential-ID collision attacks, invites feedback on the format and API (possibly a proposal for Go 1.28), and closes with personal and sponsor notes.

Vulnerability Reports Are Not Special Anymore

AI 摘要The author, a former lead of the Go Security team, explains that vulnerability reports have traditionally been treated as special—deserving responsiveness and attribution—because researchers provided scarce insight and the confidentiality needed to fix flaws before attackers could exploit them. Now that LLMs can find vulnerabilities as well as most researchers, and attackers can do the same, that insight is no longer precious and confidentiality matters little, making triage of noisy reports the real bottleneck. The era of vulnerability reports being special may therefore be over, shifting the job's focus to triage, rapid remediation, and prevention, though the author and commenters note some highly severe or trusted reports may still warrant special treatment.

Quantum Computers Are Not a Threat to 128-bit Symmetric Keys

AI 摘要The article debunks the common misconception that quantum computers will 'halve' the security of symmetric keys, arguing that AES-128 and other 128-bit symmetric primitives remain safe against quantum attacks. Because Grover's algorithm cannot be effectively parallelized (as proven by Zalka in 1997), breaking AES-128 would require roughly 140 trillion quantum circuits of 724 logical qubits each running in parallel for a decade—making it astronomically more expensive than Shor's algorithm attacks on 256-bit elliptic curves. This near-consensus position is supported by NIST, the German BSI, and experts like Samuel Jaques, meaning no symmetric key sizes need to change as part of the post-quantum cryptography transition.

A Cryptography Engineer’s Perspective on Quantum Computing Timelines

AI 摘要Recent papers from Google and Oratomic dramatically reduced the estimated quantum resources needed to break widely used elliptic-curve cryptography, leading the author—a cryptography engineer—to publicly reverse his view on the urgency of migrating to post-quantum cryptography in light of expert warnings of a possible 2029 deadline. He argues organizations must ship post-quantum algorithms now, including ML-DSA signatures and ML-KEM key exchange, drop hybrid classical/PQ signature schemes as a waste of time, treat non-PQ key exchange as potentially compromised, and reconsider reliance on TEEs and non-PQ cryptographic identity systems, while noting symmetric encryption needs no changes. Although the predictions could still prove wrong, he contends the risk is now unacceptable and that the job of practitioners is to mitigate credible threats rather than to out-skeptic experts.

Turn Dependabot Off

AI 摘要The author argues that Dependabot is a noise machine that floods developers with false-positive security alerts, as illustrated by a case where it opened thousands of unnecessary PRs after a fix in filippo.io/edwards25519 that affected a method almost no one uses. He recommends disabling it in favor of two scheduled GitHub Actions: one running govulncheck, which uses the Go Vulnerability Database to filter vulnerabilities by package and symbol reachability, and one running the test suite against the latest dependency versions. This approach eliminates alert fatigue, allows real vulnerabilities to be triaged seriously, and keeps dependencies safely tested without constant automatic updates.

Inspecting the Source of Go Modules

AI 摘要The article explains that while Go's Checksum Database guarantees that all Go clients receive identical module sources, viewing code directly on code hosts like GitHub is unreliable because mutable tags and force-pushes can make the displayed code differ from the actual source used by Go tooling. To address this, the author introduces pkg.geomys.dev, a service (with a browser extension) that lets users browse the authentic, checksum-authenticated source of Go module versions in the browser by fetching and decompressing module zip files via HTTP Range requests. It complements local verification approaches like `go mod download -json` and a planned `go mod verify -tag` command.

go.sum Is Not a Lockfile

AI 摘要The article argues that go.sum is not a lockfile and should never be parsed for dependency analysis, since it is merely a local cache of cryptographic hashes for the Go Checksum Database with no effect on version resolution. Instead, go.mod serves as both manifest and lockfile, listing exact versions of all direct and transitive dependencies (since Go 1.17), preventing diamond conflicts and accidental use of untested versions. The author praises Go's module system for being dramatically simpler and faster than other ecosystems' manifest-plus-lockfile designs.