<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2023-06-07T04:03:59&#43;02:00</updated>
  <generator>https://nostr.ae</generator>

  <title>Nostr notes by Peter (Coinkite Inc) [ARCHIVE]</title>
  <author>
    <name>Peter (Coinkite Inc) [ARCHIVE]</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.ae/npub1stkd4kga74m7l65zd9qaqqmw70y7r7tng5n656v8kws6xemyvh2stvmcw7.rss" />
  <link href="https://nostr.ae/npub1stkd4kga74m7l65zd9qaqqmw70y7r7tng5n656v8kws6xemyvh2stvmcw7" />
  <id>https://nostr.ae/npub1stkd4kga74m7l65zd9qaqqmw70y7r7tng5n656v8kws6xemyvh2stvmcw7</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqsg0yv93xwetfxh2hgdrwykhucyfpqwl94lzsmcwktdegcjssprx5czyzpwekkerh6h0ml2sf55r5qrdmeunc0ewdzj02nfs7e6rgm8v3ja2l28fk8</id>
    
      <title type="html">📅 Original date posted:2022-08-04 📝 Original message:Thanks ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsg0yv93xwetfxh2hgdrwykhucyfpqwl94lzsmcwktdegcjssprx5czyzpwekkerh6h0ml2sf55r5qrdmeunc0ewdzj02nfs7e6rgm8v3ja2l28fk8" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsyemyh8j4757udhvr9zkgarz96jrpfj7k728xn4yr53pd2xy4l7mgmjzw94&#39;&gt;nevent1q…zw94&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-08-04&lt;br/&gt;📝 Original message:Thanks for doing this, it looks great Ali!&lt;br/&gt;&lt;br/&gt;COLDCARD and other Coinkite products will conform to this spec, if we don&amp;#39;t already.&lt;br/&gt;&lt;br/&gt;On Thu, Aug 04, 2022 at 12:18:56PM &#43;0000, Ali Sherief wrote:&lt;br/&gt;&amp;gt; Hi,&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I have created a new BIP, called notatether-signedmessage. It can be viewed at &lt;a href=&#34;https://github.com/ZenulAbidin/bips/blob/master/bip-notatether-signedmessage.mediawiki&#34;&gt;https://github.com/ZenulAbidin/bips/blob/master/bip-notatether-signedmessage.mediawiki&lt;/a&gt;.&lt;br/&gt;&amp;gt; &lt;br/&gt;...&lt;br/&gt;&lt;br/&gt;---&lt;br/&gt;@DocHEX  ||  Coinkite  ||  PGP: A3A31BAD 5A2A5B10&lt;br/&gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;A non-text attachment was scrubbed...&lt;br/&gt;Name: signature.asc&lt;br/&gt;Type: application/pgp-signature&lt;br/&gt;Size: 488 bytes&lt;br/&gt;Desc: not available&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220804/f034fec4/attachment.sig&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220804/f034fec4/attachment.sig&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-08T01:12:29&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs2jnfapzmuz6j4kqm06tkjcu6k674lvwxm2rmnrssvgkft7caxhaczyzpwekkerh6h0ml2sf55r5qrdmeunc0ewdzj02nfs7e6rgm8v3ja2hnflhd</id>
    
      <title type="html">📅 Original date posted:2022-07-20 📝 Original message:Hi ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs2jnfapzmuz6j4kqm06tkjcu6k674lvwxm2rmnrssvgkft7caxhaczyzpwekkerh6h0ml2sf55r5qrdmeunc0ewdzj02nfs7e6rgm8v3ja2hnflhd" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsqdj25sqy4fjtevzysufqee3075723n9pmnahk8xft8mc2h06l8hqdjhcv4&#39;&gt;nevent1q…hcv4&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-07-20&lt;br/&gt;📝 Original message:Hi Ali.&lt;br/&gt;&lt;br/&gt;&amp;gt; This BIP does not replace, supersede, or obsolete BIPs 173 or 322. My proposal is simply going to standardize the practice of placing the segwit address into the address field, and does not require alterations to the message signing format like those BIPs.&lt;br/&gt;&lt;br/&gt;COLDCARD makes signatures exacly like that, when told to sign with a segwit address:&lt;br/&gt;&lt;br/&gt;    % ckcc msg -s Hello&lt;br/&gt;    Hello                             &lt;br/&gt;    bc1qzeacswvlulg0jngad9gmtkvdp9lwum42wwzdu5&lt;br/&gt;    HxuuWQwjw0417fLV9L0kWbt7w9XOIWKhHMhjXhyXTczcSozGTXM4knqdISiYbbmqSRXqI5mNTWH9qkDoqZTpnPc=&lt;br/&gt;&lt;br/&gt;Unfortunately, I do not know of any &amp;#34;verifiers&amp;#34; that will accept the above signature, but there is no alternative since the various BIP-322 proposals never gained wide acceptance.&lt;br/&gt;&lt;br/&gt;Bitcoin Core does not support verifying that message, even though the UX makes it look possible. In effect segwit features never got implemented to that depth in Core. It&amp;#39;s sad because the community is not maintaining core (Core?) features to the same depth as Satoshi did when he was active in the project.&lt;br/&gt;&lt;br/&gt;&amp;gt; PS. I am pretty sure that there is a BIP for the original signing method - what is its number?&lt;br/&gt;&lt;br/&gt;My understanding that the original approach was directly from Satoshi himself when the original client was written. It has never been codified in a BIP as far as I know.&lt;br/&gt;&lt;br/&gt;A related issue the the &amp;#34;ascii armor&amp;#34; that is sometimes used. It&amp;#39;s a little like RFC2440 &amp;lt;&lt;a href=&#34;https://www.ietf.org/rfc/rfc2440.txt&amp;gt&#34;&gt;https://www.ietf.org/rfc/rfc2440.txt&amp;gt&lt;/a&gt;; but newline-treatment isn&amp;#39;t defined well enough for good interoperability, in my personal experience.&lt;br/&gt;&lt;br/&gt;So in summary... yes a &amp;#34;defacto&amp;#34; BIP is needed and useful to do, in my opinion. Then Core should be updated to support it as well.&lt;br/&gt;&lt;br/&gt;---&lt;br/&gt;@DocHEX  ||  Coinkite  ||  PGP: A3A31BAD 5A2A5B10&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;On Wed, Jul 20, 2022 at 04:10:09AM &#43;0000, Ali Sherief wrote:&lt;br/&gt;&amp;gt; [my third attempt at getting this message through. Surprisingly, I managed to send this at the second try with the correct SMTP, From, To and all, but maybe it was caught in GreyListing (protonmail).]&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; I was thinking about creating a BIP to address the lack of standardization for Segwit message signatures, but I want some advice before proceeding.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The current state of affairs is that the wallets that do support signing and verifying a bitcoin message can only sign legacy addresses. It is technically possible to sign and verify segwit addresses, since ECDSA only depends on the public key (hence why you need a private key to sign messages).&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; However, because there is no generally-accepted standard for signing segwit messages, the wallets that do support this feature simply insert the segwit address into the address field. Verification also only works using the procedure on that specific wallet software, if only because the conventional tools for verifying messages attempt to reconstruct a legacy address only.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This BIP is not going to enforce anything, it&amp;#39;s just going to set guidelines for writing a message signing and verification procedure.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; This BIP does not replace, supersede, or obsolete BIPs 173 or 322. My proposal is simply going to standardize the practice of placing the segwit address into the address field, and does not require alterations to the message signing format like those BIPs.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In summary, in the verification part, the following address hashing algorithms will be tried in sequence in an attempt to reconstruct the address in the signed message:&lt;br/&gt;&amp;gt; - P2PKH (legacy address)&lt;br/&gt;&amp;gt; - P2WPKH-P2SH (nested segwit)&lt;br/&gt;&amp;gt; - P2WPKH with version from 0 to MAX_WITNESS_VERSION (covers native segwit with version 0 as well as future native segwit address types such as Taproot) - where MAX_WITNESS_VERSION is the maximum supported witness version by the bech32 encoding.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; The verification procedure stops if any of these hashes yield the correct address, and fails if all of the above methods fail to reproduce the address in the signed message.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; In the signing procedure, the only modification is the insertion of the segwit address in place of the legacy address in the signed message.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; If this BIP is approved, it does not require any changes to existing signed messages, and the original sign/verify algorithms will continue to interoperate with this improved sign/verify algorithm, without any action necessary from the developers.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; So as you can see, this is the entire framework of the BIP I plan to draft. There is no need for any auxilliary feature additions into this BIP. I just want to hear the mailing list&amp;#39;s advice about how I should draft such a BIP.&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; - Ali&lt;br/&gt;&amp;gt; &lt;br/&gt;&amp;gt; PS. I am pretty sure that there is a BIP for the original signing method - what is its number?&lt;br/&gt;&amp;gt; &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;A non-text attachment was scrubbed...&lt;br/&gt;Name: signature.asc&lt;br/&gt;Type: application/pgp-signature&lt;br/&gt;Size: 488 bytes&lt;br/&gt;Desc: not available&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220720/c7ddfb46/attachment-0001.sig&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20220720/c7ddfb46/attachment-0001.sig&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-06-08T01:11:57&#43;02:00</updated>
  </entry>

</feed>