Repository navigation
Fixes 0.25.0 for notes held at mints that predate LUD-25's 29 September
renames, the reference lnurl-mint and moneyer before 0.12 among them. Kit
0.20 speaks only the new wire forms, which those mints do not read: 0.25.0
could not look up, receive, check, rotate, split, merge, send or melt a
bearer note there, nor mint at one. Those requests were refused before any
note moved, with one exception: a mint that takes a quote's name only as a
64-hex comment and keys any other comment to the payment preimage
(moneyer 0.7 and 0.8 by default) minted a 0.25.0 quote, which named its
note by cp1, to the preimage. That note never appears under the secret
the wallet chose; it is taken by receiving <mint>/w?k1=<payment preimage>, which the paying wallet holds. Now tested against moneyer 0.17,
moneyer 0.3.1 and lnurlcash-conformance 0.13.1's mock mint.
- A bearer note goes on the wire in forms every mint generation reads, as
it did before 0.25.0. It is looked up by its own?k1=(a current mint
checks the spend in full); a rotate, split or merge names each output's
64-hexhunder bothp1andh(p2andh2); a mint quote names it
as bothcommentandh; a melt sendsk1andpr. A current mint
reads either name and requires the two to agree. Key-path and
script-path notes exist only at current mints and are unchanged. A
restore at an older mint still needs the holder's leave to walk by
secret, since such a mint has no lookup that keeps the secret back. - A mint that binds a quote only by
h(moneyer before LUD-25's comment)
can be added and minted at again. It must confirmmintToHashon the
quote itself, or the invoice is dropped before anyone is shown it. - An older mint's certificate is taken again, reversing that part of
0.25.0 for bearer notes: such a mint certifies only over a note'sh,
as 65 bytes of hex or the fixed-HRPcs1, so 0.25.0 refused every
certified note from one once its key was pinned, and could never take one
offline. For a 64-hexk1those verify under the rule they were made
under, and only a real signature by the mint's key over that note'sh
and amount passes. A rotate at such a mint keeps itssig/sig2, and a
note carrying one is sent assig=besideamount=. On ack1orcw1
they still verify nowhere.
Reproducible build: byte-identical output verified across two independent CI runners.
Artefact integrity
file: forgesworn-notecase-0.25.1.tgz
size: 215508 bytes
sha256: bd8222fc917ba0013915cf7097c13086964433460c00de5e05da84e5d8debab7
sha512-Qe4ZZcxYHXGylHb87w+EMYof8ajWYEEHCCLeoAvKd6nmjqV2Cd/5QV1RyS1Puo3B9NJKftGk6RpV56y3IwSEnw==
Verify against the registry tarball:
curl -sLO https://registry.npmjs.org/@forgesworn/notecase/-/notecase-0.25.1.tgz
shasum -a 256 notecase-0.25.1.tgz