Manuscript Offprint
arXiv:2610.26327Fortress: Fork Resistant Transparency logs Relying on Social graph Structure
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Anastasiia Kucherenko , Melissa Chase , and Esha Ghosh
Institute of Entrepreneurship and Management, HES-SO Valais-Wallis, Switzerland
Microsoft Research, Redmond, WA, USA
{melissac,esha.ghosh}@microsoft.com
Abstract. Transparency systems—such as Key Transparency (KT), Certificate Transparency, and binary transparency—require that all honest participants see the same view of an untrusted server's directory, or, failing that, that the misbehaviour is publicly detected. Every existing design closes this gap with an external trust anchor: a publicly available bulletin board (BB), a blockchain, or an out-of-band (OOB) gossip network among auditors.
We observe that transparency systems already have a built-in resource that has so far been overlooked: the social graph induced by the users themselves—for example, contact lists in end-to-end encrypted messaging. We ask whether this social graph can replace the bulletin board or the external gossip channel entirely, and answer in the affirmative (if occasional out-of-band interactions are allowed).
We formalise a new primitive, Social-Graph based Forking-Resilient Transparency (sg-FORT), which captures the security guarantees (Consistency and Non-frameability) of a BB-free transparency system. We then construct Fortress (Fork Resistant Transparency logs Relying on Social graph Structure), to our knowledge the first such protocol. In every epoch either all users output the same post, or at least one honest user produces a publicly verifiable Proof of Misbehaviour. Our guarantees hold against an arbitrary malicious server, including a snapshot adversary that may compromise a user in and learn its secret state, as long as the server does not compromise users that are too close together in the social graph. Users communicate only through the server's own channels supplemented by occasional out-of-band interactions between direct contacts; no external infrastructure is required. In honest executions, OOB interactions occur only at user resets their secrets and only with a single direct contact, so the total OOB cost approaches the natural lower bound of one call per reset—dramatically below the full-gossip alternative. We prove security under standard cryptographic assumptions on the signature scheme and the underlying dictionary commitment. Our analysis relies on several simplifying assumptions (e.g. synchronous epochs and always-online users) that we discuss as targets for future work; we view our result as a first feasibility theorem that opens up the design space of social-graph-based transparency systems.
A. Kucherenko et al.
1 Introduction
Transparency systems—whether for key distribution (Key Transparency), certificate management (Certificate Transparency [11,12]), or binary transparency [1,18]—share a common architecture: a server that is trusted for functionality and availability, but not for security. The server maintains a data directory and serves it to its participants, but it may attempt to show different participants different views of that directory.
These systems achieve security in the eventual detection model: either all participants always have the same view of the server-maintained data directory, or a split-view attack—where the server presents inconsistent views to different participants—is eventually detected by the honest participants. To achieve this, transparency systems typically rely on one of two external mechanisms: a trusted third-party bulletin board (BB), on which the server publishes commitments (digests) that all participants can independently verify, or an external gossip protocol through which participants exchange and compare the data they received from the server. The disadvantage of all of these external mechanism is that they are costly and not always realistically available, reliable or trusted.
In this work, we make a key observation: in every transparency system, there exists an underlying ecosystem of users who are already interacting with each other to share information—and these interactions induce a social graph. For instance, in an end-to-end encrypted messaging system, users have their contact lists; in a binary transparency ecosystem, software publishers and vendors interact with users. We then ask:
Can we leverage this implicit social graph to replace the third-party bulletin board or external gossip mechanism in transparency systems, and still achieve the same level of security?
We answer the posed question in the affirmative. More precisely, at every epoch, the server produces a post—an arbitrary blob of data that it distributes to all users. The post is not itself a cryptographic object; it is simply some data on which all participants want to agree. For example, we can instantiate the post as a Certificate Transparency [11,12] log root, a binary transparency [1,18] commitment, a Key Transparency [23,2,13,16,4,9,20,5,21,14,8,17] post or any other external blob that a transparency system needs its participants to reach consensus on. The goal of our protocol is simple to state:
Either in every epoch, all users output the same post, or a publicly verifiable Proof of Misbehavior (PoM) is produced.
Recall that, in existing transparency systems, this guarantee is achieved by having the server publish its posts on a trusted bulletin board that all users can read (or through an external gossip protocol). Our challenge is to achieve the same guarantee without either of these, using only the communication channels provided by the (potentially malicious) server itself, supplemented by occasional out-of-band interactions between users.
As we will discuss, this problem is very challenging. To make the analysis more tractable, we make a number of simplifying assumptions; for example we assume that the protocol proceeds through a number of synchronous epochs and that all users are online in every epoch. While this means that the protocol we propose is not immediately deployable, we believe that our problem formulation and protocol approach will form a good basis for extensions removing these assumptions in future work.
The server could mount a split-view (or forking) attack: show one post to Alice and a different one to Bob, and then intercept all messages between them so they never notice the discrepancy. In a system with a bulletin board (or if Alice and Bob are constantly gossiping through an external channel that does not go through the server), this is easy to prevent—both Alice and Bob check that they see the same post. Without either of these, we need a different mechanism.
To appreciate the many subtleties of the problem we will gradually go through a number of proposed solutions before arriving at our final solution.
Attempt #1: unforgeable digital signatures. A natural idea is to have users authenticate the posts they forward to each other using digital signatures. If Alice and Bob each held an authentic copy of the other's current signature verification key, then Bob could sign the post he received from the server and forward the signed message to Alice (via the server). Alice would then verify Bob's signature and, since the server cannot forge signatures on Bob's behalf, any attempt by the server to tamper with the forwarded post would be detected.
This reduces the problem to a seemingly simpler one: how do Alice and Bob obtain each other's authentic, current verification keys? Note that over the lifetime of the system, users reset their keys multiple times—reinstalling the app, switching devices, or recovering from loss. We want to allow for the possibility that the user could lose all of their devices and associated keys, so signing new devices with an existing device is not a viable solution. Users could attempt to distribute their new keys with the help of the server, however then we would need some way to ensure that this distribution is correct. In fact, adding auditability to the server's key distribution is precisely the purpose of Key Transparency (KT), which in turn relies on a transparency log which presents a consistent view to all users. So we find ourselves back in the same circularity: we cannot use KT to obtain authentic verification keys, because any KT scheme itself relies on a bulletin board or an external gossip mechanism to prevent split-view attacks—exactly the external resources we are trying to eliminate.
A. Kucherenko et al.
This points to a fundamental question: even if we assume that each user starts in a “good” state, meaning they have the “correct” verification keys for all their neighbours at the very start, is it feasible to achieve our goal in the model where the users only ever communicate through the server? Unfortunately, if honest users are allowed to reset their keys, the above goal is unachievable in the absence of some out-of-band (OOB) interaction. The intuition here is simple: when some honest user resets her key, instead of distributing her real new key, the server could simply distribute a fake key on her behalf and effectively cut her off from the network. Similarly, when her device attempts to retrieve keys for her neighbors, the server can instead respond with fake keys which it controls. Since she has no OOB channel with any of her neighbours, this misbehaviour will go undetected. Using the fake key, the server can distribute a differing post to this user versus the rest of the network, creating a split-view attack.
Attempt #2: signatures + OOB interactions. Our next attempt is to bootstrap authenticity through the social graph itself: we assume that neighbours exchange correct verification keys at the very beginning, and then use OOB interactions to handle key distribution when users reset their keys. For example whenever a user resets, they could contact all of their neighbors OOB and provide their new keys.
Of course, we do not want to have a user contact all their neighbors out-of-band each time they reset their key; that would make the protocol completely infeasible. However, if a user only needs to do one (or a few) OOB interaction with one of their close contacts, that is completely feasible. This is especially true since some of the user's close contacts are likely geographically close to the user—people who live in the same household, work in the same office, or belong to the same neighbourhood or community group—making a physical out-of-band channel realistic. For example, it would not be unreasonable to say that when a user loses their device and must reinstall a transparency app on a new device they would be required to meet one contact in person to scan a QR code on their phone. That is the approach we will take in our next attempt:
Attempt #3: signatures + OOB interactions + trust in neighbours A natural idea, in the spirit of PGP's "web of trust" [24], is to chain authenticity through transitive endorsements. In PGP, each user maintains a personal keyring of public keys they have verified in person, and they sign the keys of people they trust. These signatures are then published, so that a third party who has never met the key's owner can still be convinced of its authenticity by finding a chain of signatures connecting someone they already trust to the new key. In other words, authenticity propagates: "I trust Alice's key because I verified it in person; Alice has signed Bob's key; therefore I trust Bob's key," and so on. Translated to our setting, this would mean: when a user resets her key, she makes a single OOB interaction to just one trusted neighbour, who then vouches for the new key by signing it; that neighbour's signature convinces the remaining neighbours, who in turn sign and propagate the vouch further, and so on.
Unfortunately, this is very fragile. A single compromised user along the chain—or, more precisely, the single compromised user whose signature is being relied on to vouch for a reset—is enough to break the entire chain of trust. The server can simply use the compromised user's key to sign a fake key for the resetting user u, that fake key can be used to sign a reset for one of u's neighbors and so on; every downstream neighbor who relies on these signatures will accept the fake keys as authentic. The compromise of one key thus leads to an unbounded cascade of fake keys being accepted across the network, re-enabling the split-view attack. Any robust protocol must therefore avoid relying on any single user's signature to endorse a reset—which motivates our next attempt.
Attempt #4: signatures + OOB interactions + majority confirmation from neighbours. The failure of the PGP-style chain points directly to the fix: instead of trusting a single vouch, we require many neighbours to independently vouch for a user's key. Concretely, when a user v resets her key, each of her neighbours u does not immediately accept the new key as authentic. Instead, u waits until a majority of v's other neighbours—whose keys u already considers authentic—have independently reported receiving the same new key for v. Only then does u accept the new key. Crucially, these confirmations are not obtained via OOB interactions at all: in each epoch, every user routinely forwards (via the server) all of her neighbors keys to one another, signed under her own key. The majority check at u is therefore performed over these signed messages—the server cannot forge them for honest neighbors, and so the only way to obtain a majority of confirmations for a fake key is to compromise or use a fake key for a majority of the resetting user's neighborhood.
Where are OOB interactions actually used, then? In our protocol they appear in two places. The first is when a user u has just reset their device/app and has lost all her state, and must re-obtain the recent post and her neighbours' current keys from some trusted source. In this case, the user does an OOB interaction with a neighbour who has not reset too recently (specifically, not in the last 5 epochs). If any of her other neighbours reset very recently then a small number of additional OOB interactions with those neighbours to cross-check their state. Second, OOB interactions are triggered reactively during normal epoch processing whenever a local check fails: if a message from a neighbour fails signature verification, if an expected message is missing, or if too many of u's neighbours have unaccepted keys (i.e., keys that has not been vouched for by sufficient number of neighbor) If the server is behaving honestly, then none of these triggers should fire, so no reactive OOB interactions are made; when the server does misbehave, the triggered OOB interactions either resolve the discrepancy or produce a publicly verifiable PoM, e.g. by finding two different digests signed by the server for the same epoch.
In summary, each key reset is accepted only after a majority of the resetting user's neighbours confirm the new key over the ordinary server-routed channels, with OOB interactions used only at reset time and as a reactive fallback when local consistency checks fail.
A. Kucherenko et al.
Unfortunately, in practice Attempt #4 contains a caveat because it assumes that u will receive confirming messages from many of v's neighbors, but most social graphs are sparse. What if u is not in contact with any of v's other neighbors?
Attempt #5: signatures + OOB interactions + majority confirmation from neighbours + boosting effective neighborhood While we cannot change the social graph itself, we boost the effective neighborhood size, by providing each user with contacts of contacts. Essentially this requires an additional setup set where each user sends its contacts one another's usernames and public keys. Now, when user v resets, her neighbors will get vouchers from each other and need neither blindly rely on server nor use OOB interactions to v. The formal specification of every step appears in Section 5; below we describe the protocol at a high level. Crucially, each user only communicates with these additional "2-hop" neighbors through the server: all OOB interactions are still only made between direct neighbors in the original social graph.
1.2 Our protocol
Our final protocol uses the main ideas from Attempt #5 with one interesting cryptographic primitive for achieving efficiency and for achieving “vouches” from the neighbors in a clean way. This primitive is called a dictionary commitment scheme (DC). At a high level, it is a primitive that commits to an entire dictionary of label-value pairs, and allows for efficient proofs of inclusion (PoI) for individual label-value pairs. This primitive is binding: meaning a malicious prover cannot prove two different values for the same label with respect to the same commitment. We use DC in our protocol in the following way. The server maintains the key directory D and at every epoch t re-commits to it using a dictionary commitment scheme (see Section A): the resulting commitment is the digest of epoch t. For any user v, the scheme produces a short PoI that v’s entry in D is a specific public key. Since DC is binding, once the digest is fixed, there is at most one public key for each username that the server can open to, so the server cannot equivocate on a user’s key without producing two different digests for the same epoch. To send multiple different neighbors’ keys to a user, the server can just send the (for epoch t) and the corresponding PoIs for those keys, and just sign instead of signing each key individually. Moreover, the same digest also lets each user’s signed per-epoch message serve as an implicit vouch for the keys its own neighbours (and neighbours-of-neighbours) hold, without any extra signatures. Recall from Attempt #5 that, to accept a reset key for v, a user u needs a majority of v’s neighbours to confirm the new key. A naive implementation would have each such neighbour w sign the specific public key of v it observed and forward that signed endorsement to u. Using dictionary commitments, this becomes essentially free: in every epoch each user w simply signs the respective digest it saw, and asks the server to forward that signed digest to all of its contacts. When u later receives w’s signed digest and checks it to be equal to its own, the binding property of the commitment means w has essentially vouched for all the keys w checked for (using PoI) including v's public key.
1.3 Our Contribution
We formalize a new primitive called Social-Graph based Forking Resilient Transparency system(sg-FORT) that defines a forking-resilient Bulletin-Board(BB) and gossip free transparency system along with formal security properties (Consistency and Non-frameability). To the best of our knowledge, this is the very first work that gives a rigorous definition for a BB/gossip-free transparency system.
We then propose Fortress (Fork-Resistant Transparency logs Relying on Social-graph Structure).
While we make several simplifying assumptions, our protocol provides the following strong guarantees:
– Deterministic, bounded-time consistency. By the time the users output a given post, either all users output the same post, or at least one user outputs a verifiable proof that the server misbehaved. Our guarantees hold against an arbitrary adversarial server, including a snapshot adversary who may compromise a user in any two-hop neighborhood and learn their secret key.
– No out-of-band communication beyond direct contacts. Detection is enabled by giving each user limited information about their contacts’ contacts; however, this information is exchanged exclusively through the system’s communication channels, and out-of-band (OOB) interactions are only ever required between users who are already direct contacts.
– Minimal OOB overhead in the honest case. When the server behaves correctly, OOB interactions are needed only at user resets, and only with a single direct contact. This is realistic in practice, since users typically have at least one direct contact in their physical vicinity with whom an OOB exchange is easy to perform (e.g. a friend, roommate, neighbor, family member, or colleague). This is dramatically lower than that of full OOB gossip protocols, which require communication between all pairs of neighbors at every epoch, or the traditional E2EE approach of recommending that a user perform an OOB interaction with all of their contacts every time they change their key. Moreover, we argue in D that at least one OOB call pre reset is required, so when the server behaves honestly our OOB cost is in fact optimal.
1.4 Paper Organization
The rest of the paper is organized as follows. Section 2 describes related work. Section 3 describes the system model, assumptions, and notation. Then, in Section 4 we present the security model including the formal security game. Section 5 specifies the auditing protocol in detail, including the server protocol, the dictionary commitment primitive, the standard epoch protocol for users, and the
A. Kucherenko et al.
procedures for handling key resets for both direct and two-hop neighbors. Section 6 presents all the proofs for our protocol's security: first a sequence of game hops, then the proof establishing the protocol's correctness properties: that inconsistencies introduced by the server are detected within a bounded number of epochs, and finally the main security theorem. Finally, we conclude and show future work directions in Section 7 and devote the Appendix for full proofs and protocol's details, additional remarks, and discussion.
2 Related Work
As we mentioned above, all transparency systems use either a bulletin board or an external gossip protocol. In this section, we discuss the existing works that are most closely related to us.
Removing the bulletin board. The most closely related line of work to ours concerns removing the dependence on a trusted bulletin board. Yadav et al. [22] proposed a system (KTACA) in which a verifiable key directory information is distributed among clients and fake key attacks are detected automatically. They showed that if the server equivocates (presents different views to different users), it partitions the social graph into subgraphs with differing views, and once two clients from different subgraphs form a secure connection, the attack is detected. However, their detection guarantees are eventual: they depend on when users happen to communicate across partition boundaries. Moreover, their protocol guarantees security in components of the graph that are connected by secure connections, but it is impossible for the user to know whether they are in one of those components. Their problem statement, protocol and analysis are also quite hand-wavy; we found this problem to be very subtle, as it is easy to miss important cases and circularities without a formal analysis. In contrast, we have a rigorously defined problem statement. We formalize a new primitive to capture the problem and the security precisely. Then we give a protocol and prove rigorously that it satisfies our definitions.
Brorsson et al. [3] proposed Consistency-or-Die (CoD), a consistency protocol for key transparency that does not rely on external auditor committees, out-of-band channels, or blockchains. Their approach uses verifiable random functions to cryptographically select a small, initially undisclosed committee of random users who endorse the current view of the log. The main issue with this protocol is the following: their solution relies on an external Identity provider (IdP) to sign all the participant identities to prevent sybil attacks. So, while the paper is claiming to get rid of 3rd party BB, they are adding back the assumption of a trusted 3rd party through a trusted IdP.
Gossip-based approaches. An alternative to a bulletin board is to have users (or designated auditors/witnesses) gossip among themselves out-of-band to exchange digests. CONIKS [16] originally suggested this direction, and Meiklejohn et al. [15] studied gossip and client audits in verifiable data structures, analyzing how to detect split views when clients and monitors exchange signed tree heads. However, gossip-based approaches face significant practical challenges: finding a suitable out-of-band network is difficult, detection is eventual and depends on communication patterns, and gossip may leak metadata about which users are communicating. Our protocol avoids these issues by leveraging the structure of the social graph for deterministic, bounded-time detection, with only occasional out-of-band calls as a fallback.
Accountable Byzantine consensus. At a high level, a reader can also relate our problem to the accountable Byzantine consensus: the classical Byzantine agreement problem [10] asks n parties to agree on a common value despite some fraction behaving arbitrarily, and accountable variants additionally require that, when safety is violated, the misbehaving parties be identified with cryptographic proofs of misbehavior [7,6,19]. Our setting differs from this body of work in a fundamental way: rather than the participants being potentially Byzantine, in our model the participants (i.e., users) are honest and it is the communication infrastructure between any two of them that may be corrupted.
3 System Model
System model As in traditional transparency systems, in our system model there is a single server who is trusted for availability but not for security. The users/clients (terms used interchangeably) are identified with a username and linked with each other in a connected social graph G. Each pair of users connected in the graph is called neighbors and can communicate through the server. For each user we denote by - this initial “direct” neighborhood of u. The users can also make (occasional) secure out-of-band (OOB) interactions with their direct contacts . (We will use the terms OOB calls and OOB interactions interchangeably.) Later in protocol (Section 5) we enhance the graph with additional new connections - - two-hop neighbors. The union is called extended neighborhood of user u.
Assumptions We make some simplifying assumptions on the system and believe they can be relaxed in future while keeping our protocol as a solid foundation (Section 7).
-
The social graph is connected, remains static throughout the system's lifetime and each user has d direct neighbors.
-
We assume our system is fully synchronous and it proceeds in epochs. Furthermore, each epoch proceeds in fully synchronized phases and all the users are always online.
-
We assume that the system starts up in a good state; more precisely, this means, before the first epoch, all the users have setup their signing keys and have received the authentic signature verification keys of their neighbors (immediate and 2-hop).
A. Kucherenko et al.
-
We also assume that each user knows the usernames and verification keys of their direct neighbors and their 2-hop neighbors. However, we do not ever require them to contact their 2 hop neighbors directly through secure OOB calls. All secure OOB calls happen between direct neighbors only.
-
We also assume that honest users do not reset their keys too often (more concretely, in our protocol honest users do not reset within 5 epochs).
-
We limit the number of users who can be compromised, so that at most one user in each (direct or 2-hop) neighborhood can be compromised. Moreover, we only consider snapshot compromise as described below.
Compromise model For our main security property, we consider an adversarial server who can also perform snapshot compromise on users: a snapshot compromise allows the adversary to learn the internal state of the user's device. The user's device continues to run the honest protocol even after this compromise has occurred. In our protocol for example, the compromise would reveal the user's signing key which would allow the adversary to sign fake messages on behalf of the honest user. However, the honest user's device is still running the protocol and will detect if it does not receive the appropriate incoming messages. Finally, we assume that OOB calls cannot be intercepted or impersonated.
Compared with a traditional transparency system, like key transparency, this trust model is somewhat incomparable. On the one hand, it is weaker in that we do not have to rely on a trusted bulletin board. On the other hand, we replace this with trust in the other users in the system.
4 Social-Graph based Forking Resilient Transparency system (sg-FORT)
Here we present a new primitive: Social-Graph based Forking Resilient Transparency system (sg-FORT) (with detailed notation and diagram in Section 4.3 and Figure 1 respectively). In sg-FORT, a collection of users interact through a server to arrive at a consensus on an opaque blob of data (called post). New post is disseminated by server at every epoch, so to specify a post stored by user u at epoch e we denote or . All communication between users is routed through the server except OOBshare for secure out-of-band calls between direct neighbours when needed. Any user algorithm may additionally output a Proof of Misbehaviour (PoM), which can be publicly verified using VerifyPoM. Now, we present the API with an informal description of what each entry point does.
Setup( ) → pp gets the security parameter as input and generates system parameters pp for the system. This needs to be run by a trusted party. Looking ahead, in our instantiation it will just mean choosing a collision resistant hash function.
Server.Init(pp, G, {username_u} ) → (server_st, serverparams). Initializes the server given system parameters, a social graph G and a username for each user in G. Initializes the server's internal state server_st and the public parameters serverparams that all users use to verify subsequent messages.
User.Init(serverparams, username) → (st, msgs). Initialises a user given their username and the server parameters. The user u sets up its local state st (sometimes for precision denoted ) and produces a registration message msgs for the server.
NeighborShare( , ) . A secure exchange of information between two neighbours (direct or two-hop) during initialization. This can be thought of as a one-time trusted setup phase in cryptographic primitives (Such as for setting up CRS in SNARKS).
Server.ProcessMessages(server_st, msgs, post) → (msgs', server_st'). Run by the server once per epoch. It consumes the incoming user messages msgs and the public post post for the current epoch, advances the epoch counter, updates its internal state to server_st', and produces an outgoing message msgs' for every user u.
The users receive the server’s messages every epoch and run three algorithms in order to parse the received messages, process them and update their states and finally, to output messages and posts for every epoch. The three algorithms and two assisting calls are as follows:
User.ProcessServerMessages.Init(st, msgs) → st'. First algorithm run by a user on receiving its messages for the epoch from the server. It takes as input the user's local state st, and the received messages msgs.
User.ProcessServerMessages.Intermediate . The processing (and necessary OOB calls) happens in this algorithm. This algorithm is further divided into multiple phases, parameterised by a phase counter. Each of the phases is executed in order, and with oracle access to OOBshare. The user verifies the contents of its parsed state, updates the records it stores for its neighbours and two-hop neighbours, and triggers OOBshare calls or emits a PoM whenever necessary.
User.ProcessServerMessages.End(st) → (st', msgs', post). Final user run algorithm per epoch. The user finalises its state, emits its outgoing messages msgs' that includes messages for the server and messages to be forwarded by the server to its neighbours, and outputs its current post for the epoch.
OOBshare( , ) . A secure out-of-band call from user to a direct neighbour that does not go through the server. If the call aborts. Otherwise the two parties exchange the relevant pieces of state needed by the calling sub-routine to make progress, and update their local states accordingly.
VerifyPoM(serverparams, PoM) → accept/reject. Public verification of a Proof of Misbehaviour against the server parameters. Outputs accept iff PoM is a well-formed proof that the server deviated from its specification.
Resets. If the user needs to reset their key (e.g. because they reinstall the app or get a new device), then this is captured by setting the user state to before User.ProcessServerMessages.Init is called.
A. Kucherenko et al.
4.1 Correctness
The correctness property of sg-FORT captures the guarantee that, in an honest execution of the protocol, every user eventually outputs the post that the server disseminated. More precisely, we require that the post output by any user u at epoch e equals the post provided to the server delay epochs earlier, where delay is a fixed protocol parameter representing the inherent propagation delay.
We formalise this via the game in Figure 4. Both the server and all clients execute the protocol honestly; the only freedom given to the adversary is to choose the environmental inputs: the social graph G, the sequence of posts, a reset set R modelling device loss, and the processing orders. A trusted bookkeeping component runs Setup to generate public parameters, tracks epoch counters and reset constraints, and records each user's output. The adversary wins if any user u outputs a post at epoch that differs from the post the server used at epoch . A scheme is correct if no adversary can win this game.
4.2 Security
sg-FORT security properties are Consistency and Non-frameability.
Consistency Consistency captures security against a malicious server: an adversarial server cannot make two uncompromised users output different posts in the same epoch without being caught. Formally (Fig. 1), the adversary plays the role of the server while the challenger runs the honest clients on a social graph G chosen by the adversary. In each epoch the adversary may compromise a subset of users , subject to the trust assumption that no honest user has more than thresh of its neighbours in C, and may choose the per-user incoming messages, the reset set, and the processing orders. The adversary wins if there exist an epoch e and two uncompromised users u, v with and no PoM generated during the game verifies under VerifyPoM. Consistency thus says: either every honest user agrees on the post, or some honest user produces a publicly-verifiable proof of the server's cheating.
Non-frameability. Non-frameability captures the property that malicious clients cannot frame an honest server. Formally (Fig. 2), the adversary controls the entire client population while the challenger runs the server honestly via Server.Init and Server.ProcessMessages. In each epoch the adversary submits arbitrary incoming messages and a post; the challenger processes them faithfully and returns the resulting outgoing messages. At any point the adversary halts and outputs a candidate PoM*. The adversary wins if VerifyPoM(serverparams, PoM*) = accept. Non-frameability thus says: an honest server cannot be falsely accused — no probabilistic polynomial-time adversary can fabricate a verifying PoM against a server that faithfully followed the protocol.
4.3 Notation used in the security games
We refresh the notation we use in the two figures below. The social graph chosen by the adversary is denoted , with the set of direct neighbours of user and thresh the maximum tolerated number of corrupted direct neighbours per honest user. Each user has a username and a local state initialised by User.Init and updated each epoch by User.ProcessServerMessages and, when needed, by the out-of-band oracle OOBshare. Users generate per-epoch messages and an epoch post , recorded by the challenger as for epoch . The adversary additionally specifies a reset set each epoch, with tracking the most recent reset of user and mingap the minimum allowed gap between two resets of the same user. The honest server is initialised by Server.Init, holds state and public parameters , and processes per-epoch messages via Server.ProcessMessages. Finally, PoM denotes a candidate proof of misbehaviour, public-verifiable via VerifyPoM, which outputs accept or reject.
5 Our solution: Fortress
In this section, we give our instantiation of sg-FORT, which we call Fortress (Forking-Resistant Transparency log Relying on Social graph Structure). We first fix notation and recall the dictionary-commitment primitive on which Fortress relies.
We then describe the protocol at a glance, summarising in prose how users, the server, and the underlying social graph interact across epochs to detect server misbehaviour. Finally, we give the formal specification of Fortress as a tuple of algorithms (Setup, Server.Init, User.Init, NeighborShare, Server.ProcessMessages, User.ProcessServerMessages, VerifyPoM, and OOBshare), instantiating each component of sg-FORT.
5.1 Notation
On each epoch , each user holds a pair of secret and public keys that are used by to sign at the end of epoch . We interchangeably use terms verification and public keys. We denote by a verification key that believes has used to sign messages at epoch . If there is no server misbehavior . If a user updates/resets (terms used interchangeably) at epoch then, the server should send a notification about this update(reset) of user to neighboring user along with the new public key, we denote this combined information and notification by .
Dictionary commitments All the public keys that were used by users to form signatures in epoch t are managed and stored by the server using a dictionary commitment. A dictionary commitment DC = (DC.Setup, DC.Commit, DC.Prove, DC.Verify) lets the server compactly commit
A. Kucherenko et al.
Adversary (Server A)
Challenger (Clients C)
Receive pp.
Parameter generation:
- Run Setup( ) pp.
Setup:
- For each user u:
Choose a social graph G, ,
G, a set of usernames
,
and server parameters
serverparams.
Run .
For each (direct or 2-hop) neighbor pair in G:
Run to let neighbors ex-
change identity information. captures trusted setup assumption
- Store G, serverparams. For each u, store username_u and the up-
dated state . Also store lastreset_u = 0.
-
Initialise curEpoch 0 and mark all users as uncompromised.
-
Return the initial messages to the adversary.
Repeat (each epoch)
Choose a subset
of users to compromise
this epoch.
Compromise users (for each ):
-
Mark each as compromised.
-
Reveal the current state st of each compromised user to the adversary.
-
If there exists u such that more than thresh of the users in are compromised, then abort and the adversary loses. captures trust assumption on social graph
Process epoch:
-
Set curEpoch curEpoch + 1.
-
For each :
If lastreset + mingap > curEpoch, abort and the adversary loses.
captures assumption on minimum gap between resets
Otherwise set (device loss) and set lastreset =
curEpoch.
- For each u:
Choose per-user messages , a
reset set , and
P processing orders
(permu-
tations of G).
,
Run User.ProcessServerMessagesInit( , ).
- For : for each u in order :
Run User.ProcessServerMessagesIntermediateOOB( ) ( ).
- For each u:
Run User.ProcessServerMessagesEnd( ).
- For each u: Record ; if , mark u as un-
compromised.
Receive
and from all
users this epoch.
,
End of epoch:
- Return the outgoing messages and posts
to the adversary.
Adversary wins if all of the following hold:
– there exist an epoch e and two uncompromised users u, v such that ; and
– every PoM generated during the game satisfies VerifyPoM(serverparams, PoM) = reject.
Oracle OOB(u, v): If , return . Otherwise, run using the current challenger-maintained states, and update .
Fig. 1. Consistency security game for sg-FORT, parameterised by the number of intermediate phases P and a minimum of mingap epochs between resets. The adversary controls the server and communicates with the challenger, who manages honest client states.
Adversary (Clients A)
Challenger (Honest Server S)
Receive pp.
Parameter generation:
- Run Setup( ) pp.
Choose a social graph
and a set of usernames
, one
per node.
G,
Setup:
-
Run (server_st, serverparams) Server.Init(pp, G, ).
-
Initialise curEpoch 0 and the server-message transcript .
-
Return serverparams to the adversary.
Repeat (each epoch)
Acting as the collective of (possibly malicious) users, choose per-user incoming messages , post the first epochs, may include User.Init registration messages) and a post post to submit to the server this epoch.
Process epoch:
-
Set curEpoch curEpoch + 1.
-
Run
Server.ProcessMessages(server_st, ) on the adversary-supplied per-user incoming messages and the epoch post post; update server_st server_st'. honest server faithfully follows the protocol
-
Append (curEpoch, ) to T.
-
Return the outgoing messages to the adversary.
Forgery. The adversary halts and outputs a candidate proof of misbehaviour PoM (which may reference any server-issued message recorded in the transcript T).
Adversary wins if VerifyPoM(serverparams, PoM) = accept.
Fig. 2. Non-frameability security game for sg-FORT. The adversary controls all clients and communicates with an honest-server challenger; it wins by producing a PoM that verifies, even though the server has faithfully followed the protocol throughout the game.
A. Kucherenko et al.
to its current key directory (of epoch t) as a short digest . Moreover the dictionary commitment scheme allows the server to produce, for any username , a succinct Proof of Inclusion that the claimed key is the value corresponding to the label in the dictionary committed to by . Anyone can check this proof with DC.Verify(pp,d(t),username_u,pk(u,t),PoI).
The single security property we require of DC is position-binding: it is computationally infeasible to produce a label , a digest , and two proofs that open at to two distinct values. In our setting this means that once the server publishes a server-signed digest , it is bound to a single key per username; any attempt to open to two different keys for the same user will fail to produce the accompanying proofs. Position-binding can be instantiated, for example, from a sparse Merkle tree under a collision-resistant hash. The full syntactic definition, the correctness condition, and the position-binding game appear in Appendix A.
While an honest server is expected to provide the same digest to all users, a malicious server might not. We use to denote the view that user has about digest .
Acceptance flags Users use public keys provided by server, but they do not fully trust them before verification. In order to denote if some value stored by as a public key of at epoch has been verified and thus trusted/accepted by user or not, user stores a flag . For sake of brevity, we denote it as but this still refers to a particular public key considered by for at epoch .
5.2 Protocol at a glance
At a very high level, the protocol runs as follows. At initialization, each user generates a signing key pair and registers the verification key (that we also refer to as public key) with the server; We assume that the direct and 2-hop neighbours securely exchange their correct initial keys in the beginning. In every epoch, the server sends each user a single signed message containing the current digest , the post post , and the keys and PoIs for every ; each user in turn signs its own view under and asks the server to forward this message to all of its direct and 2-hop contacts—which simultaneously vouches for every key has verified using PoI. When receives such a message from a neighbour , it checks signature validity under the key it currently holds for , digest equality , and PoI validity for the keys.
If a user v resets their public key, the server is expected to deliver an Update announcement of the reset and the new public key to every user in , in place of the normal signed view message from v. u marks this key as tentative. If u is a direct neighbor of v, u will accept this key only once the majority-confirmation rule fires: u accepts the new only once at least already-accepted neighbours (none of them reset too recently) have implicitly vouched for the same key by signing the digest containing it. Two-hop acceptance follows transitively through an accepted common neighbor : if is 's two hop neighbor, it will only accept 's new key once it receives a signed digest implying that has already seen it. (This in turn means that either will accept it or will be able to produce a PoM.)
Recall that the goal of this protocol is to show that, within a fixed number of epochs, either all users agree on the same post, or at least one user produces a PoM. To that end it is helpful if we can show the following invariant: if the server ever serves user u the wrong key for one of their neighbors v, then either 1) a PoM is produced or 2) u resets before she has a chance to use v's key in any way that would affect other users; this helps us guarantee that inconsistencies can't propagate through the graph. Note that in the protocol as described so far, the server could for example distribute inconsistent keys (and hence digests) to u and u's neighbors. In the next epoch the server would then be expected to deliver signed views from each user which would reveal this inconsistency. However, there is an exception: if the server claims that some of the users reset, it is not expected to deliver signed views from those users. For example, if the server tells u that all its neighbors reset and vice versa, then all users will continue to use the keys represented by the inconsistent digests for at least one more epoch, and our invariant will not hold. To prevent this each user u will additionally run two threshold checks every epoch: if too many direct neighbors' keys are unaccepted, u invokes OOBshare with enough of them to bring the count below the threshold; if too many of v's neighbours are unaccepted in u's view, u invokes OOBshare with v to cross-check recent digests. Any digest or key mismatch discovered during such invocations yields a publicly verifiable PoM.
A similar issue would occur if we had users output the server's post as soon as it was delivered: it is possible that a server could give inconsistent posts, and then users reset before they detect the inconsistency. To address this instead have the users wait several epochs before outputing each post, as discussed in 4.1; this ensures that they have exchanged enough information to produce a PoM in case of inconsistency.
Finally, a malicious server might falsely update a user's key and distribute this false key to everyone including the user. In this case there would be no contradictory server signed digests to use for a PoM. However the user will be able to clearly detect that the server is misbehaving. In this case we have the user invoke OOBshare with all of their neighbors to distribute their correct keys; these neighbors will in turn include the key corrections along with the digest in their signed view. The key insight here is that it is only important that the user's direct and 2-hop neighbors have the users' correct key, as that is the only thing we use in our protocol, so we do not have to worry about propagating this corrections further.
Observe that, OOBshare invocations occur in exactly the following situations: at a user's own reset (to a non-recently-reset neighbour, plus any recently-reset neighbours), when a user detects that their key is incorrect in the directory, when
A. Kucherenko et al.
a per-neighbour message check locally fails (missing message or bad signature), or when one of the threshold checks fires. In an honest execution most of these triggers do not fire (except the first one), so no reactive OOBshare invocations are made.
Whenever one of the checks above fails in a way that does not reduce to an OOBshare invocation, it yields a Proof of Misbehaviour (PoM) that anyone can verify against the server's public parameters. Concretely, a PoM takes one of three forms: (i) a server-signed triple at some position for which DC.Verify rejects—i.e. the server signed an invalid proof of inclusion against its own digest; (ii) two server-signed epoch-tagged digests and with (two distinct digests claimed by the server for the same epoch ); or (iii) two server-signed reset notifications and for the same user with and . (Recall that by assumption honest users will not rest more than twice per 5 epochs, so an honest server should not allow this.) Any of these is incontrovertible public evidence that the server misbehaved.
5.3 The Fortress protocol
Setup(1λ) → pp. Run pp ← DC.Setup(1λ) and output pp.
Server.Init(pp, G, {username_u}u∈G) → (server_st, serverparams). 1. Generate (sk, vk) ← Sig.Keygen(1λ).
-
Set server_st ← (pp, G, {username_u}u∈G, sk).
-
Set serverparams ← (pp, vk).
-
Output (server_st, serverparams).
User.Init(username, serverparams) → (st, msgs). 1. Generate (sk, vk) ← Sig.Keygen(1λ).
-
Initialise st: , , epoch , st.Pending .
-
Set msgs (username, vk).
-
Output (st, msgs).
NeighborShare( ) . For neighbouring users (direct or two-hop):
-
sends to ; sends to .
-
Each user stores the neighbour's key as accepted: , , and symmetrically.
-
Output .
Server.ProcessMessages(server_st, msgs, post) → (msgs', server_st'). At the boundary between epochs t−1 and t:
-
Advance the epoch counter from t−1 to t.
-
Forward all user-to-user messages from epoch t−1, server-signed.
-
For each user v that submitted a key-update message: if fewer than 5 epochs have elapsed since v's previous allowed update, ignore; otherwise record in the directory D (and call this an allowed update of v at epoch t-1).
-
.
-
For each user u, build as the following record, signed by the server as a single unit under vk (so every named field below is bound atomically to the epoch label t-1 and to every other field in the bundle):
– the epoch-tagged digest ;
- for each : and ;
– for each whose key-update message was allowed (i.e. recorded in ) in step 3 above: Update( , , ) tagged with the epoch in which the key-update message was received;
– the post post(t).
-
Update server_st' ← (D, aux, ).
-
Output (msgs', server_st').
User.ProcessServerMessages.Init(st, msgs) → st'. 1. Parse msgs into st:
(a) the server-signed ;
(b) for every , the key with its PoI and post( );
(c) for every , the digest signed under (the latter either equal to or freshly delivered with an Update notification);
(d) post(t-1) signed by the server.
- Output .
User.ProcessServerMessages.Intermediate_OOBshare(st, Phase) → st'. We give the four phases as state-update rules. Each invocation of OOBshare is realised here as setting the pending slot followed by a state-to-state invocation , with the relevant and taken from Section 5.3. The state of the responder is the state held by in the security game (Fig. 1); any inconsistency surfaced by such an invocation (e.g. two server-signed digests for the same epoch) immediately produces a PoM via the rules of VerifyPoM below.
Phase = 1 (own-key handling).
Case 1 (no reset). 1. .
-
Verify the server’s signatures on every received message; if any verification fails, output the offending signature as part of a PoM together with the conflicting server-signed digest.
-
Identity-fraud precaution. If reset at epoch and the server included some in , then form the correction factor (correct key bound to the wrong server-signed digest) and, for every , set .Pending and invoke OOBshare().
Case 2 (reset). .
-
Generate and set .
-
Pick any that did not reset in the last 5 epochs, set .Pending and invoke OOBshare( ).
A. Kucherenko et al.
- For every that is reported to have reset at epoch or , set .Pending and invoke OOBshare( ).
Phase = 2 (after-fraud delivery and missing direct-neighbour messages).
-
Identity-fraud delivery. Let be the neighbour signatures on collected during Phase 1. For every , set .Pending and invoke OOBshare( ).
-
Missing direct-neighbour digest. For every from which neither an Update notification nor a digest signed under was received, set .Pending and invoke OOBshare( ).
Phase = 3 (missing two-hop-neighbour messages).
- For every such that there exists , if neither an Update notification nor a digest signed under was received, set .Pending and invoke OOBshare( ) to fetch 's digest as recorded by .
Phase = 4 (per-neighbour processing and threshold checks).
For each :
Case 1 (digest received). Let be the signature on .
-
If does not verify under , set .Pending and invoke OOBshare( ).
-
If , output a PoM consisting of both server-signed digests.
-
Verify via DC.Verify; if it rejects, output a PoM consisting of the server-signed triple .
-
Set .
-
Case 1.1 ( ). If no Update( ) was received, retain Accept( ) Accept( ). Otherwise, count the users that did not update in the last 3 epochs and have Accept( ) = True. If at least such exist, set Accept( ) True; otherwise set .Pending and invoke OOBshare( ).
-
Case 1.2 ( via ). If Accept( ) = True, retain it. Otherwise, if 's last reset was at epoch or earlier, Accept( ) = True, and , set Accept( ) True.
Case 2 (update received). 1. Set the key from Update( ).
-
Set Accept( ) False.
-
Verify via DC.Verify; on rejection, output the corresponding PoM.
-
Case 2.1 ( ). If also reset at , or if has another update less than 5 epochs ago, or if , set .Pending ( , KeyAdoption, ) and invoke OOBshare( , ).
-
Case 2.2 ( via ). Under the same conditions as Case 2.1, set .Pending ( , KeyAdoption, ) and invoke OOBshare( , ).
Threshold check on direct neighbours. Let . If , pick any such neighbours and, for each, set .Pending and invoke OOBshare( ).
Threshold check on two-hop neighbours via a common direct neighbour w. Symmetrically: if more than neighbours of are unaccepted in 's view, set .Pending and invoke OOBshare( ).
User.ProcessServerMessages.End(st) → (st', msgs', post). 1. Set post ← post(t-1).
-
Build to contain: the user's own view signed under , with a server-routing request to deliver to all ; if reset this epoch, additionally a KeyUpdate( ) with a request to add the new key to the directory.
-
Advance epoch , and set .
-
Output .
VerifyPoM(serverparams, PoM) → Accept/Reject. A valid PoM is one of:
-
a server-signed triple at some position v with DC.Verify(pp, d, v, pk, PoI) = Reject;
-
two server-signed epoch-tagged digests and with ;
-
two server-signed Update notifications Update( ) and Update( ) for the same user with and .
Output Accept iff one of these patterns matches and every server signature in the PoM verifies under vk.
OOBshare( , ) . The request that wishes to issue in OOBshare is recorded in a dedicated slot .Pending = of 's state, where is the intended responder, is one of the request types listed below, and is the associated parameter. The first step of OOBshare is to parse this slot; the response, when produced, is written into the relevant slot of and any side-effect on the responder is written into . OOBshare proceeds as follows.
-
Parse the pending request: read . Pending. If . Pending = or , return unchanged.
-
Dispatch on , as described below.
-
Clear . Pending and output the updated states.
The cases for are:
Issued by a user u that has just reset. The responder v reads from the public keys
A. Kucherenko et al.
and the last three digests and posts , and writes them into the corresponding slots of .
. Issued by when neighbour is reported to have reset within the last two epochs. The responder writes into its current , , and the digests and posts of the last three epochs.
. Issued by to verify consistency of a digest at epoch . The responder writes its , together with the server signature on it, into .
. Issued by to confirm a pending key update of in 's view. The responder writes , , the corresponding PoIs, and , into .
. Issued by after detecting that the server inserted a wrong into ; here is a correction factor pairing 's real public key with the server-signed digest that wrongly encodes a different key for . The responder signs under , writes the signature into , and records in that it has co-signed 's correction factor at epoch .
. Issued by to relay the correction factor together with the collected neighbour signatures . The responder verifies each under , and on success writes into in place of the wrong encoded by .
6 Security Proof
This section contains first set of cryptographic and then algorithmic proofs leading to the main security theorem of our protocol.
6.1 Non-Frameability
First we give the proof of non-frameability.
Theorem 1 (Non-frameability). Let be the signature scheme used by the server (with verification key ). For every PPT adversary playing the PoM-soundness game of Fig. 2 against Fortress,
for a PPT reduction whose running time is and which makes signing queries, where is the number of epochs played out by .
Proof. We proceed by a single game hop. Let .
Notation. For each epoch , let denote the directory the honest server has assembled by the end of step 3 of Server.ProcessMessages in epoch , and let be the commitment produced in step 4. For , write and . By correctness of DC (Section A.1),
Game₀. The original game of Fig. 2. A controls all clients, the challenger runs an honest server, and records every outgoing bundle in the transcript , where each is a complete server-signed bundle of the shape prescribed by Server.ProcessMessages step 5 in Fortress (signed atomically under vk, so a server signature in PoM* always covers some bundle m from which any extracted digest, opening entry, or Update notification is taken). A wins by outputting PoM* such that VerifyPoM(serverparams, PoM*) = accept. Recall that PoM* must take one of the forms (F1), (F2), (F3) of VerifyPoM in Fortress, with every server signature in PoM* verifying under vk. By construction, .
Game₁ (signature-forgery abort). Identical to Game₀, except the challenger now aborts (declaring A to lose) if PoM* contains a verifying signature on a message m* that was never signed by the simulated honest server — equivalently, m* ∉ T. Reduction to signature unforgeability. We construct BΣ as follows. BΣ receives a public key vk* from its EUF-CMA challenger together with access to a signing oracle OSign(·) under the secret key the challenger holds for vk*. BΣ runs Setup and Server.Init but substitutes vk* for the server verification key that Server.Init would otherwise have generated internally; BΣ does not know the corresponding sk. It simulates Server.ProcessMessages for A as prescribed; each time the simulation needs the server to sign a bundle m, BΣ queries OSign(m), attaches the resulting signature, and records m in T. When A halts and outputs PoM*, BΣ enumerates every verifying (m*, σ*) pair in PoM*. If at least one such pair satisfies m* ∉ T, BΣ outputs the first such pair as its forgery; otherwise it aborts (the Game₁ abort condition does not trigger, so this contributes nothing to |W₀ - W₁|). The simulation is perfectly distributed as Game₀, and BΣ wins EUF-CMA exactly on those executions where Game₁'s abort triggers. Hence
Analysis of Game₁. In Game₁, every server signature in PoM* covers some bundle that was actually emitted by the honest server. Any object VerifyPoM extracts from a server signature in PoM* — a triple , an epoch-tagged digest , or an Update notification — is therefore a sub-component of some . Since (F1), (F2), (F3) exhaust the accepting patterns of VerifyPoM, it suffices to rule each out in Game₁.
A. Kucherenko et al.
(F1) Invalid proof of inclusion. Suppose for contradiction exhibits (F1): a server-signed triple at position with DC.Verify(pp, d, v, pk, PoI) = reject. The triple is extracted from some bundle : is 's digest field and is one of 's opening entries. By construction of Server.ProcessMessages (step 5 of Fortress), the digest field of is for some epoch , and every opening entry at position in is of the form with . Hence , , , and . Equation (1) then gives DC.Verify(pp, d, v, pk, PoI) = accept, (bu Correctness of DC) contradicting the (F1) condition. Form (F1) is impossible in Game .
(F2) Inconsistent digests. Suppose contains two server-signed epoch-tagged digests and with . Each is the digest field of some bundle in . By construction of Server.ProcessMessages (step 4 invokes DC.Commit exactly once per epoch, and step 5 inserts the resulting into every bundle emitted in epoch ), every bundle in whose digest field carries the epoch tag has that field equal to . Hence , contradicting (F2). Form (F2) is impossible in Game .
(F3) Excessive resets. Suppose contains two server-signed reset notifications and for the same user with and . Each is a sub-component of some bundle in . By construction of Server.ProcessMessages, an notification is inserted into a bundle only when 's key update was accepted in step 3 of epoch , and step 3 accepts at most one update per user in any window of 5 consecutive epochs. Hence the epochs of any two distinct server-emitted notifications for the same differ by at least 5, contradicting and . Form (F3) is impossible in Game .
Since (F1), (F2), (F3) exhaust the accepting patterns of VerifyPoM and all three are impossible in Game ,
Combining (2) and (3),
☐
6.2 Consistency
Next we present intuition for our proof of Consistency, as it contains the bulk of our technical work.
Theorem 2 (Security via Game Hops). Let A be any efficient adversary against the security game of Figure 1, instantiated with the Fortress protocol of Section 5, and let thresh = 1 and mingap = 5. Let . Then there exist efficient algorithms and such that
where is the number of users. In particular, if is EUF-CMA secure and DS is position-binding then .
We prove this via a series of game hops. First we switch to a game which aborts if there is ever a signature forgery under an honest user's signing key. This is indistinguishable based on the EUF-CMA unforgeability of the signature scheme, with a tightness loss of the number of users n because we must guess which user verification key the adversary will forge against. Then we switch to a game which aborts if there are ever two contradictory proofs of inclusion with respect to the same digest; this is indistinguishable from the previous game based on position binding of the dictionary commitment.
Finally, we give an information theoretic proof that in the resulting game the adversary has 0 probability of winning. This is the bulk of our proof; we give the intuition here, and the details appear in Appendix C.1.
6.3 Consistency: Per-epoch storage lemmas
First, we state the storage invariant the rest of the proofs need: at the end of every epoch, every user u holds a server-signed copy of the digest , the keys for all direct and two-hop neighbours v, the corresponding PoIs, and the post . The two cases (no reset / reset) differ only in how u obtains them: directly from the server in the first case, and via an OOBshare call into a stable neighbour in the second. Once this invariant is in place, concluding lemma 1 shown below is the statement that what one user holds, every neighbour also should receive - so any contradiction between two such stored values is automatically server-signed and can potentially lead to PoM.
Lemma 1. Consider a system of users in connected graph G, let A be any efficient adversary against the security game of Figure 1, instantiated with the Fortress protocol of Section 5 where signature or digest forgeries are impossible. Then for any users at every epoch u receives the digest , post( ) and is signed by . The latter value is also signed by the server and is either new if there was v's update notification or set .
6.4 Consistency: Correct-execution lemma
Lemma 2. If in execution of Fortress algorithm (Section 5.3) the server completes all the steps correctly and if resets at epoch t then in the end of epoch u accepts the reset.
This “warm-up” lemma shows that in an honest execution, information about a reset propagates fast — if v resets at epoch t, every accepts the reset by the end of epoch . Importantly, this lemma sets the “what should happen” baseline, all the users expect quick reset delivery or start suspecting some misbehavior.
A. Kucherenko et al.
6.5 Consistency: Eventual PoM in case of incorrect key transmission
We proceed with group of theorems that are the heart of the analysis. Here we define inconsistency between two users and show that any inconsistency introduced by a malicious server is detected within a constant number of epochs.
Definition 1. We say that there is an inconsistency between user Alice (A) and Bob (B) at epoch if Alice stores an incorrect key for Bob: or if Bob stores an incorrect key for Alice: . We also say that an inconsistency was passed, if there was inconsistency an epoch before that influenced the current one.
Then, we exhaustively describe all the cases how the first inconsistency could have happened (Observation 2): between either direct or two-hop neighbours, after either an unreported reset, a reset that did happen but was hidden, or a reset that was reported with the wrong key. Then we provide theorems that cover each of the cases with the same conclusion:
If Bob stores an incorrect key for Alice , then either:
-
A PoM is produced within 2 epochs;
-
No messages sent by Bob on this epoch reach their receivers, and exactly on the next epoch Bob resets and receives the correct digest (so-called “Compromise-recovery” scenario).
Lemma 8 (“Compromise-recovery”) covers the only nuance caused by server compromising some users. Indeed, if the server briefly compromises a user, swaps her outgoing messages with correct ones, and then immediately resets her, the inconsistency exists for one epoch but is never observed by anyone else. The lemma checks that in this scenario no neighbor of the compromised user can receive the inconsistency out of her; every possible case end with either the 5-epoch reset gap or the protocol’s OOB trigger after a neighbour reset.
6.6 Consistency: From key consistency to digests & posts consistency
Once keys are consistent across the network (modulo compromise-recovery scenarios that vanish on their own), digests can disagree only if some honest user A stores different from a neighbour B's . But Corollary 1 says that one of them will receive the other's digest, signed by the server, within two epochs — and a server-signed contradiction is itself a PoM. The extra epochs in the theorem statement are exactly the slack needed for a recently-reset user to refetch state through an OOBshare call before being expected to compare digests.
Theorem 3. Consider a system of users in connected graph G, let A be any efficient adversary against the security game of Figure 1, instantiated with the
Fortress protocol of Section 5 where signature or digest forgeries are impossible. Then for any epoch and for any two users , either of the following happens:
– at epoch u and v store correct digests and post: , post( ) = post( );
– PoM is generated at epochs or ;
This concludes the main statement of our paper - with Fortress protocol, regardless of server's actions: either in every epoch, all users output the same post, or a publicly verifiable Proof of Misbehavior is produced.
7 Conclusion and future work
In this work we show that transparency schemes can be achieved without any trusted third party at all. Our Fortress protocol is the first transparency protocol whose consistency guarantees rely solely on the social graph together with occasional out-of-band calls between real-world contacts. Importantly, if the server behaves honestly, then OOB calls are mostly invoked only at time when some user resets, so the amount of such calls is pretty minimal. We believe our feasibility result opens up a new direction in the research of building BB transparency systems.
While our security proof relies on several simplifying assumptions, we believe the protocol provides a solid foundation that can be carefully adapted to relax each of them without fundamentally altering its structure. Specifically, the full-synchrony and users-always-online assumption could potentially be weakened by decoupling acceptance of an update from a fixed two-epoch boundary — e.g., accepting a change only once a sufficient number of trusted common neighbors have confirmed the same digest. The static d-regular graph assumption appears tractable: variable degrees can be accommodated by adapting update acceptance threshold to each user's degree, and additions or removals of neighbors can be handled through targeted exchanges and, when necessary, a small number of OOB calls. Finally, relaxing universal honesty and threshold of compromised users per neighborhood is a delicate direction, and likely requires a quantitative analysis of how security degrades with the fraction of dishonest or compromised users, possibly tunable through protocol parameters such as d or the frequency of OOB calls.
A separate direction concerns user privacy. Our protocol relies on each user verifying updates against their two-hop neighbors, which currently requires partial knowledge of the two-hop neighborhood. A natural mitigation is to route two-hop verification through a dedicated key pair, separate from the user's primary identity key, so that two-hop contacts do not directly learn each other's main identifiers. Such a scheme does not achieve full unlinkability, since an adversarial server or correlated metadata across epochs could still leak partial information about the two-hop graph, and a rigorous treatment of privacy in this setting is an interesting direction for future work.
We leave a thorough treatment of these directions to future work.
A. Kucherenko et al.
References
-
Al-Bassam, M., Meiklejohn, S.: Contour: A practical system for binary transparency. In: International Workshop on Cryptocurrencies and Blockchain Technology (CBT), 2018. Springer (2018)
-
Blum, J., Booth, S., Chen, B., Gal, O., Krohn, M., Len, J., Lyons, K., Marcedone, A., Maxim, M., Mou, M.E., Namavari, A., O'Connor, J., Rien, S., Steele, M., Green, M., Kissner, L., Stamos, A.: E2e encryption for zoom meetings. White Paper (2023)
-
Brorsson, J., Pagnin, E., David, B., Wagner, P.S.: Consistency-or-die: Consistency for key transparency. Cryptology ePrint Archive, Paper 2024/879 (2024), https://eprint.iacr.org/2024/879
-
Chase, M., Deshpande, A., Ghosh, E., Malvai, H.: Seemless: Secure end-to-end encrypted messaging with less trust. In: Proceedings of the 2019 ACM SIGSAC Conference on Computer and Communications Security CCS. ACM (2019)
-
Chen, B., Dodis, Y., Ghosh, E., Goldin, E., Kesavan, B., Marcedone, A., Mou, M.E.: Rotatable zero knowledge sets: Post compromise secure auditable dictionaries with application to key transparency. In: Advances in Cryptology - ASI-ACRYPT 2022. Springer (2022)
-
Civit, P., Gilbert, S., Gramoli, V.: Polygraph: Accountable Byzantine agreement. In: Proceedings of the 41st IEEE International Conference on Distributed Computing Systems (ICDCS). pp. 403–413 (2021)
-
Haeberlen, A., Kuznetsov, P., Druschel, P.: PeerReview: Practical accountability for distributed systems. In: Proceedings of the 21st ACM Symposium on Operating Systems Principles (SOSP). pp. 175–188 (2007)
-
Hafezi, H., Shirzad, A., Bünz, B., Bonneau, J.: IronDict: Transparent dictionaries from polynomial commitments. Cryptology ePrint Archive, Paper 2025/1580 (2025), https://eprint.iacr.org/2025/1580, to appear at USENIX Security 2026
-
Hu, Y., Hooshmand, K., Kalidhindi, H., Yang, S.J., Popa, R.A.: Merklé 2: A low-latency transparency log system. In: 2021 IEEE Symposium on Security and Privacy (SP). pp. 285–303. IEEE (2021)
-
Lamport, L., Shostak, R., Pease, M.: The Byzantine generals problem. ACM Transactions on Programming Languages and Systems 4(3), 382–401 (1982)
-
Laurie, B., Langley, A., Käper, E.: Certificate transparency. RFC 6962, 1–27 (2013)
-
Laurie, B., Messeri, E., Stradling, R.: Certificate transparency version 2.0. RFC 9162 (2021). https://doi.org/10.17487/RFC9162, https://www.rfc-editor.org/rfc/rfc9162
-
Lawlor, S., Lewi, K.: Deploying key transparency at WhatsApp. https://engineering.fb.com/2023/04/13/security/whatsapp-key-transparency/ (2023)
-
Malvai, H., Kokoris-Kogias, L., Sonnino, A., Ghosh, E., Oztürk, E., Lewi, K., Lawlor, S.F.: Parakeet: Practical key transparency for end-to-end encrypted messaging. In: 30th Annual Network and Distributed System Security Symposium, NDSS 2023, San Diego, California, USA, February 27 - March 3, 2023. The Internet Society (2023), https://www.ndss-symposium.org/ndss-paper/parakeet-practical-key-transparency-for-end-to-end-encrypted-messaging/
-
Meiklejohn, S., Kalinnikov, P., Lin, C.S., Hutchinson, M., Belvin, G., Raykova, M., Cutter, A.: Think global, act local: Gossip and client audits in verifiable data structures (2020)
-
Melara, M.S., Blankstein, A., Bonneau, J., Felten, E.W., Freedman, M.J.: CONIKS: Bringing key transparency to end users. In: 24th USENIX Security Symposium, USENIX Security 2015. pp. 383–398. USENIX Association, Washington, D.C. (Aug 2015), https://www.usenix.org/conference/usenixsecurity15/technical-sessions/presentation/melara
-
Melnikov, A., Mahy, R.: IETF Key Transparency (draft charter). https://data tracker.ietf.org/doc/charter-ietf-keytrans/ (2023)
-
Newman, Z., Meyers, J.S., Torres-Arias, S.: Sigstore: Software signing for everybody. In: ACM CCS 2022. pp. 2353–2367 (2022). https://doi.org/10.1145/3548606.3560596
-
Sheng, P., Wang, G., Nayak, K., Kannan, S., Viswanath, P.: BFT protocol forensics. In: Proceedings of the 2021 ACM SIGSAC Conference on Computer and Communications Security (CCS). pp. 1722–1743 (2021)
-
Tyagi, N., Fisch, B., Zitek, A., Bonneau, J., Tessaro, S.: Versa: Verifiable registries with efficient client audits from rsa authenticated dictionaries. In: Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security. pp. 2793–2807 (2022)
-
Tzialla, I., Kothapalli, A., Parno, B., Setty, S.: Transparency dictionaries with succinct proofs of correct operation. In: Proceedings of the ISOC Network and Distributed System Security Symposium (NDSS) (2022)
-
Yadav, T.K., Gosain, D., Herzberg, A., Zappala, D., Seamons, K.: Automatic detection of fake key attacks in secure messaging. In: Proceedings of the 2022 ACM SIGSAC Conference on Computer and Communications Security. pp. 3019–3032 (2022)
-
Yuan, E.S.: Zoom acquires keybase and announces goal of developing the most broadly used enterprise end-to-end encryption offering. https://blog.zoom.us/zoom-acquires-keybase (2020)
-
Zimmermann, P.R.: The Official PGP User's Guide. MIT Press (1995)
Generative AI Usage
In accordance with ACM’s and Eurocrypt’s policy, we disclose the use of generative AI tools in the preparation of this paper. Specifically, we used Github co-pilot with Claude Opus 4.6 and 4.7 and Claude Code with Claude Opus to assist with the following tasks:
– We used the tool to improve the clarity, grammar, and style of paragraphs that we had already drafted ourselves. The underlying ideas, structure, and technical content were authored by us; the tool was used only to refine wording.
– Some figures in the paper were initially produced by the tool based on detailed descriptions and specifications written by the authors. The authors then reviewed each figure for technical correctness and, where necessary, edited or regenerated them to ensure accuracy.
– For the proofs in section C.1, the authors first wrote out the full proof and then asked the tool to produce a first draft of the accompanying high-level intuition. These drafts were subsequently reviewed and substantially rewritten by the authors to ensure that the intuition correctly reflected the formal argument.
A. Kucherenko et al.
– For the non-frameability proof (Theorem 1), and the cryptographic game hops in C which are very straightforward, the AI produced a first draft independently, and the authors revised it by hand to ensure correctness.
All AI-generated content was manually verified by the authors. In particular, technical claims, proof intuitions, and figures were cross-checked against the underlying formal results, and any inaccuracies introduced by the tool were corrected. The authors take full responsibility for the final content of the paper.
The tool was not used to generate novel technical contributions, theorem statements, or experimental results.
A Dictionary Commitment
We will use this commitment to concisely represent the current claimed public keys for each user. Note that these may not be correct if the server is dishonest. Each user will check whether this commitment is consistent their keys and with any knowledge (e.g. from an OOB call) of those of their neighbors. They will then sign it along with any corrections they know of - this can then be distributed to their neighbors as a concise way of ensuring that all neighbors' views of one another's keys are consistent even in the face of an adversarial server.
Definition 2 (Dictionary Commitment). A dictionary commitment is a tuple of algorithms DC = (DC.Setup, DC.Commit, DC.Prove, DC.Verify):
DC.Setup(1^λ) → pp: Takes the security parameter λ and outputs public parameters pp. These parameters are used implicitly by all other algorithms.
DC.Commit(pp, D) → (d, aux): Takes a finite dictionary (mapping labels to values), and outputs a short digest d together with auxiliary state aux (e.g. the full Merkle tree) that will be needed later to generate membership proofs.
DC.Prove(pp, aux, ) : Takes the auxiliary state and a label , and outputs a proof of inclusion showing that is the value associated with label in the dictionary committed to in d.
DC.Verify(pp, d, , v, ) accept/reject: Takes a digest, a label, a claimed value, and a proof, and outputs accept if is a valid witness that relative to d, and reject otherwise.
Correctness. Intuitively, correctness says that any membership proof produced by an honest run of the scheme will always be accepted by DC.Verify. Formally, a dictionary commitment is correct if for all , all dictionaries , and all :
where , , and .
Looking ahead, in our protocol the server will call DC.Commit at the end of each epoch to produce the current epoch digest, and will call DC.Prove to generate the proof of inclusion PoI that is sent to each user. A user who wishes to check that their entry is correctly recorded in the directory runs DC.Verify.
Notation. For conciseness, we write to denote a proof such that DC.Verify(pp, d, username, vk, ) = accept, and we write to assert that this verification accepts.
A.1 Position-Binding Security Game
The security property we require of the dictionary commitment is position-binding. Intuitively, this captures the idea that once a digest has been published, it unambiguously determines the identity bundle associated with each username: it should be infeasible for any efficient adversary to produce two different identity bundles for the same username that both verify against the same digest. We formalize this via the security game in Figure 3.
Adversary A
Challenger
Receive pp.
Setup:
-
Run pp DC.Setup( ).
-
Send pp to A.
Output a label , a digest , two values , and two proofs .
d, ,
,
Winning check:
A wins if all of the following hold:
-
DC.Verify(pp, d, , , ) = accept;
-
DC.Verify(pp, d, , , ) = accept.
Fig. 3. Position-binding security game for a dictionary commitment DC.
Definition 3 (Position-Binding). A dictionary commitment DC is position-binding if for every efficient adversary A,
Remark 1. This can be instantiated using a sparse Merkle tree. For example, we can use the ZKS construction from [4]. Note that we are not considering privacy in this work, so we can actually remove the VRF from this construction.
B Non-frameability
We formalise the requirement that an honest server cannot be falsely accused by a PoM that verifies under VerifyPoM. The full game is depicted in Fig. 2; we recall it here in prose, instantiated against Fortress.
A. Kucherenko et al.

