<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Agost's Site</title><link>https://agostbiro.net/</link><description>Recent content on Agost's Site</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://agostbiro.net/index.xml" rel="self" type="application/rss+xml"/><item><title>Paxos From First Principles</title><link>https://agostbiro.net/posts/2023-06-paxos-from-first-principles/</link><pubDate>Thu, 08 Jun 2023 00:00:00 +0000</pubDate><guid>https://agostbiro.net/posts/2023-06-paxos-from-first-principles/</guid><description>&lt;p&gt;Paxos is a fault-tolerant distributed consensus algorithm invented by Leslie Lamport. A fault-tolerant distributed consensus algorithms lets us for example run a database on multiple servers simultaneously to make the database resilient to hardware failures.&lt;/p&gt;
&lt;p&gt;&lt;img src="./images/servers.png" alt="5 servers with two arrows drawn between each pair of servers" title="Servers exchanging messages in a distributed system"&gt;&lt;/p&gt;
&lt;p&gt;Dr. Lamport &lt;a href="https://youtu.be/RFkzp7WXAT4?t=109"&gt;initially tried to prove&lt;/a&gt; that a fault-tolerant distributed consensus algorithm cannot exist and in the process discovered a very elegant solution the problem. Such solutions can be difficult to understand if the reader is not well versed in the problem. In this post, I’ll walk you through the problem from first principles to arm you with the knowledge that makes Paxos easy to understand.&lt;/p&gt;</description></item><item><title>iCloud Keychain Security</title><link>https://agostbiro.net/posts/2022-04-icloud-keychain-security/</link><pubDate>Sun, 24 Apr 2022 00:00:00 +0000</pubDate><guid>https://agostbiro.net/posts/2022-04-icloud-keychain-security/</guid><description>&lt;p&gt;Apple &lt;a href="https://support.apple.com/en-us/HT202303"&gt;claims&lt;/a&gt; that iCloud Keychain
items are end-to-end encrypted, but recoverable with an Apple ID and device
passcode even if all devices are lost.
The official Apple support documents don&amp;rsquo;t explain well how this is possible, so
I&amp;rsquo;ve dug in to resolve this seeming contradiction.&lt;/p&gt;
&lt;p&gt;The short answer is that secrets stored in iCloud Keychain are end-to-end
encrypted, albeit with a low entropy key derived from the user’s device
passcode.
Apple strengthens the device passcode by limiting the number of passcode tries
it allows to recover iCloud Keychain items with hardware security modules (HSM)
in their data centers according to their security manual. It&amp;rsquo;s irrational
for iOS users to treat Apple as an adversary, so this leaves open the
possibility of HSM compromise[^1] or an undisclosed law enforcement
backdoor as a threat to users’ iCloud Keychain items. It&amp;rsquo;s up to each user
to decide if these are acceptable risks.&lt;/p&gt;</description></item></channel></rss>