From 66914925404a91b9620c41f5b6c3720baa923534 Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Fri, 3 Aug 2018 17:49:46 -0700 Subject: [PATCH] (squash this) indicate what Ethereum does --- docs/architecture/adr-014-secp-malleability.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/architecture/adr-014-secp-malleability.md b/docs/architecture/adr-014-secp-malleability.md index f0db5743d..3351056c6 100644 --- a/docs/architecture/adr-014-secp-malleability.md +++ b/docs/architecture/adr-014-secp-malleability.md @@ -39,6 +39,8 @@ This is a simple check, instead of checking if `s < n`, instead check `s <= (n - An example of another cryptosystem using this is the parity definition here https://github.com/zkcrypto/pairing/pull/30#issuecomment-372910663. +This is the same solution Ethereum has chosen for solving secp malleability. + ## Proposed Implementation Fork https://github.com/btcsuite/btcd, and just update the [parse sig method](https://github.com/btcsuite/btcd/blob/master/btcec/signature.go#195) and serialize functions to enforce our canonical form.