Skip to content

Commit

Permalink
addition
Browse files Browse the repository at this point in the history
  • Loading branch information
studioTeaTwo committed Dec 23, 2023
1 parent b37a169 commit ed8597b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion posts/002_ligtning-nostr/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ preview: It's time to evolve from apes. Last time this blog was able to implemen
Last time this blog was able to implement [L402](https://github.com/lightning/blips/pull/26). But it was **incomplete**.
Entering the preimage manually is a problem. Nostr will be a solution.

(Sorry that this movie is large. If you cannot view it, please access again from a rich environment such as PC or Wi-Fi.)
addition: Sorry that this videos are large. If you cannot view it, please access again from a rich environment such as PC or Wi-Fi.

## BEFORE:

Expand Down
2 changes: 1 addition & 1 deletion posts/004_paywall-without-intermediaries/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ There are several paywalls using Lightning. I don't know everything, but compare

### A case that preimage cannot guarantee proof of payment

There is one problem for NIP-04, which though the message content is encrypted, others can see who is direct messaging with whom. Preimage is obtained not only payer, but also intermediate nodes for payment routing. Therefore, when combined with NIP-04's messaging data, parties other than the payer may also get authorization for paywalled content. To avoid this, it is necessary to prevent routing nodes from acquiring preimages, or to completely hide preimage passing message from others. Therefore, this paywall currently has a vulnerability and will be treated as a proof-of-concept experiment.
There is one problem for NIP-04, which though the message content is encrypted, others can see "who" is direct messaging with "whom". Preimage is obtained not only payer, but also intermediate nodes for payment routing. Therefore, when combined with NIP-04's messaging data, parties other than the payer may also get authorization for paywalled content. To avoid this, it is necessary to prevent routing nodes from acquiring preimages, or to completely hide preimage passing message from others. Therefore, this paywall currently has a vulnerability and will be treated as a proof-of-concept experiment.

### PLTC/BOLT12

Expand Down

0 comments on commit ed8597b

Please sign in to comment.