From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 21 Oct 2025 15:28:39 -0700 Received: from mail-qt1-f187.google.com ([209.85.160.187]) by mail.fairlystable.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1vBKqM-0007V0-P0 for bitcoindev@gnusha.org; Tue, 21 Oct 2025 15:28:39 -0700 Received: by mail-qt1-f187.google.com with SMTP id d75a77b69052e-4e892acc0b3sf13636421cf.2 for ; Tue, 21 Oct 2025 15:28:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1761085712; cv=pass; d=google.com; s=arc-20240605; b=A91JYcbaeE83Pwgw3b8hi1+VIfosMCwbaErz9nUFQllUfthkNj+FfAcOlC+d2x2MxT hb5qcTYSrthtQtPBccMuYrVdkUfMMZhrpsh5JheK3oLdnih1DaEFY9acv8NqCAIkUYLE 8dzx+aacefMmZBlYxkGF0ABDddTY41Ofs/4ibco06/FAQfTzzXlJpWP9CdaZnnr5Aa2d 7b8traKhjFjKSHFHDlR+gY+x3s1mjyQKYvjk6zAT8YJ2exiFDcEG6MKrTCvwv5SOx43k 3nZXfjVXsJSUzblJXXONQ+ISyYL9demHnoDCUlgr+CBL4A9idmuBfUDxLNkD31lTMYx5 +KrQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:feedback-id :references:in-reply-to:message-id:subject:cc:from:to:date :dkim-signature; bh=AxGNv15QPEvWp8dU2PRPCZt7JivlKbcCmk8gOAp9Mcc=; fh=NI1P56z1CDkvXlhWr4q4lDqzYoVZxir+kt2CFzhBX+w=; b=CahQI0sPjflj2yLv/5Sk+3iy27WmHl2UvGpd7qRaDs+2vtI8upTv68p3IwNmmjKqgW ZLhrxhjDCG5byA0AX0OUz15zfTkXEAhVtk/349+GiVCuKYknmbdWfSHZcHEy7jl5i5/3 qrIh+9e4/3uizdRdpjn/usgR2O+bwSAvPbtRCw8PYjUzqazkG1bxbpFEdsHNQBvyZodE n73iw7Cl6Tu+PNj6ifEKnqDh4dJVoKp8lhYKzx8V700jRjb6BPia+npCOW15JHIUftrG IdFnHo97bQzVgKJ/ddN5qWIHNVWjjQIkXqOoa1H7ydeL0b+FpfH1MmTbxKS/EguDcTAw IuEw==; darn=gnusha.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail3 header.b=Dl1CUoh0; spf=pass (google.com: domain of jgsletter@pm.me designates 79.135.106.28 as permitted sender) smtp.mailfrom=jgsletter@pm.me; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1761085712; x=1761690512; darn=gnusha.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :date:from:to:cc:subject:date:message-id:reply-to; bh=AxGNv15QPEvWp8dU2PRPCZt7JivlKbcCmk8gOAp9Mcc=; b=FqJfy/rI7p69lSxJbBmt2PdDaK4rzIXf+MP2ud8JbcFJzUi+nUygro0niexs6MmdxV uFwt0zRl0oDGAKOziz9/b5iOW5gSEr6kywsIz6j8kDxQcgsM8aq+psqOTTfmB2tEPBvR B/ASdmc5HFZxhEz0jD5LVBsbMEYmWf68y8MJVcomBVcw3E4yDm7YnBlNHoQffFMOVm8d bCJAfSQF1P9XxHdDEbZ03BXp/oFCjv3mqwOVOO0aNAJq2GqRYQslbiqXRMdoTTIuvVaS 9gHeEPpUJALUYwCQ6R9lWdGoSrktMyOQ7xixlB41caAJ5loJ8rqMp4GWq0/H8uUX7ztv Tk4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1761085712; x=1761690512; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:mime-version :feedback-id:references:in-reply-to:message-id:subject:cc:from:to :date:x-beenthere:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=AxGNv15QPEvWp8dU2PRPCZt7JivlKbcCmk8gOAp9Mcc=; b=BiTC61WJNZGmAuyST0lBq8m8ehBa2XenH2zTL61WD9irttH+814bY5vsVgPD9KILhO Porq6RMNhobhl4nLL3jHBkttdGNgYpZtifAe5v+2T8uZQlHdMSRi1ZGVabyrCHeb7ar+ nO3GY48jtIDYFZXWTebDjsAUFfYgo6wEoBBOhVTTLHtEXiFoIBYPdQC4XxZzDB9acZCP aSPToGRyL9L7lFJGf21k2dlnh/vHKeaHYsg2VU8Zy66aKbque/GK1NI3G+vm5VA1MGLA MnlK4abM7j02eZaNTRN3xcTUz6JrleBwnwfYcJhah3YLY6KppmSEWyXMWifbz8otStw3 w/5g== X-Forwarded-Encrypted: i=2; AJvYcCU6pLLU3tM3O2wFAODnXi85S7i93djPod560IafYg6ivoq+4XckFc+SRhI76W+zJ1yR3gpcgfr3Ajej@gnusha.org X-Gm-Message-State: AOJu0YzTIy47V2iEuGZfxIwbtEokKVtUNUtHl1yJ+70uUKaJHSSu1Uto l9xiVeEjls8xWTI+fkWQTfVMLGHEx3afBrn7hZUoliC3ewF6H9hWwCMV X-Google-Smtp-Source: AGHT+IGn8RvKmkYkIu/ktHIC1kQwRIJjUWAy7Ty171r8E8iBkZGzTGUqE9zM2PPR3JDXxgYBS3SVfQ== X-Received: by 2002:a05:622a:5cc:b0:4e8:a4aa:ef50 with SMTP id d75a77b69052e-4e8a4aaf32amr185331361cf.60.1761085711932; Tue, 21 Oct 2025 15:28:31 -0700 (PDT) X-BeenThere: bitcoindev@googlegroups.com; h="ARHlJd6xVpeZz+te0rNasUtKKbEmig/dIH/+ulxdbUrEsC9O3g==" Received: by 2002:a05:622a:831b:b0:4cf:5206:ee51 with SMTP id d75a77b69052e-4e893ca517els77875831cf.0.-pod-prod-07-us; Tue, 21 Oct 2025 15:28:27 -0700 (PDT) X-Received: by 2002:a05:620a:4152:b0:892:eb85:53cf with SMTP id af79cd13be357-892eb855690mr1372649085a.54.1761085707456; Tue, 21 Oct 2025 15:28:27 -0700 (PDT) Received: by 2002:a05:600c:5655:b0:471:13aa:415a with SMTP id 5b1f17b1804b1-475c449ec8dms5e9; Tue, 21 Oct 2025 12:21:18 -0700 (PDT) X-Received: by 2002:a05:600c:3f10:b0:46e:6339:79c5 with SMTP id 5b1f17b1804b1-475c3fa1f3emr7173535e9.5.1761074476418; Tue, 21 Oct 2025 12:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1761074476; cv=none; d=google.com; s=arc-20240605; b=JNA5gITogcqnTjRt8p4Y3ZISuikjt1toZaCbENXv/waADGvorPgFR2Jibj45e6WSN1 hyWHJwf0C4CEFnSIiRGlHNCo5x8b14i+aL8lAExHSdCJ/j/Xj9oCqIB8nMzet+5S4Zwg vf38HUvhGWeYYAtoQXAe2cQGl9wfmnmP182ymmN+fJr0cc/3x+PQnY3DQ3JcV7q40GbJ VFOneVyq1Q1rPq+GpDyzp7Lix1+jr4v0wfF5Fy4tG4C0j/URfDiNI9maguJSsELkOmS4 KHric5G7or6cGdlqn7gTsMTrW2CRLj2Cl6lKFECamdU7XZ/7xZ+XnsvjNT/NG+8Z4LoJ pkAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=mime-version:feedback-id:references:in-reply-to:message-id:subject :cc:from:to:date:dkim-signature; bh=o1mhS+eV1EKLRBShfDi+yQJlyMmqsXWqK2FXPvfCn9I=; fh=PUtFfmAD4UOsmC/A+p+VcsBeWXLiYODHZkNN+KWlkUA=; b=ZLOTrOYASBoOtRbfMRro8JNhyw7Ibf1QUos2OMSI8Z6gxbmps4mslH1G7QIuNnBifq tY+bGLhqiazlXsDaQTv3fynkn/F3O3yJ2eMU2nHqeUZ1tjqDRHFc4+RTTJqdVRCKBbWH 08/nzO54NwSsQGuR6aTS4ZSleodDq/V/NobRMAlplOwdUsTx65HxHuZMtNTDqP43sqhJ hrWA3TLftmSs38LMJbe7B0mlZiushgYaUJVeD15mcZqjrtzvrDPtfn/mxk1ekiQ180iq fzoCzENowP4X1gi2Vg/J6pXWsS0TT6nEhOIntr2JFM/ZFZisz1aRwjWHEM/0MiQU95CF AXmg==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail3 header.b=Dl1CUoh0; spf=pass (google.com: domain of jgsletter@pm.me designates 79.135.106.28 as permitted sender) smtp.mailfrom=jgsletter@pm.me; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me Received: from mail-10628.protonmail.ch (mail-10628.protonmail.ch. [79.135.106.28]) by gmr-mx.google.com with ESMTPS id 5b1f17b1804b1-47496afdcabsi1393655e9.1.2025.10.21.12.21.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Oct 2025 12:21:16 -0700 (PDT) Received-SPF: pass (google.com: domain of jgsletter@pm.me designates 79.135.106.28 as permitted sender) client-ip=79.135.106.28; Date: Tue, 21 Oct 2025 19:21:11 +0000 To: blocktraveler From: "'Email para newsletters' via Bitcoin Development Mailing List" Cc: Bitcoin Development Mailing List Subject: Re: [bitcoindev] Add importprivkeys RPC Message-ID: In-Reply-To: References: Feedback-ID: 131484202:user:proton X-Pm-Message-ID: e0de6592abc1c4eba2a68ee1f8ba90ca3c3e079d MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="------c13315d518608b9800442d29fc471818ba03635cff7adfa1577933d1f9643a53"; charset=utf-8 X-Original-Sender: jgsletter@pm.me X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@pm.me header.s=protonmail3 header.b=Dl1CUoh0; spf=pass (google.com: domain of jgsletter@pm.me designates 79.135.106.28 as permitted sender) smtp.mailfrom=jgsletter@pm.me; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=pm.me X-Original-From: Email para newsletters Reply-To: Email para newsletters Precedence: list Mailing-list: list bitcoindev@googlegroups.com; contact bitcoindev+owners@googlegroups.com List-ID: X-Google-Group-Id: 786775582512 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , X-Spam-Score: -1.0 (-) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------c13315d518608b9800442d29fc471818ba03635cff7adfa1577933d1f9643a53 Content-Type: multipart/mixed;boundary=---------------------95616d93866f1b8d95d55eb90a54b5b0 -----------------------95616d93866f1b8d95d55eb90a54b5b0 Content-Type: multipart/alternative;boundary=---------------------a7b4e1040fa6ef3420ed94bca8b975f4 -----------------------a7b4e1040fa6ef3420ed94bca8b975f4 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" IMO thats a very good proposal and should be really easy to implement. Allow me to share some points. * The return scheme somewhat extends the one from the already existing `imp= ortdescriptors`. This can be considered a corner to cut if theres implement= ation burn. * I do not have any idea about others opinion but I consider a flaw to not = have a checksum induction flag in `importdescriptors`, which could reduce `= importprivkeys` command dependency as well extending them both. Best, Joao Leal Em sexta-feira, 3 de outubro de 2025 =C3=A0s 05:58, blocktraveler escreveu: >=20 > Hy there! >=20 > Unfortunately, the PRs are locked, so I'm sharing my thoughts this way. >=20 > Over the years, people have asked countless times on various platforms ho= w to import private keys (both legacy and Bech32/SegWit) into a Bitcoin Cor= e descriptor wallet. This issue is especially common in Namecoin. I see no = reason why importing private keys, a very basic feature, should be restrict= ed to the point that it's impossible for the average user to succeed. That'= s why I created the Core-Wallet-Migration-Tools in Python. >=20 > However, it would be much easier to have an 'importprivkeys' RPC for desc= riptor wallets (not to be confused with the legacy 'importprivkey' call). P= ls check my initial thoughts: >=20 > Proposal: Add importprivkeys RPC (helper for WIF =E2=86=92 descriptor imp= ort) >=20 > Thx! > Uwe >=20 >=20 >=20 > -- > You received this message because you are subscribed to the Google Groups= "Bitcoin Development Mailing List" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to bitcoindev+unsubscribe@googlegroups.com. > To view this discussion visit https://groups.google.com/d/msgid/bitcoinde= v/ad14b140-9e02-466c-8226-304ec651f4ben%40googlegroups.com. --=20 You received this message because you are subscribed to the Google Groups "= Bitcoin Development Mailing List" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/= HFXdBRbenIIAN6ZQMZJ_DBJ11m1yK-LI10Psn88XgTpVqv_JAqIhVRp0tm8PH2cYZ-i97nIXRlY= KMBwCaIKhWMmVl8ZHNLFIHhwpeQF5Z1A%3D%40pm.me. -----------------------a7b4e1040fa6ef3420ed94bca8b975f4 Content-Type: multipart/related;boundary=---------------------cba11381b27b9ac160bc45473ccd90b7 -----------------------cba11381b27b9ac160bc45473ccd90b7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

