c99446759352995b0840ed5ffc327658b86fa7
1 Return-Path: <s7r@sky-ip.org> 2 Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org 3 [172.17.192.35]) 4 by mail.linuxfoundation.org (Postfix) with ESMTPS id 94CF3F98; 5 Wed, 2 Oct 2019 15:21:09 +0000 (UTC) 6 X-Greylist: delayed 00:09:34 by SQLgrey-1.7.6 7 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 8 Received: from ob1-4.mailhostbox.com (ob1-4.mailhostbox.com [162.222.225.13]) 9 by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 1857C1FB; 10 Wed, 2 Oct 2019 15:21:09 +0000 (UTC) 11 Received: from [0.0.0.0] (tor.mailbox.org [80.241.60.207]) 12 (using TLSv1 with cipher AES128-SHA (128/128 bits)) 13 (No client certificate requested) 14 (Authenticated sender: s7r@sky-ip.org) 15 by outbound.mailhostbox.com (Postfix) with ESMTPSA id 703001A1289; 16 Wed, 2 Oct 2019 15:11:32 +0000 (GMT) 17 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sky-ip.org; 18 s=20110108; t=1570029094; 19 bh=c1dpMOhuC6UuHI+cRA/BbnbePZivDMcPe9m2uN85/og=; 20 h=Subject:To:Cc:References:From:Date:In-Reply-To; 21 b=FWlf/Nr9hpOGgbxvJ/ei49+zV3d/04bG4hzQcAl1Gco686GW14rkwSzol10kDWD8x 22 6H3Pt/BhDOzsvJAb9H2A4vaOJq7+Nu/Nci+/h/kbhNnH9aq4IZ0YxCsmNCZP7TyEy3 23 BBAcgVQzLNgRV/xycEjDYBcM5eRtt1bNRwRmLlRA= 24 To: Anthony Towns <aj@erisian.com.au>, 25 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>, 26 Christian Decker <decker.christian@gmail.com> 27 References: <87wodp7w9f.fsf@gmail.com> 28 <20191001155929.e2yznsetqesx2jxo@erisian.com.au> 29 From: s7r <s7r@sky-ip.org> 30 Openpgp: preference=signencrypt 31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ICYYK99e6RYP0LC1PDIGXFPLjs0Teu 46 QAxASFvNycC5JSfQUsAI3OTQjaGUaiUfavmJYkn9B6C2ktQgvM7qbxJvLP5X02tgp4G4gNiu 47 8ZA3aOUdX+8EQwERJZ8CuA/R6/2M2nEO3YRCsxaYSzob7nicjfoPvyvSYu3zXRFj+3uvDOK6 48 AGNILmftVUoRQ6/WsNaAQX42cDfSNYQ8uZ/zgTGatO3ArNb1uqWbMdbUA5sAEQEAAYkBHwQY 49 AQIACQUCT0GiBAIbDAAKCRCDf6UsgSZbEZjSB/41TviTCxdiS4PLSDrQ3GOmQPpWZRk/O1tv 50 3y6T9p0XuC/oq6kKfToKuV2/Ok+589rtmrXhjzdk2otDKCRGejJFpVoU/vfR+jokArzpwyPa 51 TWDAhMGmf5wmEAojsiOc9Zgj/CuS5nd/eLFi4QGtbLoDLrTrQSXB4qR0zJFoQfykVaERT2dm 52 UV/D22opJc8jo3UBOBckgGi9jBi/2OvwEiFcZSl1u9Qi4+gbINOObQF5a0h9ReZCT1BUs5FV 53 DSXBBYZTJJ2flnZH69Mb+9KxRMyqjhRzyGDUfY73SYlCpKX9buWMl0CCsDx+GrRVSxvQnA8b 54 aSq1wlfKsJBimGtSAqf8 55 Message-ID: <51d80db6-83d9-2473-d007-f3601c940f28@sky-ip.org> 56 Date: Wed, 2 Oct 2019 18:11:25 +0300 57 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 58 Thunderbird/60.9.0 59 MIME-Version: 1.0 60 In-Reply-To: <20191001155929.e2yznsetqesx2jxo@erisian.com.au> 61 Content-Type: multipart/signed; micalg=pgp-sha256; 62 protocol="application/pgp-signature"; 63 boundary="HEN1WAd7r7SYkV35VjmtYyeh0LCnwPFfs" 64 X-CMAE-Score: 0 65 X-CMAE-Analysis: v=2.2 cv=X4YiECbe c=1 sm=1 tr=0 66 a=wxLzTxeQipeV3y8dd4rAPQ==:117 a=wxLzTxeQipeV3y8dd4rAPQ==:17 67 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=13zjGPudsaEWiJwPRgMA:9 68 a=7mUrSb40drMtBRZyxQ4A:9 a=pdR69DOaQzvPY8um:21 a=wmrNKXLhZEGbeWwC:21 69 a=QEXdDO2ut3YA:10 a=XD8RDNI9Z5C_sgb_vlYA:9 a=FfaGCDsud1wA:10 70 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, 71 DKIM_VALID, DKIM_VALID_AU, 72 RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 73 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on 74 smtp1.linux-foundation.org 75 Cc: lightning-dev@lists.linuxfoundation.org 76 Subject: Re: [bitcoin-dev] Continuing the discussion about noinput / 77 anyprevout 78 X-BeenThere: bitcoin-dev@lists.linuxfoundation.org 79 X-Mailman-Version: 2.1.12 80 Precedence: list 81 List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org> 82 List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>, 83 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe> 84 List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/> 85 List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org> 86 List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help> 87 List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>, 88 <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe> 89 X-List-Received-Date: Wed, 02 Oct 2019 15:21:09 -0000 90 91 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) 92 --HEN1WAd7r7SYkV35VjmtYyeh0LCnwPFfs 93 Content-Type: multipart/mixed; boundary="D1yworrtRopo0MAMctdVVLhkFtIsbt14G"; 94 protected-headers="v1" 95 From: s7r <s7r@sky-ip.org> 96 To: Anthony Towns <aj@erisian.com.au>, 97 Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>, 98 Christian Decker <decker.christian@gmail.com> 99 Cc: lightning-dev@lists.linuxfoundation.org 100 Message-ID: <51d80db6-83d9-2473-d007-f3601c940f28@sky-ip.org> 101 Subject: Re: [bitcoin-dev] Continuing the discussion about noinput / 102 anyprevout 103 References: <87wodp7w9f.fsf@gmail.com> 104 <20191001155929.e2yznsetqesx2jxo@erisian.com.au> 105 In-Reply-To: <20191001155929.e2yznsetqesx2jxo@erisian.com.au> 106 107 --D1yworrtRopo0MAMctdVVLhkFtIsbt14G 108 Content-Type: text/plain; charset=utf-8 109 Content-Language: en-US 110 Content-Transfer-Encoding: quoted-printable 111 112 Anthony Towns via bitcoin-dev wrote: 113 [SNIP] 114 >=20 115 > My thinking at the moment (subject to change!) is: 116 >=20 117 > * anyprevout signatures make the address you're signing for less safe,= 118 119 > which may cause you to lose funds when additional coins are sent to 120 > the same address; this can be avoided if handled with care (or if yo= 121 u 122 > don't care about losing funds in the event of address reuse) 123 >=20 124 125 It's not necessarily like this. Address re-use is many times OUTSIDE the 126 control of the address owner. Say I give my address to a counterparty. 127 They send me a transaction which I successfully spend. So far so good. 128 129 After that, I have no control over that counterparty. If they decide to 130 re-use that address, it does not mean I wanted to re-use it and it also 131 does not mean that I don't care about those funds being lost. 132 133 This could create a lot of problems in the industry and I think it 134 should be avoided. Address re-use has been strongly discouraged ever 135 since I can remember, and all (proper) wallet implementations try as 136 hard as possible to enforce it, but it's not always possible. A 137 counterparty that decides to re-use an address, either accidentally or 138 not, is not under the control of the user who handed out the address in 139 the first place. 140 141 There are also a lot of use cases with P2SH addresses that are some 142 smart contracts particularly designed to be re-used multiple times over 143 time. 144 145 My 2 cents are that this is not a good way to go. If you try to index 146 the entire blockchain until now you'll see that address re-use is more 147 common than we'd want it to be and there's no clear way to prevent this 148 from further happening without hurting the economic interests of the user= 149 s. 150 151 152 --D1yworrtRopo0MAMctdVVLhkFtIsbt14G-- 153 154 --HEN1WAd7r7SYkV35VjmtYyeh0LCnwPFfs 155 Content-Type: application/pgp-signature; name="signature.asc" 156 Content-Description: OpenPGP digital signature 157 Content-Disposition: attachment; filename="signature.asc" 158 159 -----BEGIN PGP SIGNATURE----- 160 161 iQEzBAEBCAAdFiEEfDaSMlq9+wswIQPxg3+lLIEmWxEFAl2UviEACgkQg3+lLIEm 162 WxF2dggA2OYwiDXdQzrzPcDC4n8kT0S6yjFA819vYFJjv+fM4PtEArYjO6x8xqIv 163 H3a79re4sXp+J2o5grGCkjXhWlVvqXh3k2LZ03PfXIOrdjAz5K8oE+gLqQ2Gpf5G 164 jFkRxjzHui6a/nZX3irikl4Nn1Zh3V9X+5qPielafqsrWPXSq6U+onrNvWofcFfp 165 FFJXsKh5g6Uw4+O5FrXfmJNY3Fj8kVa582nKAa3GTjgShlVrK73TbWzH3Q3wqo1+ 166 qcRh1BXuryiNek4Qi5eIrgtM3NkFUk0ymhVGm9S35ToRSMQV5hfjtDZ//7K42rx3 167 KHWmea2MBDO8Lwqc50JPtn6eXwQKTA== 168 =vndX 169 -----END PGP SIGNATURE----- 170 171 --HEN1WAd7r7SYkV35VjmtYyeh0LCnwPFfs-- 172