{"kind":"doc","doc":{"title":"Passkeys and largeblobs","section":{"slug":"posts","name":"Posts"},"rkey":"1795982955915-passkeys-and-largeblobs","cid":"bafkreibwod6dklsye7bqjrtneu7yiwgkux6zqcqohwop2ben5iiclyd56e","renderKey":"bafkreibwod6dklsye7bqjrtneu7yiwgkux6zqcqohwop2ben5iiclyd56e@2026-11-29T20:09:15Z@2026-11-29T20:09:43Z@Posts|","href":"/posts/1795982955915-passkeys-and-largeblobs","publishedAt":"2026-11-29T20:09:15Z","updatedAt":"2026-11-29T20:09:43Z","tags":["passkeys","largeblobs","icloud-keychain","safari","chrome"],"description":"For anything syncing between devices with iCloud Keychain, stay under 1 MB of raw data, compress first, and verify every write.","readingMinutes":2,"markdown":"I was exploring some limits around passkeys for [manifest.page](https://manifest.page/), and ran into some gaps that didn't seem to be fully documented anywhere. In no particular order, here's what I ran into while testing across Safari and Chrome:\n\n- **Sync is capped under 1 MB.** With Apple Passwords, a blob written in Safari on my Mac synced to my iPhone at 1020 KB. At 1 MB it never arrived. The limit is on the raw bytes, so if you want more, compress it first.\n- **Writes over the sync cap succeed.** The write reports success, the data reads back fine on the device that wrote it, but it never syncs. It can also cause a previously synced passkey to dissapear.&#x20;\n- **Local storage is bigger, and inconsistent.** Safari on macOS saved and read back 16 MB. Safari on iOS worked at 4 MB. 16 MB worked once, then on a second run it saved fine and failed to read back. 32 MB saved and never read back at all. Writes should always be verified.\n- **Sync can take a minute or two.** Blobs near 1 MB showed up on the other device 1 to 3 minutes after the write.&#x20;\n- **Chrome caps writes at 2 KB.** In Helium (Chromium), anything over 2 KB threw `NotSupportedError: The 'largeBlob' extension's 'write' parameter exceeds the maximum allowed size (2kb)`. That cap comes from the Chromium. It showed up when the passkey lived in the browser's own password manager.&#x20;\n- **A failed write doesn't break the passkey.** After a big write failed, a small write to the same passkey worked and synced normally.\n\nThe practical budget for anything that has to sync between devices using iCloud Keychain is to stay under 1 MB of raw data, compress before, and verify after writing.&#x20;\n","media":{},"series":{},"related":[{"title":"The Kettle and the American Dream","href":"/posts/1795466880069-the-kettle-and-the-american-dream","section":"posts","description":"The Kettle is one of the last embodiments of the American Dream.","publishedAt":"2026-11-29T20:03:35Z"},{"title":"UL stack","href":"/experiments/1795914662921-ulstack","section":"experiments","description":"Unkernel + localhost. Bring your own HTTP server.","publishedAt":"2026-11-29T04:35:10Z"},{"title":"GBCformer","href":"/experiments/1793399415000-gbcformer","section":"experiments","description":"A Game Boy Color compiled into Llama weights","publishedAt":"2026-11-27T22:15:36Z"},{"title":"Apron","href":"/experiments/1793375787000-apron","section":"experiments","description":"Putting on an Apron.","publishedAt":"2026-10-30T16:12:05Z"},{"title":"Build your own apps","href":"/posts/1791570998502-build-your-own-apps","section":"posts","description":"The apps can be just for you.","publishedAt":"2026-10-30T01:52:18Z"},{"title":"Farfield Theme","href":"/experiments/1793193667000-farfield-theme","section":"experiments","description":"A dark and a light colour theme for terminals and editors. ff-night is the dark one, ff-day is the light one.","publishedAt":"2026-10-29T02:10:05Z"}],"prev":{"title":"The Kettle and the American Dream","href":"/posts/1795466880069-the-kettle-and-the-american-dream"}}}