Adversary wins if:
– there exist a user u and an epoch such that .
Oracle OOB(u, v): If , return . Otherwise, run OOBshare(u, v) using the current challenger-maintained states, and update .
Fig. 4. Correctness game for sg-FORT, parameterised by the detection delay , the number of intermediate phases P, and a minimum of mingap epochs between resets. The honest server and honest clients execute the protocol faithfully; the adversary controls only environmental inputs (social graph, posts, resets, and processing orders).
Parameter generation. The challenger runs and hands pp to the adversary.
Setup. The adversary chooses a social graph and a username assignment , one per node. The challenger initialises the server by running , initialises a server-message transcript and the epoch counter , and returns to the adversary.
Per epoch. The adversary, acting on behalf of all (possibly malicious) users, submits per-user incoming messages and a post post. (In the early epochs these incoming messages may include User.Init registration messages and the per-epoch KeyUpdate submissions produced by User.ProcessServerMessages.End.) The challenger increments curEpoch, runs Server.ProcessMessages(server_st, ) honestly, updates server_st server_st', appends (curEpoch, ) to T, and returns the outgoing messages to the adversary.
Forgery. At any point the adversary may halt and output a candidate PoM. The PoM may freely reference any server-issued message recorded in T. The adversary wins if VerifyPoM(serverparams, PoM) = accept — i.e., PoM matches one of the three forms of VerifyPoM in Fortress (invalid PoI; two distinct digests for the same epoch; or two reset notifications for the same user less than 5 epochs apart) and every server signature in PoM verifies under vk.
C Consistency Proof
Theorem 4 (Security via Game Hops). Let A be any efficient adversary against the security game of Figure 1, instantiated with the Fortress protocol of Section 5, and let thresh = 1, delay = 3, and mingap = 5. Let . Let E be the maximum number of distinct signing keypairs any single honest user generates (i.e. 1 plus the maximum number of resets per user). Then there exist efficient algorithms and such that
where is the number of users. In particular, if is EUF-CMA secure and DS is position-binding then .
Proof. We proceed via a sequence of three games , all played with the same adversary . Each game is identical to the previous one, except that it adds an abort condition that triggers precisely when would otherwise need to break one of our two cryptographic primitives. We write for the event that wins game .
A. Kucherenko et al.
Game (original game). is the security game of Figure 1, played exactly as written. By definition, .
Game (abort on signature forgery). is identical to with one additional rule:
SIG-Abort. Whenever any honest user processes an incoming message that carries a valid signature under some other user 's current verification key , the challenger checks whether ever issued as part of an honest protocol step. If not — i.e. if is a forgery — the game immediately aborts and loses.
Transition (Lemma 3).
The two games are identical until SIG-Abort fires, so . We construct that reduces to the EUF-CMA advantage; the reduction is given in Lemma 3 below.
Game (abort on position-binding break). is identical to with one additional rule:
PB-Abort. Whenever any honest user w calls DC.Verify(pp, d, username, vk, ) = accept and there exists another honest user (or w itself at a different point) that previously obtained DC.Verify(pp, d, username, vk', ) = accept with for the same digest d and username username, the game immediately aborts and A loses.
Transition (Lemma 4).
Identical argument: games agree until PB-Abort fires, and reduces to .
is unwinnable (Lemma 5).
Under the two abort rules, all signatures received by honest users are genuine, and no digest can be opened to two different public keys for the same username. We show in Lemma 5 that these two guarantees together make it impossible for A to cause two uncompromised users to disagree on their posts without producing a valid PoM in .
Combining.
It remains to prove the three lemmas.
Lemma 3 ( ). Let denote the maximum number of distinct signing keypairs any single honest user generates over the course of the game (i.e. 1 plus the maximum number of resets that any user performs; since mingap , we have where is the number of epochs). Then
Proof. We build as follows.
-
Setup. receives a challenge verification key from the EUF-CMA challenger. It picks a target user index and a target keypair index , each uniformly at random and independently. Index refers to user 's initial keypair; index refers to the keypair produced at 's -th reset. embeds as the verification key for user 's -th keypair. All other keypairs for all users (including the remaining keypairs of user ) are generated honestly via Sig.Keygen.
-
Simulation. runs faithfully. Whenever an honest protocol step requires user to sign a message while using their -th keypair, queries its EUF-CMA signing oracle to obtain and uses that signature. Signing requests for user under any other keypair are answered with the honestly generated secret key for that keypair.
-
Extraction. If SIG-Abort fires because a forged message under some honest user 's -th keypair is accepted, and , then outputs the forgery to its EUF-CMA challenger.
Note that SIG-Abort can only fire if the adversary produced a valid signature under some honest user's verification key for a message that user never signed under that key. Let be the user index and keypair index of the forged key; our guess is correct with probability . Since we answer all signing queries for user 's -th keypair faithfully via the EUF-CMA oracle (and all other keypairs are simulated with honest secret keys), the simulation is perfect. Therefore
A. Kucherenko et al.
Rearranging gives
Since n and E are both polynomial in , a negligible EUF-CMA advantage implies negligible abort probability.
Lemma 4 .
Proof. We build that interacts with the position-binding game of Figure 3 as follows.
-
Setup. receives from the challenger. It then sends to the adversary as the output of Setup in the Consistency game.
-
Simulation. runs the rest of faithfully, halting if SIG-Abort fires (which occurs with negligible probability by Lemma 3).
-
Extraction. If PB-Abort fires because two calls
both occurred for honest users, outputs to the position-binding challenger.
Both and are valid proofs, and the output is a winning transcript for the position-binding game. Therefore
Lemma 5 ( is unwinnable). .
This we will prove in the following section.
C.1 Algorithmic proof
We pay reader's attention that some of theorems stated in this section were already formulated in the main part of the paper and thus are not always have augmenting numbering.
Reminder about communication at epoch t:
– At the end of epoch t user u sends messages signed by and if u did not reset at epoch t than .
– For all the messages u receives at epoch t from a user v, u should verify that they are signed correctly with . This value is either set to stored before, or set to a value just received from a server in case of update notification.
Lemmas about the execution of the protocol on each epoch
Lemma 6. If a user u did not reset at epoch , then in the end of epoch for any , u stores , , as well as post( ) all signed by the server.
Proof. In the beginning of each epoch u receives all this information from the server or calls OOB to the respective neighbor in User.ProcessServerMessagesIntermediateOOBshare, phase “Precaution in case of server’s misbehavior”.
Lemma 7. If user u resets at epoch , then in the end of epoch for any , u stores , , as well as post( ) all signed by the server.
Proof. In the middle of epoch u calls OOB some user who did not reset in the last epochs (i.e 5 epochs) in User.ProcessServerMessagesIntermediateOOBshare phase “Precaution in case of server’s misbehavior”. By previous lemma for any w is aware of , , , ), post( ) signed by the server. They are thus transmitted to u and stored respectively as , , post( ), , ).
Lemma 1. Consider a system of users in connected graph G, let A be any efficient adversary against the security game of Figure 1, instantiated with the Fortress protocol of Section 5 where signature or digest forgeries are impossible. Then for any users at every epoch u receives the digest , post( ) and is signed by . The latter value is also signed by the server and is either new if there was v's update notification or set .
Proof. Combines lemmas 6 and 7.
Correct execution of the protocol
observation 1. If protocol described above is executed correctly by both server and all clients, then on every epoch digests stored by any two users are equal; and if user resets on epoch , then all users in receive this update correctly at epoch (but may not have accepted it yet).
Lemma 2. If in execution of Fortress algorithm (Section 5.3) the server completes all the steps correctly and if resets at epoch then in the end of epoch accepts the reset.
Proof. First, we observe if resets at , then at epoch all users receive the reset of . It is received directly from the server together with the current digest if user did not reset at epoch . Or if resets at , then still there is at least one of other users in who did not reset at , got
A. Kucherenko et al.
reset of v from the server and after being reached by w OOB got the reset of v. So also, at the end of epoch all users in send confirmation of reset to each other.
Afterwards, if does not update at epoch , then accepts the reset either by calling OOB or by receiving enough digests from users in with public keys accepted by . If resets at , immediately calls OOB one of the direct neighbors , gets to know about reset of and calls OOB, thus accepting the reset.
This concludes the proof that for any reset at epoch , at epoch sets .
Now we can use these results to detect misbehavior when incorrectness in public key transmission happens.
Incorrect transmission of public keys
Definition 1. We say that there is an inconsistency between user Alice (A) and Bob (B) at epoch if Alice stores an incorrect key for Bob: or if Bob stores an incorrect key for Alice: . We also say that an inconsistency was passed, if there was inconsistency an epoch before that influenced the current one.
In this section, we show that if there is any inconsistency, then either 1) inconsistent key in the very next epoch will stop being used (users storing them will reset); or 2) it will be detected and users will generate PoM.
First, we look at a special case that causes option 1).
Definition 4. Consider a situation when the server compromises user Alice(A), A gets incorrect digest from the server at epoch , the server instead of messages of A sends to all messages replaced with those of correct information and digest, and A resets at epoch . We call this a “Compromise-recovery” scenario.
Lemma 8. If “Compromise-recovery” scenario happens and there were no inconsistencies before epoch then either all the inconsistencies of Alice(A) at epoch will be never passed to any other user and will disappear at epoch , or PoM is generated at epoch .
Proof. Let’s assume contradictory and consider the first time when such inconsistencies were passed to some other user from A. Since messages of A don’t reach any of her neighbors at epoch and get erased when A resets at epoch , the only way for such inconsistencies pass is when some Bob reset at epoch and calls A OOB.
Let's consider some inconsistency that was passed to B: for some Carol ( ) . Since there were no passed inconsistencies before , . Since A is compromised, C as a direct neighbor cannot be compromised. So if C reset but A did not get the reset notification it would be detected. Therefore for such inconsistency to happen A should have received that she passes to B in OOB call after his reset. So B calls C OOB and generates PoM.
Now, we will consider the first inconsistency that may have possibly be passed to the next epochs and describe cases how it could have happened.
observation 2. We consider that this inconsistency happen at epoch . Since inconsistency happens between neighbors, they are either direct, or two-hop. We first assume that it happened between direct neighbors Alice (A) and Bob ( ) such that Bob stores an incorrect key for Alice: .
– Case 1: Alice does not reset at epoch t and neither server sent any reset notification about Alice to Bob at epoch .
– Case 2: Alice resets at epoch t, but at epoch Bob did not receive any information about it.
– Case 3: At epoch Bob received a reset message of Alice with incorrect new key: (Alice could have had reset of not).
Further, we consider the case if the first inconsistency happen between two-hop neighbors Alice and Carol (C) such that they both have direct neighbor Bob. We also break it into sub-cases similar to Cases 1-3.
Case 4: at epoch Carol stores .
– Case 4.1: Alice did not reset at epoch t and neither server sent any reset notification about Alice to Carol at .
– Case 4.2: Alice resets at epoch t but Carol did not receive any update message about Alice at epoch .
– Case 4.3: At epoch Carol received a reset message of Alice with incorrect new key: (Alice could have had reset of not).
Now, we step by step prove that if any of these cases happen, Proof of Misbehavior(PoM) will be generated.
Case 1
Theorem 5. Consider to be the first epoch when direct inconsistency happens. Then it is impossible that it happens between some Alice and Bob such that Alice does not reset at epoch t and neither server sent any reset notification about Alice to Bob at epoch .
Proof. If Bob did not update at , then by default and since we assumed that this is the first epoch when the first inconsistency happens, then .
If Bob updates at , he calls OOB some direct neighbor Carol who did not update recently and sets , where the later equalities hold because of consistency between Alice and Carol at and the fact that both of them did not update in the last two epochs.
Thus, Bob stores correct key for Alice.
☐
A. Kucherenko et al.
Case 2
Theorem 6. If is the first epoch when direct inconsistency happens, it happens between Alice and Bob, Alice did just reset (at epoch t), but Bob did not receive any reset message for Alice, then at epoch , Alice, Bob or some of their direct neighbors generates a Proof of Misbehavior.
Proof. From Lemma 1, we know that user B at epoch either:
– resets and calls OOB some that did not reset at last 5 epochs. From theorem statement we know that Carol did not share to Bob any information about , so because Carol did not update recently and at epoch had consistent communication with Alice. Also Carol expects message from Alice at epoch signed by , but Alice does not store it anymore because of update. Since Carol received message of Alice at , server should have compromised Alice's device.
– receives a message as if from A signed by . Since Bob did not receive any reset message for Alice from server, he sets and thus this message should have been signed by server. This means that server compromised Alice's device.
We see that in both cases the only way not to get a PoM at epoch is for server to have compromised Alice and at the beginning of epoch sent message on her behalf signed with old . In both cases, Bob stored incorrect key with respective digest . Still, at epoch the real Alice expects to get a message with digest from Bob. Then at epoch Alice either: (1) gets the real Bob's message and detects server's misbehavior; or (2) gets message of which by protocol means Alice calling Bob OOB and discovering PoM (either reset was fake, or Bob resets again at with less than 1 epoch of pause, or Alice gets and creates PoM).
Case 3
Theorem 7. If epoch is the first time when inconsistency between direct neighbors happen, in particular between Alice and Bob, when Bob received a message about reset but with an incorrect public key of Alice (whether Alice actually reset at t or not), then
– Either this inconsistency will never be passed to any other user and Bob resets at epoch (“Compromise-recovery scenario”);
– Or PoM will be generated at epoch or .
Proof. Case 3.1: B resets at epoch . B received OOB info at epoch that A updated at epoch t with incorrect signature of A. Then by protocol, since Bob sees his neighbor’s update within 2 epochs difference with his own, Bob calls Alice OOB at epoch and generates a PoM.
Case 3.2: B resets at epoch . We know that when B at received information about reset of A at t, B sends this info to all of its direct neighbors. Then at epoch after resetting, he calls OOB a neighbor . Since v was chosen not to update in the last several epochs, three cases are possible.
Case 3.2.1: At epoch v correctly received message of B sent at about update of A at epoch t, signed by the server, and transmits it OOB to Bob. Bob realizes that Alice reset two epochs before him, by protocol calls her OOB at epoch and creates a PoM with incorrect message of Alice's update (if Alice did not update on , - with different digests for epoch t, if she did update - with proof of two updates within less than 5 epochs).
Case 3.2.2: v did not receive message of B at or v received incorrect message about Bob's update. Then, when Bob calls him OOB at he generates PoM showing message from server about Bob's update and real update with less than 5 epoch difference.
Case 3.2.3: Server forged Bob's signature and sent message on behalf of Bob at epoch , by previously compromising him. Then either (1) all the messages of Bob sent at epoch were blocked and server sent correct digests and thus all correct keys - then the inconsistency is never passed or influencing other communication - as per Lemma 8; or (2) at least one user C received and stored the actual message from Bob sent at epoch . It was delivered to C and again sent by C to B at epoch . We know that if B received the correct message from C at he would detect inconsistency with what v shared to him OOB. By Lemma 1 B should have received a message from C. If B received he would call C OOB and detect PoM because of wrong reset message. So, the only option left is that B set and at epoch B received a message as if from C, but from wrong .
– If . We know by protocol, that did not reset after epoch . By consistency on epochs before we have . was not compromised recently, because only one user in extended neighborhood could have been compromised at the same time. Thus if stored incorrect it means that received or transmitted it to and that called OOB at epoch (because of neighbor's reset with less than 2 epochs difference from his own) and detected PoM.
– If - there is , and since previous bullet point was proven, as direct neighbor of had received correct digest as from at beginning of . So at epoch users and store different digests . Also, consider epoch and each - and should have received digests from them. So for each either or at epoch should have received a wrong message from , or received a message about reset of . At epoch communication of with both and was not inconsistent, so inconsistency should have happened
A. Kucherenko et al.
within last two epochs and new keys couldn't have been updated. If there are at unaccepted keys in for , then he calls some of them OOB and discovers PoM, otherwise there are unaccepted keys in for and calls OOB at and discovers PoM.
Case 3.3: does not reset at epochs . Then at epoch expects same digests from several such users such that any did not change their keys recently (i.e. 5 epochs) and such that holds . If Bob does not receive enough of such digests, then Bob calls Alice OOB at epoch and generates PoM (either with different digests for epoch , or if Alice updated at or with two updates of Alice within 5 epochs).
Otherwise, Bob received those digests and for each holds . Given that was the first epoch with inconsistency, and given that did not update at epoch we conclude that . It is possible that one of s was under snapshot attack and for him Bob in fact did not have consistent communication, but for all other users and and know correct signatures of each other at epoch . From now on, we consider only those users who had consistent communication with Bob at epochs . We just showed that all those indeed stored a notification about and .
Now we consider several cases regarding if Alice reset at epochs :
– Cases 3.3.1: Alice does not reset at epoch or .
Then and Alice expects a message from all -s at epoch . If she gets correct message from any , she will detect PoM. Otherwise, Alice at epoch has inconsistency for each : . Since epoch is the first epoch with inconsistencies, Alice should have received those incorrect keys within the last two epochs and thus they cannot be accepted yet. There are too many of them and Alice calls OOB at least some of them at epoch or and generates a PoM then.
– Cases 3.3.2: Alice resets at epoch .
Then at epoch she calls OOB a direct neighbor . If it is one of -s, PoM is generated. Otherwise, it is someone who did not update in the last 5 epochs and for each either 1) (and thus is correct) or 2) and because of no inconsistencies before epoch , key is unaccepted. Afterwards, on epoch Alice expects messages from direct neighbors, if she has at least one neighbor out of who fell in the case 1) above, and server did not send any reset for him at , Alice will detect a PoM. Otherwise, for all Alice will either have unaccepted key received from at or from server at . In any way, for each of keys are unaccepted, there is of them, Alice calls at least one of them OOB and detects PoM.
– Cases 3.3.3: Alice resets at epoch
This case is mostly similar to case 3.3.2, as Alice after update at epoch calls direct neighbor and gets information about keys-signatures of users . Just in this case we verify if and conclude that either key is correct and will allow Alice consistent view on message of , or equality does not hold and key is unaccepted. Similarly to case 2.3.2 Alice will call one of OOB after having neighbors with unaccepted keys and discovers PoM.
Case 4
Theorem 8. Consider that epoch is the first time when inconsistency between two-hop neighbors happen, and there were no direct inconsistency at epoch . This inconsistency happened between Alice and Carol with common direct neighbor Bob: Carol stores . Then
– Either this inconsistency will never be passed to any other user and C resets at epoch (“Compromise-recovery scenario”);
– PoM will be generated at epoch or .
Proof. Case 4.1: Alice did not reset at epoch and neither server sent any reset notification about Alice to Carol at . If Carol did not reset at epoch , then proof is identical to that of Theorem 5. If Carol resets at epoch , then she does not store any at epoch and receives from server. Also, at she calls OOB some user , gets to know and also in the beginning of epoch gets from Bob and . First, Carol checks that and ensures it is correct digest. Even if Bob's message was forged by server after Bob was under compromised, still his message of is verified by checking that digest. Also, if server did not send any update for Alice to Carol, then .
Case 4.2: Alice resets at epoch t but Carol did not receive any update message about Alice at epoch . If Carol reset at epoch then she cannot store any public key for Alice on that epoch so there would be no inconsistency. So, Carol did not reset at epoch . Therefore, Carol stores (because of the last Alice's update) and expects for a message from Alice signed by .
If Carol updates at epoch she calls OOB some and gets correct . Then when at she got , and respective PoIs in and , Carol can verify that those keys are indeed included in digests and at epoch expects a message from Alice with signature . If Carol did not update at epoch , then and Carol also expects a message from Alice with this signature at epoch . This signature can be on the message only if Alice was compromised -
A. Kucherenko et al.
because Carol should get some message from Alice at epoch . Alice expects a message from Carol at . Server cannot compromise Carol because her neighbor Alice was compromised recently, so server cannot forge signature of Carol. Then either message sent by Carol at epoch with was delivered correctly and Alice generates PoM, or Alice received wrong . In the latter case, at epoch Alice calls Carol OOB because of update within less than 2 epochs after her own and generates PoM. If Carol did not update at then with two different digests, or otherwise with two messages of Carol's reset at epochs .
Case 4.3: At epoch Carol received a reset message of Alice with incorrect new key: (Alice could have had reset of not). Carol did not reset at epoch - otherwise she does not store any and there is no inconsistency. Thus, at epoch Carol sent to Bob and to all a message with and . And we assumed that no direct inconsistency happened at , so and thus .
Now, we will look at what Bob and Carol get at epoch (in theory both of them expect correct digests from all in ). One of them may be compromised, so we consider all the others:
– If neither nor does not reset at . For each either Bob or Carol did not get their true digest at , so either communication with Bob or Carol is inconsistent for . Since at epoch communication had no inconsistencies, it is possible only by Bob or Carol getting or . If there is more than of such users for Bob, he calls some of them OOB and discovers digest difference, generates PoM. Otherwise, there is more than of such resets for Carol in , she calls Bob OOB and generates PoM.
– If Bob resets at epoch , Carol does not. Then Bob calls OOB some . First option, then Bob also stores a message calls Alice OOB and generates PoM (if Alice did not update at , - then with two different digest, or about two updates in less than 5 epochs). and then proof repeats the previous case, just with v receiving Reset messages from and then transmitting them to B.
– If Carol resets at epoch and OOB gets the same digests as she stored before then we repeat the same reasoning as for the previous two cases.
– Carol resets at and OOB got in the history the digest . If there is not a single user in who got her messages sent on and all the messages were with correct digest and sent by server after compromising Carol, then the inconsistency is never passed or influencing other communication - as per Lemma 8. We consider the case when there is at least one user D who at epoch got Carol's message with . If at epoch Carol correctly gets message of D, then PoM is generated.
So at message was not delivered and Carol did not get (because otherwise OOB call and generation of PoM).
If : at called OOB some user and got incorrect key for . By protocol, did not reset after epoch . By consistency on epochs before we have . was not compromised recently, because only one user in extended neighborhood could have been corrupted by such attack at the same time. Thus if stored incorrect it means that received , or transmitted it to and that called OOB at epoch (because of neighbor's reset with less than 2 epochs difference from his own) and detected PoM.
If - there is , and since previous paragraph was proven, as a direct neighbor of had received correct digest as from at beginning of . So at epoch users and store different digests . Also, consider epoch and each - and should have received digests from them. So for each either or at epoch should have received a wrong message from , or received a message about reset of . At epoch communication of with both and was not inconsistent, so inconsistency should have happened within last three epochs and new keys couldn't have been updated. If there are at unaccepted keys in for , then he calls some of them OOB and discovers PoM, otherwise there are unaccepted keys in for and calls OOB at and discovers PoM.
☐
Consistency of digests and posts Even though above we use digest and related information as a tool to prove the consistency between users' public keys, our final goal is to prove that those exact digest and thus also posts are the same around the network.
Theorem 3. Consider a system of users in connected graph G, let A be any efficient adversary against the security game of Figure 1, instantiated with the Fortress protocol of Section 5 where signature or digest forgeries are impossible. Then for any epoch and for any two users , either of the following happens:
- at epoch u and v store correct digests and post: , post( ) = post( );
– PoM is generated at epochs or ;
Proof. Let's consider first such epoch for which exist two users such that no PoM was generated, but either or . Since the graph is connected, in such a case we can also find two neighbors for whom the same holds. We consider those neighbors and and work with them.
Here we discuss several cases:
A. Kucherenko et al.
– A and B stored the same post and/or digests at epoch and did not reset till epoch . Then they keep holding the same values: , .
– Some A and B did not store the same post and/or digests already at epoch . Either in theorem we consider direct neighbors, here they A and B can also be two-hop neighbors. Since only one of them can possibly be compromised, let's consider that A is not compromised. Then by corollary 1 at epoch B should have received some message with , - either he received a correct message and generates PoM with contradiction with his own value, or A was compromised (that we assumed not to be a case), or there was inconsistency between A and B at (and maybe at ). Following possibility of inconsistencies listed in observation 2 and Theorems 5, 6, 7, 8 we conclude that then either PoM was generated at epoch , or or B was compromised, stored an incorrect key for Alice, resets by epoch and his inconsistent values were never propagated to other users (fully substituted by correct ones with forged signature by server). Thus if no PoM was generated at epochs , , or then at epoch both A and B store , . Bob holds it because he reset and returned to correct values after being compromised and Alice was not being able to be compromised so from the Theorems above should have been consistent with Bob or PoM would be generated.
– A and B stored the same post and/or digests at epoch and but one or both of them reset till epoch . Let's consider, for example, that B resets, calls OOB and asks for history of digests, posts. If they were the same to , , then after OOB call and thus at epoch Bob stores , . But otherwise, at epoch t there was difference in posts/digests between B and C that as we discussed in case above should have been solved out.
D Out-of-band (OOB) calls
In this section we summarize the moments from the protocol when out-of-band (OOB) calls are required and then estimate the necessary and sufficient amount of them.
D.1 Reasons for OOB calls
User u calls a neighbor OOB at epoch t if one of the following occurs:
-
u resets at epoch t;
-
u resets at epoch t and some reset in epoch , , or ;
-
There are more than d/2 direct neighbors of u, whose public keys u didn't accept at epoch t;
-
For some , there are more than common neighbors of and whose public keys didn't accept at epoch ;
-
At the beginning of epoch t, the server failed to deliver some message or part of a message from a neighbor to u.
-
In case of identity fraud attack the user who detects incorrect key posted on her behalf calls OOB all her neighbors and asks them to also call OOB two-hop neighbors to transmit the correct key.
D.2 Necessary amount of OOB calls
First, we note that if any honest user resets their keys, the protocol's consistency goal cannot be achieved without at least one OOB call. The intuition is straightforward: when an honest user Alice resets her key, the server could distribute a fake key on her behalf instead of her real new key, effectively cutting her off from the network. Since she has no OOB channel with any of her neighbors, this misbehavior would go undetected.
Moreover, for reactive use of our transparency system, this OOB call must occur relatively quickly after the update – until the call happens, Alice cannot be sure whether she is correctly connected to the rest of the system. Therefore, for each reset within some constant number of epochs (e.g., 3 or 5), an OOB call must occur. Since resets are infrequent, it is unlikely that any other reset occurs in the system within this window. Thus at least one OOB call is required per reset, giving the following intuitive lower bound: the total number of OOB calls must be at least the total number of resets.
D.3 Amount of OOB calls used by our protocol
The number of OOB calls used by the protocol depends on: (1) the frequency of user resets; (2) the number of neighbors of each user; and (3) the epoch duration. While exact values depend on the specific deployment of our protocol, we estimate them as if the protocol were used for key transparency in a messaging platform (e.g., WhatsApp or Signal).
For the reset frequency: resets can occur due to (a) device replacement (once every 2–3 years), (b) app reinstall (once every several months), or (c) OS or factory reset (once per year). Combining these, we estimate that users reset on average once every couple of months.
For the epoch duration: this depends on message delivery latency and system parameters, and can range from milliseconds to a few minutes. We take a rough estimate of 1 minute per epoch.
For the neighborhood size: it is reported that most users have between 30 and 300 contacts. We therefore take .
With these estimates ( , epoch duration of 1 minute, mean reset interval of one month minutes), we estimate the number of OOB calls of each type described in Section D.1. Exact values can be derived assuming
A. Kucherenko et al.
a Poisson reset process and using probability approximation bounds (e.g., the Chernoff inequality); here we report only the order of magnitude of the respective probabilities.
-
One OOB call is required per reset.
-
Two neighbors reset within 5 epochs (i.e., within 5 minutes): since each reset occurs on average once every minutes, this has probability of order . For each pair of direct neighbors, this is expected to occur once every years.
-
Under correct server execution, each new public key is accepted within 3 epochs (see Theorem 2). The probability that 150 or more of u's 300 direct neighbors reset within the same 3 epochs is negligible – well below .
-
By an analogous argument, this probability is also well below .
-
If the server is honest, this case never occurs.
-
If the server is honest, this case never occurs.
In summary, the dominant source of OOB calls is the first reason: the total number of OOB calls is approximately equal to the total number of resets in the system. It is exactly one of the biggest advantages of our protocol — the estimated amount of OOB calls matches the lower bound and is significantly lower than full OOB gossip communication between all the neighbors on each epoch.
E Previous reviews
We address here received questions from a careful reader raised about the case analysis in the proof of Theorem 2 (Appendix C.1).
Q1: Are the PoMs in Cases 3.2.1 and 3.3.3 reachable? The first one requires Alice to reset again within 5 epochs of her reset at tt, but the security game aborts immediately when this happens — the PoM cannot occur after abort. The second requires two distinct server-signed digests for the same epoch, which is ruled out in . So, it looks like neither branch can be reached. Is that true?
Answer. Whether each branch is reachable does not affect the result. Our main theorem states that in every execution either the game aborts, in which case the adversary loses, or a valid PoM is produced. A branch that can only occur after an abort is therefore already covered. (i) If Alice actually resets twice within mingap epochs, the game of Fig. 1 aborts and the adversary loses. If she does not, then one of the two server-signed Update notifications was fabricated by the server, and the pair is a PoM of form (iii) in VerifyPoM. Either way the adversary does not win. (ii) The abort rules of and cover forgeries of honest users' signatures (SIG-Abort) and two openings of the same digest at the same label (PB-Abort). Neither prevents the malicious server from signing two different digests for the same epoch under its own key. Such a pair is precisely a PoM of form (ii).
Q2: Which protocol step makes Bob call Alice out-of-band in Case 3.3? The trigger “if Bob cannot collect confirming digests, he calls Alice OOB” does not seem to match any protocol line, since Phase 4 Case 1.1 counts over rather than .
Answer. The trigger is Phase 4, Case 1.1, instantiated with and . On receiving , Bob counts users that did not update recently and whose keys he has accepted. Each such has a signed digest checked for equality in step 2 of the same case. If fewer than such exist, Bob invokes OOBshare with Alice. The count is thus over , as in the proof, where .
Q3: Can the adversary keep a majority of neighbours unaccepted by cycling resets? Assumption 5 bounds each user's reset rate, but not the number of distinct neighbours that are simultaneously unaccepted.
Answer. This situation is handled by the two threshold checks of Phase 4. If direct neighbours of are unaccepted, calls of them out-of-band, bringing the count back below the threshold. Symmetrically, if more than neighbours of some are unaccepted in 's view, calls out-of-band (with , in Case 3.3). Each such call either resolves the discrepancy or yields a PoM. Cycling resets therefore does not suspend the argument; it only increases the number of OOB calls. In an honest execution this happens with negligible probability (Appendix F).
Q4: Does the argument of Theorem 5 carry over to two-hop neighbours in Case 4.1? Theorem 5 is stated for direct neighbours, while in Case 4.1 Carol receives Alice's data only via server routing.
Answer. The argument of Theorem 5 does not rely on direct message delivery. It uses only that (a) in the absence of an Update notification a user keeps its stored key, , and (b) epoch is the first inconsistent epoch, so the stored key equals . Both facts hold for every (Lemma 6), and hence for Carol and Alice. To present a different key to Carol, the server must either send an Update notification, which is Case 4.3, or open the digest to a different key for Alice, which is ruled out by PB-Abort in . The sub-case in which Carol herself resets is treated separately in Case 4.1 via her OOB call and the digest check against Bob's message.