-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
510 additions
and
226 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...os-consensus-cardano/changelog.d/20250130_093803_tdammers_mlocked_kes_rebase.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
### Breaking | ||
|
||
- Use new mlocked KES API for all internal KES sign key handling. | ||
- Add finalizers to all block forgings (required by `ouroboros-consensus`). | ||
- Change `HotKey` to manage not only KES sign keys, but also the corresponding | ||
OpCerts. This is in preparation for KES agent connectivity: with the new | ||
design, the KES agent will provide both KES sign keys and matching OpCerts | ||
together, and we need to be able to dynamically replace them both together. | ||
- Add finalizer to `HotKey`. This takes care of securely forgetting any KES | ||
keys the HotKey may still hold, and will be called automatically when the | ||
owning block forging terminates. | ||
- Change `ShelleyLeaderCredentials` to not contain the KES sign key itself | ||
anymore. Instead, the `CanBeLeader` data structure now contains a | ||
`praosCanBeLeaderCredentialsSource` field, which specifies how to obtain the | ||
actual credentials (OpCert and KES SignKey). | ||
- The `KesKey` data type in `unstable-cardano-tools` has been renamed to | ||
`UnsoundPureKesKey`, to reflect the fact that it uses the old, unsound KES | ||
API (which does not use mlocking or secure forgetting). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.