← Latest papers
💻 computer science

Gyokuro: Source-assisted Private Membership Testing using Trusted Execution Environments

This paper presents Gyokuro, a Source-assisted Private Membership Testing (SPMT) protocol that leverages Trusted Execution Environments (TEEs) to enable efficient, scalable, and privacy-preserving verification of data item inclusion in large databases by proving server progress rather than generating traditional membership proofs.

Original authors: Yoshimichi Nakatsuka, Nicolas Dutly, Kari Kostiainen, Srdjan Capkun

Published 2026-03-25
📖 6 min read🧠 Deep dive

Original authors: Yoshimichi Nakatsuka, Nicolas Dutly, Kari Kostiainen, Srdjan Capkun

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you bought a bottle of medicine, and on the box, there's a QR code. You want to know: "Did the pharmacy actually log this specific bottle's journey in the official government database?"

The problem is, you don't want to tell the government (or the database operator) which bottle you are asking about. If you say, "I'm checking bottle #505," they might realize you have a rare allergy or a specific medical condition. You want to check the record without revealing your secret.

This is the problem Gyokuro solves. It's a new system that lets you verify if something is in a database without telling the database what you are looking for.

Here is how it works, explained through a simple story.

The Cast of Characters

  1. The Source (The Pharmacy): They create the medicine and the QR code.
  2. The Server (The Database): A giant, potentially grumpy librarian who stores all the records. We don't fully trust them; they might hide records or lie.
  3. The Monitor (The Inspector): A third-party watchdog (like a government auditor) who checks the librarian's work to make sure they aren't deleting things.
  4. The Client (You): The person holding the medicine, trying to verify the truth.
  5. The TEE (The Secure Vault): This is the star of the show. Think of it as a magic, unbreakable glass box inside the server's computer. Only the code inside can see what's happening. Even the server owner (the librarian) cannot peek inside or tamper with the box.

The Old Way (Why it was hard)

Previously, to check if your medicine was logged, you had to ask the librarian, "Is bottle #505 here?"

  • The Problem: The librarian now knows you care about bottle #505. If you are a spy or have a secret, you've just been exposed.
  • The Alternative: Some systems tried to hide your question using complex math (like asking for every bottle in the library to see if yours was there), but that was incredibly slow and expensive.

The Gyokuro Solution: The "Time-Stamp" Trick

Gyokuro changes the game. Instead of asking "Is my item here?", you ask, "Has the Secure Vault processed enough items to guarantee mine is in there?"

Here is the step-by-step analogy:

Step 1: The Drop-Off (Upload)

The Pharmacy (Source) hands the medicine to the Secure Vault (TEE).

  • The Vault takes the medicine, puts it in a temporary holding area (a buffer), and gives the Pharmacy a receipt.
  • The Receipt (POR): This receipt says, "I received this medicine at Counter #100." It is signed by the Vault so no one can fake it.
  • Crucial Point: The Vault doesn't put the medicine in the big database immediately. It waits until it has a full box of medicines, then dumps them all in at once.

Step 2: The Big Dump (Storage)

Once the Vault has 100 medicines, it dumps them into the Database.

  • The Vault then turns a Counter from 100 to 101.
  • It also updates a Master Ledger (a hash chain) that proves, "I have processed everything up to this point."

Step 3: You Check In (Testing)

You buy the medicine and get the Receipt (from Step 1). You see it says Counter #100.
You want to know if it's in the database. You don't ask the librarian about your medicine. Instead, you ask the Secure Vault:

  • "Hey Vault, what is your current Counter number?"

The Vault replies with a Proof of Processing (POP): "My current Counter is 105."

Step 4: The Logic (The "Aha!" Moment)

You do the math:

  • My receipt says 100.
  • The Vault says it is now at 105.
  • Conclusion: Since 105 is greater than 100, the Vault must have processed my medicine and dumped it into the database. I don't need to know which slot it's in; I just know it's in there because the counter moved past it.

Step 5: The Safety Net (Consistency Check)

What if the Vault is lying? What if the Vault says "105" but actually deleted your medicine?

  • You ask the Monitor (Inspector) what their Counter is.
  • The Monitor downloads the whole database and calculates its own Counter.
  • If the Vault's Counter and the Monitor's Counter match, you know for a fact that the database is honest and your medicine is inside.

Why is this a Big Deal?

  1. Total Privacy: You never told the database "I care about bottle #505." You only asked for a number. The database operator has no idea what you are checking.
  2. Super Fast: Because you aren't searching through millions of records, and the Vault doesn't have to look up your specific item, the check happens in 7 milliseconds. That's faster than a human blink.
  3. Scalable: It doesn't matter if the database has 100 items or 10 billion items. The time it takes to check is always the same. It's like checking a counter on a wall; it takes the same time whether the wall is 1 foot tall or 1 mile tall.

The "Magic Box" (TEE)

The whole system relies on the Secure Vault (TEE). We trust that the Vault is honest because it's a piece of hardware designed to be unbreakable. Even if the server owner tries to hack it, the Vault won't let them.

  • The Catch: If someone invents a way to break these magic boxes in the future, the system might be vulnerable. But for now, it's the best way to get speed and privacy together.

Real-World Examples

  • Certificate Transparency: Checking if a website's security certificate is valid without the website knowing you are checking.
  • Drug Safety: Verifying a drug's supply chain without revealing your medical condition.
  • Fake News: Checking if a photo was logged by a fact-checker to prove it's real, without revealing which photo you are suspicious of.

In short: Gyokuro is like checking if your package was delivered by looking at the delivery truck's odometer. If the truck has driven further than the point where your package was loaded, you know it's delivered—without ever telling the driver exactly what you were waiting for.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →