summaryrefslogtreecommitdiff
path: root/ae/82dcce8d76e42d3e35154a931b399675d99418
blob: caa9a58173fd0aa882e60e5620e1004a71af30d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Return-Path: <dave@dtrt.org>
Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137])
 by lists.linuxfoundation.org (Postfix) with ESMTP id 9F71AC000E
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  6 Sep 2021 02:36:34 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by smtp4.osuosl.org (Postfix) with ESMTP id 81B5A40428
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  6 Sep 2021 02:36:34 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
X-Spam-Flag: NO
X-Spam-Score: 1.61
X-Spam-Level: *
X-Spam-Status: No, score=1.61 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_SBL_CSS=3.335,
 RCVD_IN_XBL=0.375, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
 autolearn=no autolearn_force=no
Authentication-Results: smtp4.osuosl.org (amavisd-new);
 dkim=pass (1024-bit key) header.d=dtrt.org
Received: from smtp4.osuosl.org ([127.0.0.1])
 by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id LesDsmuLvuWf
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  6 Sep 2021 02:36:33 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.8.0
Received: from newmail.dtrt.org (newmail.dtrt.org
 [IPv6:2600:3c03::f03c:91ff:fe7b:78d1])
 by smtp4.osuosl.org (Postfix) with ESMTPS id 7CAE340426
 for <bitcoin-dev@lists.linuxfoundation.org>;
 Mon,  6 Sep 2021 02:36:33 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dtrt.org;
 s=20201208; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:
 Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=AWf4Y4/C96bKcPdiDKgiuM/08gte7DOx8PrVhjNHKbE=; b=kAxk245WGLfRwomRYoBhDZ7BBK
 /QA4LOF6TWW+k6OJ5R1WwcA1cEVvmkYVhF50RTk0HOxh62XkkxMU4lUtgaulZBPdJr37aYpx3QQJd
 Oy6jeab1JJ8RrBd39lfBBOY1FMUPnQl1Ko9Zf/CxYgsZKkpQxWOxNnpC1FoWol0jKS0E=;
Received: from harding by newmail.dtrt.org with local (Exim 4.92)
 (envelope-from <dave@dtrt.org>)
 id 1mN4Up-0005xI-Ch; Sun, 05 Sep 2021 16:36:31 -1000
Date: Sun, 5 Sep 2021 16:35:25 -1000
From: "David A. Harding" <dave@dtrt.org>
To: Jeremy <jlrubin@mit.edu>,
 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
Message-ID: <20210906023525.nui6beegrzopwfq4@ganymede>
References: <CAD5xwhiKU1fuhqmKsx28f1nuw9CmvbyrS=BtM4X-L+WPgWY3Wg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
 protocol="application/pgp-signature"; boundary="52qj6cwwdq7cgxl2"
Content-Disposition: inline
In-Reply-To: <CAD5xwhiKU1fuhqmKsx28f1nuw9CmvbyrS=BtM4X-L+WPgWY3Wg@mail.gmail.com>
User-Agent: NeoMutt/20180716
Subject: Re: [bitcoin-dev] Note on Sequence Lock Upgrades Defect
X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
X-Mailman-Version: 2.1.15
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: Mon, 06 Sep 2021 02:36:34 -0000


--52qj6cwwdq7cgxl2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 03, 2021 at 08:32:19PM -0700, Jeremy via bitcoin-dev wrote:
> Hi Bitcoin Devs,
>=20
> I recently noticed a flaw in the Sequence lock implementation with respect
> to upgradability. It might be the case that this is protected against by
> some transaction level policy (didn't see any in policy.cpp, but if not,
> I've put up a blogpost explaining the defect and patching it
> https://rubin.io/bitcoin/2021/09/03/upgradable-nops-flaw/

Isn't this why BIP68 requires using tx.version=3D2?  Wouldn't we just
deploy any new nSequence rules with tx.version>2?

-Dave

--52qj6cwwdq7cgxl2
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgxUkqkMp0LnoXjCr2dtBqWwiadMFAmE1fm0ACgkQ2dtBqWwi
adPpuw/9GpDK96FVnCfozpD0/f6LJu7cm+nDTfJ0Y+8t3srOy+Rq4Tc6O3/Db6lK
1ukNQVZ69VdGlCuIvgM0i6BOBp29F1uYJ/JJqTxI8PwICpO6iz6CIGnQPjNfr8X7
A2PnAVi+NgSGY1arbVTx49+tAir16eTEtRMgGByrW2OoiBNqBADLl5K4SaE931Xh
t3qKBdYMZEG7vg5mkl7rhdzm2/cxXM63YbXHr09C/Z2TnFdwuW6mdgMuftxcw+3u
y/ZYKZwJ9DlnrIIALVUUU4TyCw7d67KXpy5H1AlGYaeW/+9zOfqiSJjHaFbidm85
KkiXnLNNs92VPGdktV4SbyHI/TW4Tw4Mbvl2LPRtSx+daUssvB9VGY2NZmshPRzb
Fw0IpyCdkwBgscFnKQ31MJ752Rzlo4lhiVA4LieAAOtPppgklfWe+wXL1Ph/qN8/
WAIxPZ5pEIcd//uOucmPNH5u4Wa098jXuDrw8ZULWlArUDv+wZ+P74z/IYb3O80V
MYgfoHk44Kelo+GDKvh8UexZC8t7clpOeP3Kwprb/J2iefFmaJHudQkLuzfVxdeS
mFabt6T1vfd0bvO337ADNekwodHD0iNVTDF4MNJGjdarJW/GVzbRgH0eyMfLjU28
6ktoUWovvxewCQYGjH9zbut/wUn1PmfTubAqLVkCqzdUDXVbUa4=
=sOEH
-----END PGP SIGNATURE-----

--52qj6cwwdq7cgxl2--