SafetyPin: Encrypted Backups with Human-Memorable Secrets

Emma Dauterman, Henry Corrigan-Gibbs, David Mazières
10/13/2020
cs.CR

Official code: edauterman/SafetyPin (4 stars, C, Apache-2.0, last commit 2026-02-23).

Abstract

We present the design and implementation of SafetyPin, a system for encrypted mobile-device backups. Like existing cloud-based mobile-backup systems, including those of Apple and Google, SafetyPin requires users to remember only a short PIN and defends against brute-force PIN-guessing attacks using hardware security protections.

Show full abstract

Unlike today's systems, SafetyPin splits trust over a cluster of hardware security modules (HSMs) in order to provide security guarantees that scale with the number of HSMs. In this way, SafetyPin protects backed-up user data even against an attacker that can adaptively compromise many of the system's constituent HSMs. SafetyPin provides this protection without sacrificing scalability or fault tolerance. Decentralizing trust while respecting the resource limits of today's HSMs requires a synthesis of systems-design principles and cryptographic tools. We evaluate SafetyPin on a cluster of 100 low-cost HSMs and show that a SafetyPin-protected recovery takes 1.01 seconds. To process 1B recoveries a year, we estimate that a SafetyPin deployment would need 3,100 low-cost HSMs.

View on arXivView PDF

Code Implementations(1)

Apache-2.0
41C, C++Nov 25, 20199 months agoApache-2.0

Similar Papers

Cite this paper

@article{dauterman2020safetypin,
  title  = {SafetyPin: Encrypted Backups with Human-Memorable Secrets},
  author = {Emma Dauterman and Henry Corrigan-Gibbs and David Mazières},
  year   = {2020},
  eprint = {2010.06712},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.06712}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.06712.svg)](https://codeofpaper.com/paper/2010.06712)

Discussion