summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2018-07-03 01:21:00 -0400
committerbitcoindev <bitcoindev@gnusha.org>2018-07-03 05:21:05 +0000
commit5bb74566a7cc67149a830a1aa7ef8075354b3b7c (patch)
tree3ce9bcd29bb5bdbbbdf775ebcced29798308c682
parent74dd21116cc6595e06d0e7ed136bf0867eb4dfde (diff)
downloadpi-bitcoindev-5bb74566a7cc67149a830a1aa7ef8075354b3b7c.tar.gz
pi-bitcoindev-5bb74566a7cc67149a830a1aa7ef8075354b3b7c.zip
Re: [bitcoin-dev] BIP sighash_noinput
-rw-r--r--a3/f1136da786063405f9bd1134a36403d13948c1132
1 files changed, 132 insertions, 0 deletions
diff --git a/a3/f1136da786063405f9bd1134a36403d13948c1 b/a3/f1136da786063405f9bd1134a36403d13948c1
new file mode 100644
index 000000000..6c947dc6e
--- /dev/null
+++ b/a3/f1136da786063405f9bd1134a36403d13948c1
@@ -0,0 +1,132 @@
+Return-Path: <user@petertodd.org>
+Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
+ [172.17.192.35])
+ by mail.linuxfoundation.org (Postfix) with ESMTPS id 39665891;
+ Tue, 3 Jul 2018 05:21:05 +0000 (UTC)
+X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
+X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
+Received: from outmail148154.authsmtp.co.uk (outmail148154.authsmtp.co.uk
+ [62.13.148.154])
+ by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 919956C1;
+ Tue, 3 Jul 2018 05:21:04 +0000 (UTC)
+Received: from mail-c245.authsmtp.com (mail-c245.authsmtp.com [62.13.128.245])
+ by punt22.authsmtp.com. (8.15.2/8.15.2) with ESMTP id w635L1Gv065281;
+ Tue, 3 Jul 2018 06:21:01 +0100 (BST)
+ (envelope-from user@petertodd.org)
+Received: from petertodd.org (ec2-52-5-185-120.compute-1.amazonaws.com
+ [52.5.185.120]) (authenticated bits=0)
+ by mail.authsmtp.com (8.15.2/8.15.2) with ESMTPSA id w635KwrN010665
+ (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
+ Tue, 3 Jul 2018 06:21:00 +0100 (BST)
+ (envelope-from user@petertodd.org)
+Received: from [127.0.0.1] (localhost [127.0.0.1])
+ by petertodd.org (Postfix) with ESMTPSA id 74777400A9;
+ Tue, 3 Jul 2018 05:20:58 +0000 (UTC)
+Received: by localhost (Postfix, from userid 1000)
+ id DFFC822471; Tue, 3 Jul 2018 01:21:00 -0400 (EDT)
+Date: Tue, 3 Jul 2018 01:21:00 -0400
+From: Peter Todd <pete@petertodd.org>
+To: Rusty Russell <rusty@rustcorp.com.au>,
+ Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
+Message-ID: <20180703052100.gtjdverh5irfokrp@petertodd.org>
+References: <871sewirni.fsf@gmail.com>
+ <CAAS2fgS-_D7aBcDf_nAbuREBxv65zYMr60-1YqCnx-esvRVfEg@mail.gmail.com>
+ <87y3esvrvu.fsf@rustcorp.com.au>
+MIME-Version: 1.0
+Content-Type: multipart/signed; micalg=pgp-sha256;
+ protocol="application/pgp-signature"; boundary="dwyqvr6eyuymfijm"
+Content-Disposition: inline
+In-Reply-To: <87y3esvrvu.fsf@rustcorp.com.au>
+User-Agent: NeoMutt/20170113 (1.7.2)
+X-Server-Quench: df800380-7e80-11e8-8e1a-9cb654bb2504
+X-AuthReport-Spam: If SPAM / abuse - report it at:
+ http://www.authsmtp.com/abuse
+X-AuthRoute: OCd2Yg0TA1ZIVwkA IjsJECJaVQIpKltL GxAVKBZePFsRUQkR
+ bwdMdgEUEkAYAgsB Am4bW1JeUlx7WWM7 bghPaBtcak9QXgdq
+ T0pMXVMcUwNrBGdG RGAeUxl0cQAIeXh0 Z0YsCiZTXER5fUZg
+ RRtcFXAHZDJodWhK URFFflAGdgZOLE1H b1B7GhFYa3VsNCMk
+ FAgyOXU9MCtqYA50 ekkWLF0SSF0LKTg7 RhYaAClH
+X-Authentic-SMTP: 61633532353630.1039:706
+X-AuthFastPath: 0 (Was 255)
+X-AuthSMTP-Origin: 52.5.185.120/25
+X-AuthVirus-Status: No virus detected - but ensure you scan with your own
+ anti-virus system.
+X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW
+ autolearn=ham version=3.3.1
+X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
+ smtp1.linux-foundation.org
+Cc: lightning-dev@lists.linuxfoundation.org
+Subject: Re: [bitcoin-dev] BIP sighash_noinput
+X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
+X-Mailman-Version: 2.1.12
+Precedence: list
+List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
+List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
+List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
+List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
+List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
+List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
+X-List-Received-Date: Tue, 03 Jul 2018 05:21:05 -0000
+
+
+--dwyqvr6eyuymfijm
+Content-Type: text/plain; charset=us-ascii
+Content-Disposition: inline
+Content-Transfer-Encoding: quoted-printable
+
+On Tue, Jul 03, 2018 at 02:26:53PM +0930, Rusty Russell via bitcoin-dev wro=
+te:
+> Gregory Maxwell via bitcoin-dev <bitcoin-dev@lists.linuxfoundation.org> w=
+rites:
+> > On Mon, Apr 30, 2018 at 4:29 PM, Christian Decker via bitcoin-dev
+> > <bitcoin-dev@lists.linuxfoundation.org> wrote:
+> >> Hi all,
+> >>
+> >> I'd like to pick up the discussion from a few months ago, and propose =
+a new
+> >> sighash flag, `SIGHASH_NOINPUT`, that removes the commitment to the pr=
+evious
+> >
+> > I know it seems kind of silly, but I think it's somewhat important
+> > that the formal name of this flag is something like
+> > "SIGHASH_REPLAY_VULNERABLE" or likewise or at least
+> > "SIGHASH_WEAK_REPLAYABLE".
+>=20
+> I agree with the DO_NOT_WANT-style naming. REUSE_VULNERABLE seems to
+> capture it: the word VULNERABLE should scare people away (or at least
+> cause them to google further).
+
+The problem with that name is `SIGHASH_REUSE_VULNERABLE` tells you nothing
+about what the flag actually does.
+
+What name are we going to give a future flag that does something different,=
+ but
+is also replay vulnerable?
+
+--=20
+https://petertodd.org 'peter'[:-1]@petertodd.org
+
+--dwyqvr6eyuymfijm
+Content-Type: application/pgp-signature; name="signature.asc"
+
+-----BEGIN PGP SIGNATURE-----
+
+iQIzBAEBCAAdFiEE0RcYcKRzsEwFZ3N5Lly11TVRLzcFAls7B7gACgkQLly11TVR
+LzfX3w//Y46thlesq9E8ma5UU25w3G5RnLt8kLBkPv6mNLoi3/amXwAEcgwuoRwl
+ZxGw4tIrK/X+L9DWQhqPryAP/6q1RyKzO8GpGs/B6yR2TkB4CX62Q1asAEXVjk4J
+xh7gnHYbm+FS2/z/8deE1GutN34XOPI1yKN0geys0xoHdwmlzznVtinyo5GvRu3/
+OQ7oWZqu5LeI8UIJ6h0MZyxR1ukNN00yvIhvymEmItwctT3Qg11viWKlnpfTUmUm
+/Mj2YyBpc6r/XF58yWIh6QMbuaF6P+tKdRIfjDS1SRoVl3OfarWfrXM7xc1JUsnO
+l+QPadfsyjc+H8NGmJSw6CBDB1vtS4bV4JtFecfqnLt0xnVez6zY1yUH86wzqL56
+oEBxSVi5cjMl7OUdJIuXSlAefSWM972lVNEpzhzpB88YZfH3LqSOcjg+EGg/8c+6
+Fxz+vlLlX++sQTEieo7veqOJzaXh8VyMUyP4KgYXw5jY7nY6aXPjJg7G1XW4Qlma
+zQ9ZlkJabHtTkfGNl3lod6oygP00h+UQpwJgltOdrYS7k5IJPcHeEFTuL/efm2Xc
+bXgWUCNGEy/9efAJQTdynSKuvqSyJIJS+qTiFzVZiM4l5g6IbHaU4B/CNaawAy+4
+Q2iOgloPda80Z6IF6n0rmziHJ6JNSrjkhV6mFL4GCivuO7VzWUQ=
+=ipNd
+-----END PGP SIGNATURE-----
+
+--dwyqvr6eyuymfijm--
+