Skip to content

Add scrubber bip - #12

Merged
arminsabouri merged 1 commit into
mainfrom
psbt-scruber
Sep 10, 2026
Merged

arminsabouri merged 1 commit into
mainfrom
psbt-scruber

Conversation

@arminsabouri

Copy link
Copy Markdown
Collaborator

No description provided.

@xstoicunicornx

Copy link
Copy Markdown

Maybe put this in a "BIPs" folder? Since we also have concurrent psbt bip that would be good put in same folder.

@nothingmuch

Copy link
Copy Markdown
Contributor

Maybe put this in a "BIPs" folder? Since we also have concurrent psbt bip that would be good put in same folder.

i suggest bip-drafts, since they are not really bips until they are assigned a number in that repo

Comment thread bip-drafts/scrubber.md

@bc1cindy bc1cindy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

concecpt ACK, great work!

Comment thread scrubber.md Outdated
Comment thread scrubber.md Outdated
Comment thread scrubber.md Outdated

@yuval-block yuval-block left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpicky comment not worth addressing, only if it bothers you

Comment thread bip-drafts/scrubber.md

### Sorting

If signers use different libraries with different serialization implementations, an untrusting party can identify the signer by the order in which they encode fields. To prevent this, the scrubber must sort each map lexigraphically by `key` after it removes sensitive fields.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: doesn't matter if it's before or after, same effect and implementors may choose whichever

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't really bother me. Can follow up with an edit

@arminsabouri
arminsabouri merged commit 3f398b1 into main Sep 10, 2026
2 checks passed
@arminsabouri
arminsabouri deleted the psbt-scruber branch September 10, 2026 12:25
@yuval-block yuval-block added this to the BRW milestone Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants