From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 6B1ABC07AC for ; Sun, 17 Nov 2019 15:42:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 678EE868B4 for ; Sun, 17 Nov 2019 15:42:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rQGG6uWz-qqV for ; Sun, 17 Nov 2019 15:42:16 +0000 (UTC) X-Greylist: delayed 00:06:48 by SQLgrey-1.7.6 Received: from ob1-5.mailhostbox.com (ob1-5.mailhostbox.com [162.222.225.14]) by whitealder.osuosl.org (Postfix) with ESMTPS id 04B18868CA for ; Sun, 17 Nov 2019 15:42:16 +0000 (UTC) Received: from [0.0.0.0] (tor-exit-01.thehappy3.com [178.63.97.34]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: s7r@sky-ip.org) by outbound.mailhostbox.com (Postfix) with ESMTPSA id 93E8C1A1352; Sun, 17 Nov 2019 15:35:25 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sky-ip.org; s=20110108; t=1574004926; bh=DWHTO9QNb5jL9dliIJTjCfMn8+EJHviDxeQPAhmGfRU=; h=Subject:To:References:From:Date:In-Reply-To; b=h1xfCKRBsLMqf2epkYb+JLZjIGHqsdyUEObTYalnhqW0lqyaib6Fn1z1kS1gQvkfF AtV5J3bNifjE3ZYVaKKNcSirfdIHOS/2L1SymBC8fRjMfC5J8SX9R6X7HFsAfvCwu8 8dTfXbrQRVL2L9LiUarbswK/vZKVCZZfaCC/3i58= To: "Mr. Lee Chiffre" , Bitcoin Protocol Discussion References: <8fd4e30c4c1c24442686dd51727e75cc.squirrel@giyzk7o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P0LC1PDIGXFPLjs0Teu QAxASFvNycC5JSfQUsAI3OTQjaGUaiUfavmJYkn9B6C2ktQgvM7qbxJvLP5X02tgp4G4gNiu 8ZA3aOUdX+8EQwERJZ8CuA/R6/2M2nEO3YRCsxaYSzob7nicjfoPvyvSYu3zXRFj+3uvDOK6 AGNILmftVUoRQ6/WsNaAQX42cDfSNYQ8uZ/zgTGatO3ArNb1uqWbMdbUA5sAEQEAAYkBHwQY AQIACQUCT0GiBAIbDAAKCRCDf6UsgSZbEZjSB/41TviTCxdiS4PLSDrQ3GOmQPpWZRk/O1tv 3y6T9p0XuC/oq6kKfToKuV2/Ok+589rtmrXhjzdk2otDKCRGejJFpVoU/vfR+jokArzpwyPa TWDAhMGmf5wmEAojsiOc9Zgj/CuS5nd/eLFi4QGtbLoDLrTrQSXB4qR0zJFoQfykVaERT2dm UV/D22opJc8jo3UBOBckgGi9jBi/2OvwEiFcZSl1u9Qi4+gbINOObQF5a0h9ReZCT1BUs5FV DSXBBYZTJJ2flnZH69Mb+9KxRMyqjhRzyGDUfY73SYlCpKX9buWMl0CCsDx+GrRVSxvQnA8b aSq1wlfKsJBimGtSAqf8 Message-ID: Date: Sun, 17 Nov 2019 17:35:16 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 In-Reply-To: <8fd4e30c4c1c24442686dd51727e75cc.squirrel@giyzk7o6dcunb2ry.onion> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sTNtR8eCcOzbBHTB66p6iEJF1CxaK16qG" X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=BJjNU2YG c=1 sm=1 tr=0 a=+5kExHNcUMAPxqQgvLrAQA==:117 a=+5kExHNcUMAPxqQgvLrAQA==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=13zjGPudsaEWiJwPRgMA:9 a=eyCzwFIPYufMBRoVkrUA:9 a=nHZ7IcwnzACKdXie:21 a=_hnOyT0uz-wrkKKP:21 a=QEXdDO2ut3YA:10 a=4UkPVQY1XRGSsoDqV9IA:9 a=FfaGCDsud1wA:10 Subject: Re: [bitcoin-dev] v3 onion services X-BeenThere: bitcoin-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Bitcoin Protocol Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2019 15:42:17 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --sTNtR8eCcOzbBHTB66p6iEJF1CxaK16qG Content-Type: multipart/mixed; boundary="cKyWJC5EuuHTxlmNg3qn2U5rQ8F86Di3q"; protected-headers="v1" From: s7r To: "Mr. Lee Chiffre" , Bitcoin Protocol Discussion Message-ID: Subject: Re: [bitcoin-dev] v3 onion services References: <8fd4e30c4c1c24442686dd51727e75cc.squirrel@giyzk7o6dcunb2ry.onion> In-Reply-To: <8fd4e30c4c1c24442686dd51727e75cc.squirrel@giyzk7o6dcunb2ry.onion> --cKyWJC5EuuHTxlmNg3qn2U5rQ8F86Di3q Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Mr. Lee Chiffre via bitcoin-dev wrote: > Right now bitcoin client core supports use of tor hidden service. It > supports v2 hidden service. I am in progress of creating a new bitcoin > node which will use v3 hidden service instead of v2. I am looking at > bitcoin core and btcd to use. Do any of these or current node software > support the v3 onion addresses for the node address? What about I2P > addresses? If not what will it take to get it to support the longer > addresses that is used by i2p and tor v3? >=20 >=20 Hello, Yes, that is correct. Currently at present moment only v2 onion services are supported. Bitcoin Core is limited at 128 bit 'addresses' in the p2p protocol, so it requires a rework of the p2p protocol. v3 onion services are whole ed25519 public keys, base32 encoded with .onion at the end. Same reason applies to I2P 'address types' as well. However, I am not an expert in I2P and don't actually know how many bitcoin full nodes might exist in I2P. See: https://github.com/bitcoin/bitcoin/issues/9214 https://github.com/bitcoin/bitcoin/issues/2091 For the default `ADD_ONION` feature, the onion service key was downgraded to explicitly RSA1024 (legacy, v2 onion services) to ensure the feature still works out of the box: https://github.com/bitcoin/bitcoin/pull/9234 If you want a Tor only full node, you are best to use v2 onion services for now. Why do you need the bitcoin node to explicitly have a v3 onion address? You can have a service that is accessible to the general public as a v3 onion service, and in the back uses a bitcoin full node that uses v2 onion service to talk to other nodes. The v2 onion service bitcoin network is extended fairly. You can use in the same torrc (Tor configuration file), implicitly same Tor process/daemon simultaneously v2 and v3 onion services by setting HiddenServiceVersion parameter after every HiddenServiceDir parameter. --cKyWJC5EuuHTxlmNg3qn2U5rQ8F86Di3q-- --sTNtR8eCcOzbBHTB66p6iEJF1CxaK16qG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEfDaSMlq9+wswIQPxg3+lLIEmWxEFAl3RaLoACgkQg3+lLIEm WxHzbAf+K+nV2TTKFl/V3tm4OxvM3W9PH+3a1syFcX5Hd3iq1dFJQORTtf9F2Sh0 FkK2GnedqBfhR1FKpnSDFOJamXsrfGJwHjljfZthz3rxLFweiYhDx3VZH3UrqM1d I7+Fs4bG1cV9zHWTPAIPBGNQuEdWbGVUWOjuVyyy8A0TGrSsgq4EKCD7h33zBzw6 Q4PhnxnCzlfQGwl2znrupHLFd9mfjj1T4y5c1p2pmAYN2BLvWTJhg4UhNIpOO39q oX0Ih/bAk7xetqLyq+cK/6/BDrxF3PNOuN+iRoTwFizfIvz3Y0E1olxALmtJsWn9 mGVRA5OcH4ULq072FDpNBdlwIUbc+g== =nJkd -----END PGP SIGNATURE----- --sTNtR8eCcOzbBHTB66p6iEJF1CxaK16qG--