-
Notifications
You must be signed in to change notification settings - Fork 71
Security amendment to 0048 ownership proof #147
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
base: main
Are you sure you want to change the base?
Security amendment to 0048 ownership proof #147
Conversation
|
|
||
| However, each signature is generated by the crypto scheme instead of each private session key signing the `account_id`. By default, the following statement is signed by the crypto scheme: | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ``` | |
| ```rust |
| However, each signature is generated by the crypto scheme instead of each private session key signing the `account_id`. By default, the following statement is signed by the crypto scheme: | ||
|
|
||
| ``` | ||
| rust |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| rust |
| The significant difference is that proof of possession suggested by RFC-0048 is signed: | ||
|
|
||
| ``` | ||
| rust |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| rust |
|
|
||
| The significant difference is that proof of possession suggested by RFC-0048 is signed: | ||
|
|
||
| ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ``` | |
| ```rust |
| vs the current proposal suggests changing the statement to: | ||
|
|
||
| ``` | ||
| rust |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| rust |
| vs the current proposal suggests changing the statement to: | ||
|
|
||
| ``` | ||
| rust |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| rust |
|
|
||
| ## Future Directions and Related Material | ||
|
|
||
| \- \[1\] Substrate implementation of the generation of proof of possession for all crypto schemes (current and experimental ones) is implemented in Pull 6010. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| \- \[1\] Substrate implementation of the generation of proof of possession for all crypto schemes (current and experimental ones) is implemented in Pull 6010. | |
| \- \[1\] Substrate implementation of the generation of proof of possession for all crypto schemes (current and experimental ones) is implemented in [PR 6010](https://github.com/paritytech/polkadot-sdk/pull/6010). |
This RFC is an amendment to RFC-0048. It proposes to change the
OpaqueKeysInner:create_ownership_proofandOpaqueKeys:: ownership_proof_is_validto invoke generation and validation procedure specific to each crypto time. This enable different crypto scheme implement
the proof of possession fitted to their security need. In short, this RFC delegates the procedure of generating and validating proof of possession to the crypto scheme. This has been implemented: https://github.com/paritytech/polkadot-sdk/pull/6010/files#r2003580725