<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/44.md, branch bigger-nip44</title>
<subtitle>[no description]</subtitle>
<id>https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/atom?h=bigger-nip44</id>
<link rel='self' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/atom?h=bigger-nip44'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/'/>
<updated>2026-03-17T22:11:10+00:00</updated>
<entry>
<title>nip44: reject non-canonical extended prefix in unpad() pseudocode</title>
<updated>2026-03-17T22:11:10+00:00</updated>
<author>
<name>Alex Gleason</name>
<email>alex@alexgleason.me</email>
</author>
<published>2026-03-17T22:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=3465f540e3eaedccb5309711b502f0febf56b52f'/>
<id>urn:sha1:3465f540e3eaedccb5309711b502f0febf56b52f</id>
<content type='text'>
When the 6-byte extended prefix sentinel is detected, validate that
the decoded length is &gt;= extended_prefix_threshold (65536). Without
this, the same plaintext could be encoded with either prefix format,
breaking strict canonicalization.
</content>
</entry>
<entry>
<title>nip44: fix pseudocode bugs, comment arithmetic, add implementation guidance and test vectors</title>
<updated>2026-03-17T21:30:09+00:00</updated>
<author>
<name>Alex Gleason</name>
<email>alex@alexgleason.me</email>
</author>
<published>2026-03-17T21:30:09+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=98fb2069515bf325faebe0d74a1ac739ed653d36'/>
<id>urn:sha1:98fb2069515bf325faebe0d74a1ac739ed653d36</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nip44: allow encryption of payloads larger than 65535 bytes</title>
<updated>2026-03-17T20:33:00+00:00</updated>
<author>
<name>Alex Gleason</name>
<email>alex@alexgleason.me</email>
</author>
<published>2026-03-17T20:33:00+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=ac2f6a6cf9c2368f1c6a87c1716751fdf7496707'/>
<id>urn:sha1:ac2f6a6cf9c2368f1c6a87c1716751fdf7496707</id>
<content type='text'>
Extend the v2 padding format with a backwards-compatible sentinel:
when the first 2 bytes of the length prefix are zero, the next 4
bytes encode the plaintext length as a big-endian u32. This raises
the maximum from 65535 bytes to 2^32-1 bytes without requiring a
version bump.

Fixes from nostr-protocol/nips#1907:
- Fix off-by-one: use &gt;= 65536 (not &gt; 65536) for the extended path,
  since u16 can only represent 0..65535
- Fix padding validation: use dynamic prefix_len (2 or 6) instead of
  hardcoded 2 in the unpad() size check
- Fix len(d) typo in decode_payload (should be len(data))
- Remove upper-bound size checks in decode_payload that would reject
  large payloads
- Add write_u32_be, read_uint16_be, read_uint32_be to function list
- Add extended_prefix_threshold constant
- Update size range comments for both small and large payload paths
</content>
</entry>
<entry>
<title>nip44: update some nits.</title>
<updated>2024-12-20T16:34:43+00:00</updated>
<author>
<name>Asai Toshiya</name>
<email>to.asai.60@gmail.com</email>
</author>
<published>2024-12-20T16:34:43+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=7e150faed4ccadfdcdc81265a406c4b6cdd39047'/>
<id>urn:sha1:7e150faed4ccadfdcdc81265a406c4b6cdd39047</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify the units</title>
<updated>2024-12-06T11:48:11+00:00</updated>
<author>
<name>小原晴太</name>
<email>haruta@s3-odara.net</email>
</author>
<published>2024-12-06T11:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=a92d2e2edd3251067ab8787ecf10ee2dffe2b85f'/>
<id>urn:sha1:a92d2e2edd3251067ab8787ecf10ee2dffe2b85f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>NIP-44: Proper base64 explanation</title>
<updated>2024-12-04T14:30:42+00:00</updated>
<author>
<name>小原晴太</name>
<email>haruta@s3-odara.net</email>
</author>
<published>2024-12-04T14:30:42+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=33efff81a6909da9a85e81d296a711810f1848a1'/>
<id>urn:sha1:33efff81a6909da9a85e81d296a711810f1848a1</id>
<content type='text'>
"Encoding algorithm" instead of "compression algorithm"</content>
</entry>
<entry>
<title>Merge pull request #1466 from paulmillr/patch-2</title>
<updated>2024-09-03T12:37:21+00:00</updated>
<author>
<name>Vitor Pamplona</name>
<email>vitor@vitorpamplona.com</email>
</author>
<published>2024-09-03T12:37:21+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=a928d11fb5e968b732ad3d2d1f8944bc9d7d0f19'/>
<id>urn:sha1:a928d11fb5e968b732ad3d2d1f8944bc9d7d0f19</id>
<content type='text'>
nip44: clarify ecdh hashing</content>
</entry>
<entry>
<title>style: fix header styles in same format</title>
<updated>2024-09-03T01:51:48+00:00</updated>
<author>
<name>kehiy</name>
<email>kehiiiiya@gmail.com</email>
</author>
<published>2024-09-02T17:03:45+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=b4a2561df7325b8624bc5ffad154ec946ade2f1e'/>
<id>urn:sha1:b4a2561df7325b8624bc5ffad154ec946ade2f1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clarify function name in libsecp256k1</title>
<updated>2024-09-01T14:13:12+00:00</updated>
<author>
<name>Paul Miller</name>
<email>paul@paulmillr.com</email>
</author>
<published>2024-09-01T14:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=be17e5dcd9943c1d4854eccd5714241d4fe246e1'/>
<id>urn:sha1:be17e5dcd9943c1d4854eccd5714241d4fe246e1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>nip44: clarify ecdh hashing</title>
<updated>2024-08-31T22:44:30+00:00</updated>
<author>
<name>Paul Miller</name>
<email>paul@paulmillr.com</email>
</author>
<published>2024-08-31T22:44:30+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/nips/commit/?id=1002104ece1fe3de7a091084d97e031c7291c9c0'/>
<id>urn:sha1:1002104ece1fe3de7a091084d97e031c7291c9c0</id>
<content type='text'>
</content>
</entry>
</feed>
