-
Notifications
You must be signed in to change notification settings - Fork 1.1k
ENT-14136 - Cross-provider key rotation #8046
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: release/os/4.14
Are you sure you want to change the base?
Conversation
|
DO NOT MERGE FOR NOW! |
core/src/main/kotlin/net/corda/core/contracts/CrossProviderKeyRotationProof.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/net/corda/core/contracts/CrossProviderKeyRotationProof.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/net/corda/core/transactions/TransactionWithSignatures.kt
Outdated
Show resolved
Hide resolved
1c8cec8 to
7212cbf
Compare
| proof.signature, | ||
| proof.publicKeyNew.encoded | ||
| ) | ||
| } |
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.
Is this class working for longer proof chains?
I think if the chains have gaps, it still treats all supplied proofs as valid.
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.
Good catch. For a proof chain to be valid, it must end with the signing key, and all proofs in the metadata must be properly linked. I have updated the code.
…roof chains must include the key that generated the signature and must not contain any unrelated proofs.
70d0433 to
9be2c4f
Compare
9be2c4f to
4a3698a
Compare
No description provided.