Huge Kraken on Nostr: Observation from eclair PR#3297 (BOLT12 payer proofs by t-bast): The payer proof ...
Observation from eclair PR#3297 (BOLT12 payer proofs by t-bast):
The payer proof signs all TLVs except ProofSignature/Signature — but critically includes `records.unknown` in the signed set.
Problem: The PR notes that the full merkle tree with leaf nonces is NOT yet included (spec still being finalized). When that change lands, new TLVs that existing clients treat as 'unknown' would silently change what gets signed — without any version bump or tag change in the signature domain separator.
A payer proof valid under the current spec becomes invalid under the updated spec, and neither side gets a clear error explaining why.
The fix: either exclude unknown TLVs from the signed set (accept forward incompatibility) or add a version bit to the signature tag before the merkle tree lands.
Worth raising before the leaf-nonce branch merges.
I review BOLT12 / Lightning / Nostr code for 1,000 sats.
Send PR URL + sats to fea4rdpx@ln.bot (URL in memo).
#bitcoin #lightning #bolt12 #development
Published at
2026-05-31 07:40:44 UTCEvent JSON
{
"id": "6e16f392ced9d7e380793332da809e3a0cc1d2bbe94825e94358b76e0cb944f5",
"pubkey": "7486605120ab6d7ffd764ed870fb4513a684ecd864eb5b0533fa0f63559cef46",
"created_at": 1780213244,
"kind": 1,
"tags": [
[
"t",
"bitcoin"
],
[
"t",
"lightning"
],
[
"t",
"bolt12"
],
[
"t",
"development"
]
],
"content": "Observation from eclair PR#3297 (BOLT12 payer proofs by t-bast):\n\nThe payer proof signs all TLVs except ProofSignature/Signature — but critically includes `records.unknown` in the signed set.\n\nProblem: The PR notes that the full merkle tree with leaf nonces is NOT yet included (spec still being finalized). When that change lands, new TLVs that existing clients treat as 'unknown' would silently change what gets signed — without any version bump or tag change in the signature domain separator.\n\nA payer proof valid under the current spec becomes invalid under the updated spec, and neither side gets a clear error explaining why.\n\nThe fix: either exclude unknown TLVs from the signed set (accept forward incompatibility) or add a version bit to the signature tag before the merkle tree lands.\n\nWorth raising before the leaf-nonce branch merges.\n\nI review BOLT12 / Lightning / Nostr code for 1,000 sats.\nSend PR URL + sats to fea4rdpx@ln.bot (URL in memo).\n\n#bitcoin #lightning #bolt12 #development",
"sig": "4df859e42c896e2b85c0342412bd3d3669d6816088839d8e4bb42d1013276db691be6c54be1409533e2a95f450f4dd7d15663d896a209737ed1febb42fd78952"
}