Cryptology ePrint Archive: Report 2017/1203

Short Double- and N-Times-Authentication-Preventing Signatures from ECDSA and More

David Derler and Sebastian Ramacher and Daniel Slamanig

Abstract: Double-authentication-preventing signatures (DAPS) are signatures designed with the aim that signing two messages with an identical first part (called address) but different second parts (called payload) allows to publicly extract the secret signing key from two such signatures. A prime application for DAPS is disincentivizing and/or penalizing the creation of two signatures on different payloads within the same address, such as penalizing double spending of transactions in Bitcoin by the loss of the double spender's money.

So far DAPS have been constructed from very specific signature schemes not used in practice and using existing techniques it has proved elusive to construct DAPS schemes from signatures widely used in practice. This, unfortunately, has prevented practical adoption of this interesting tool so far. In this paper we ask whether one can construct DAPS from signature schemes used in practice. We affirmatively answer this question by presenting novel techniques to generically construct provably secure DAPS from a large class of discrete logarithm based signatures. This class includes schemes like Schnorr, DSA, EdDSA, and, most interestingly for practical applications, the widely used ECDSA signature scheme. The resulting DAPS are highly efficient and the shortest among all existing DAPS schemes. They are nearly half of the size of the most efficient factoring based schemes (IACR PKC'17) and improve by a factor of 100 over the most efficient discrete logarithm based ones (ACM CCS'15). Although this efficiency comes at the cost of a reduced address space, i.e., size of keys linear in the number of addresses, we will show that this is not a limitation in practice. Moreover, we generalize DAPS to any N>2, which we denote as N-times-authentication-preventing signatures (NAPS). Finally, we also provide an integration of our ECDSA-based DAPS into the OpenSSL library and perform an extensive comparison with existing approaches.

Category / Keywords: public-key cryptography / signatures, ECDSA, Schnorr, EdDSA, verifiable secret sharing, provable-security, double-spending prevention, non-equivocation contracts, certificate subversion, code-signing

Original Publication (with minor differences): IEEE EuroS&P 2018

Date: received 14 Dec 2017, last revised 28 Feb 2018

Contact author: sebastian ramacher at iaik tugraz at

Available format(s): PDF | BibTeX Citation

Version: 20180228:100513 (All versions of this report)

Short URL:

[ Cryptology ePrint archive ]