Skip to content

Support unknown PSBT fields #118

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
louisinger opened this issue Dec 31, 2024 · 4 comments · Fixed by #119
Closed

Support unknown PSBT fields #118

louisinger opened this issue Dec 31, 2024 · 4 comments · Fixed by #119

Comments

@louisinger
Copy link
Contributor

Unknown PSBT fields disappear when mergeKeyMap is executed. However, ark is using them to transport extra arguments to finalize complex inputs between users. It could also be useful to set musig2 PSBT fields before BIP373 is accepted.

From README:

We strip 'unknown' keys inside PSBT, they needed for new version/features support, however any unsupported feature/new version can significantly break assumptions about code. If you have use-case where they are needed, create a github issue.

What's required to support unknown PSBT keys ? What do you mean exactly by "break assumptions about code" ?

@paulmillr
Copy link
Owner

Fingerprinting is an action when a wallet covertly adds some garbage info to tx that allows to identify its users on blockchain.

We need to ensure user transactions aren't fingerprintable. Your pull request will allow to make them fingerprintable by default.

@louisinger
Copy link
Contributor Author

Fingerprinting is an action when a wallet covertly adds some garbage info to tx that allows to identify its users on blockchain.

but PSBTs never hit the chain, so the garbage info will disappear when tx is extracted isn't it ?

@paulmillr
Copy link
Owner

It would still be possible to fingerprint some covert data from a cold wallet to hot wallet to track users.

I'm saying this needs a separate option and should not be on by default.

@louisinger
Copy link
Contributor Author

done @paulmillr

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 a pull request may close this issue.

2 participants