IMO thats a very good proposal and should be really easy to implement.<= /p>

Allow me to share some points.

* The re= turn scheme somewhat extends the one from the already existing `importdescr= iptors`. This can be considered a corner to cut if theres implementation bu= rn.

* I do not have any idea about others opinion but I c= onsider a flaw to not have a checksum induction flag in `importdescriptors`= , which could reduce `importprivkeys` command dependency as well extending = them both.

Best,
Joao Leal

=20
=20
=20

<= div class=3D"protonmail_quote"> Em sexta-feira, 3 de outubro de 2025 =C3=A0s 05:58, blocktraveler &= lt;ueberspannung@gmail.com> escreveu:

Hy there!

Unfortunately, the PRs are locked, so I'm = sharing my thoughts this way.

Over the years, people have asked coun= tless times on various platforms how to import private keys (both legacy an= d Bech32/SegWit) into a Bitcoin Core descriptor wallet. This issue is espec= ially common in Namecoin. I see no reason why importing private keys, a ver= y basic feature, should be restricted to the point that it's impossible for= the average user to succeed. That's why I created the Core-Wallet-Migration-Tools in Python= .

However, it would be much easier to have an 'importprivkeys' RPC f= or descriptor wallets (not to be confused with the legacy 'importprivkey' c= all). Pls check my initial thoughts:

Proposal: Add importprivkeys RPC (helper = for WIF =E2=86=92 descriptor import)

Thx!
Uwe


--
You received this message because you are subscribed to the Google Groups "= Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoindev+unsubscribe@googlegroups.com. To view this discussion visit https://groups.google.com/= d/msgid/bitcoindev/ad14b140-9e02-466c-8226-304ec651f4ben%40googlegroups.com= .

--
You received this message because you are subscribed to the Google Groups &= quot;Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to bitcoind= ev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/HFXdBRbenI= IAN6ZQMZJ_DBJ11m1yK-LI10Psn88XgTpVqv_JAqIhVRp0tm8PH2cYZ-i97nIXRlYKMBwCaIKhW= MmVl8ZHNLFIHhwpeQF5Z1A%3D%40pm.me.
-----------------------cba11381b27b9ac160bc45473ccd90b7-- -----------------------a7b4e1040fa6ef3420ed94bca8b975f4-- -----------------------95616d93866f1b8d95d55eb90a54b5b0 Content-Type: application/pgp-keys; filename="publickey - jgsletter@pm.me - 0x81E2FC6B.asc"; name="publickey - jgsletter@pm.me - 0x81E2FC6B.asc" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="publickey - jgsletter@pm.me - 0x81E2FC6B.asc"; name="publickey - jgsletter@pm.me - 0x81E2FC6B.asc" LS0tLS1CRUdJTiBQR1AgUFVCTElDIEtFWSBCTE9DSy0tLS0tCgp4ak1FWjRwSk5CWUpLd1lCQkFI YVJ3OEJBUWRBNWtqQjQwbGFxMTdDSUVSVzBFYnJzakNwb1F6RzJnMEcKTDVGR2xqZTVIaXJOSVdw bmMyeGxkSFJsY2tCd2JTNXRaU0E4YW1kemJHVjBkR1Z5UUhCdExtMWxQc0xBCkVRUVRGZ29BZ3dX Q1o0cEpOQU1MQ1FjSmtGMTZidlJhcDdmSFJSUUFBQUFBQUJ3QUlITmhiSFJBYm05MApZWFJwYjI1 ekxtOXdaVzV3WjNCcWN5NXZjbWNSckVaYWxFWDR4ZlBiTFQzRXdBMWZodi9hRTNHeVNMQTMKeThH WWZPcHhZUU1WQ2dnRUZnQUNBUUlaQVFLYkF3SWVBUlloQklIaS9HdlZPUFVvOFpTUG5GMTZidlJh CnA3ZkhBQUJEaVFFQW9qYnJlY0hMdFNxMTRNd0YzNENFT1dGQ2RnVkZCb0dEQnlBWmhaakRMdnNB K1FHOQo3MUJXdmJJMmVSc0NNalhvbjd6cTBMSy83aXAwb3kzWElTME54UHdLempnRVo0cEpOQklL S3dZQkJBR1gKVlFFRkFRRUhRSmxNVHZjSW40YjNkdFN3d2N4K3lNUWpFUkUydHo3UkFEdDdFN2sr bVhvdkF3RUlCOEsrCkJCZ1dDZ0J3QllKbmlrazBDWkJkZW03MFdxZTN4MFVVQUFBQUFBQWNBQ0J6 WVd4MFFHNXZkR0YwYVc5dQpjeTV2Y0dWdWNHZHdhbk11YjNKbml1QTdkMGtBRmJTaklXekFSaUNj WTBvOW9OSHdOR2l2WEJSV2tRc1oKVnhBQ213d1dJUVNCNHZ4cjFUajFLUEdVajV4ZGVtNzBXcWUz eHdBQUh6OEJBTVN0b05ONVFSU0RhV0FvClh4bk1kRmF5R1E4Z0lWZHB2R290bFZhajZnTTRBUDlG eXdFQWM5MDhtZkwzeFlsOEtUTlRSeVlwK1M4ZgpDZHlSMDA4aVdydWpDZz09Cj0rZG8xCi0tLS0t RU5EIFBHUCBQVUJMSUMgS0VZIEJMT0NLLS0tLS0K -----------------------95616d93866f1b8d95d55eb90a54b5b0-- --------c13315d518608b9800442d29fc471818ba03635cff7adfa1577933d1f9643a53 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wrsEARYKAG0Fgmj33RkJEF16bvRap7fHRRQAAAAAABwAIHNhbHRAbm90YXRp b25zLm9wZW5wZ3Bqcy5vcmdOSdot6FIjm/FPQqj8SJpL0P+kbCGXKneTZH/B 94N8iBYhBIHi/GvVOPUo8ZSPnF16bvRap7fHAAB25AEAldJnCeiY9EB9PrlP DTbigucJqMkH9gVoy1J/WuDZ8VAA/jnojvVhvTu35OFCjh5aHzpFd1eX9JtM +zNOb/pFzq4D =SsnM -----END PGP SIGNATURE----- --------c13315d518608b9800442d29fc471818ba03635cff7adfa1577933d1f9643a53--