<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated>2023-06-09T12:22:00Z</updated>
  <generator>https://yabu.me</generator>

  <title>Nostr notes by Christopher Allen [ARCHIVE]</title>
  <author>
    <name>Christopher Allen [ARCHIVE]</name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://yabu.me/npub19g47w5ewcqlpd7n07wpkp5cvcu2gjwrse0vl47l0avwl9hu933xsqct5d0.rss" />
  <link href="https://yabu.me/npub19g47w5ewcqlpd7n07wpkp5cvcu2gjwrse0vl47l0avwl9hu933xsqct5d0" />
  <id>https://yabu.me/npub19g47w5ewcqlpd7n07wpkp5cvcu2gjwrse0vl47l0avwl9hu933xsqct5d0</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://yabu.me/nevent1qqsg2nz2qvxwh50cc9aqs9uljdetj6xj75jpszmxtup6s89wv5jyjvczyq4zhe6n9mqru9h6dlecxcxnpnr3fzfcwr9an7hmal43muklskxy6gkg4l9</id>
    
      <title type="html">📅 Original date posted:2023-08-11 🗒️ Summary of this ...</title>
    
    <link rel="alternate" href="https://yabu.me/nevent1qqsg2nz2qvxwh50cc9aqs9uljdetj6xj75jpszmxtup6s89wv5jyjvczyq4zhe6n9mqru9h6dlecxcxnpnr3fzfcwr9an7hmal43muklskxy6gkg4l9" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsdgppvamexphuaskkqm6h3q6tuqpprs44v8v5mvscel0qfarvza5qh0snal&#39;&gt;nevent1q…snal&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2023-08-11&lt;br/&gt;🗒️ Summary of this message: The author suggests using base64url instead of base64 encoding for the psk in the URI, and recommends UR encoding for displaying via QR codes.&lt;br/&gt;📝 Original message:&lt;br/&gt;On Fri, Aug 11, 2023 at 3:29 PM symphonicbtc via bitcoin-dev &amp;lt;&lt;br/&gt;bitcoin-dev at lists.linuxfoundation.org&amp;gt; wrote:&lt;br/&gt;&lt;br/&gt;&amp;gt; Quick little nit I noticed as well, are you sure base64 encoding is the&lt;br/&gt;&amp;gt; best choice for the psk in the URI? You may find that having to urlencode&lt;br/&gt;&amp;gt; the special characters in base64 it impacts readability and adds a layer of&lt;br/&gt;&amp;gt; complexity if a human wanted to extract the psk from the URI for some&lt;br/&gt;&amp;gt; reason. I suggest using something like [base64url](&lt;br/&gt;&amp;gt; &lt;a href=&#34;https://datatracker.ietf.org/doc/html/rfc4648#section-5&#34;&gt;https://datatracker.ietf.org/doc/html/rfc4648#section-5&lt;/a&gt;) which modifies&lt;br/&gt;&amp;gt; base64 slightly to be more suited to this purpose.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Yes, the URI version of base64 is better.&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;However, If you plan to display these via QRs, either will double the&lt;br/&gt;density of the QR as QR libraries treat them as binary data (like hex of&lt;br/&gt;hex data). Thus you may want to use UR encoding, which is what over a dozen&lt;br/&gt;bitcoin wallets use to encode PSBTs. URs are very efficient with QRs, and&lt;br/&gt;have the optional benefit that if the data carried becomes too large, they&lt;br/&gt;can be animated. The have other advantages.&lt;br/&gt;&lt;br/&gt;* A top level link about URs:&lt;br/&gt;&lt;a href=&#34;https://github.com/BlockchainCommons/crypto-commons/blob/master/Docs/README.md#uniform-resources-urs&#34;&gt;https://github.com/BlockchainCommons/crypto-commons/blob/master/Docs/README.md#uniform-resources-urs&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;* About the base64 encoding with QRs problem:&lt;br/&gt;&lt;a href=&#34;https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-003-uri-binary-compatibility.md&#34;&gt;https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-003-uri-binary-compatibility.md&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;* The base UR tech spec:&lt;br/&gt;&lt;a href=&#34;https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md&#34;&gt;https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-005-ur.md&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;* List of bitcoin wallets using UR for PSBTs:&lt;br/&gt;&lt;a href=&#34;https://github.com/blockchaincommons/gordian-developer-community#urs&#34;&gt;https://github.com/blockchaincommons/gordian-developer-community#urs&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;* List of UR libraries:&lt;br/&gt;&lt;a href=&#34;https://github.com/BlockchainCommons/crypto-commons#bc-ur&#34;&gt;https://github.com/BlockchainCommons/crypto-commons#bc-ur&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Let me know if you’re interested.&lt;br/&gt;&lt;br/&gt;— Christopher Allen&lt;br/&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;-------------- next part --------------&lt;br/&gt;An HTML attachment was scrubbed...&lt;br/&gt;URL: &amp;lt;&lt;a href=&#34;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20230811/5be29a12/attachment.html&amp;gt&#34;&gt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20230811/5be29a12/attachment.html&amp;gt&lt;/a&gt;;
    </content>
    <updated>2023-08-12T09:56:46Z</updated>
  </entry>

</feed>