feat: delegator AES seal saved to delegator DB on approved delegation#1179
Merged
SmithSamuelM merged 1 commit intoWebOfTrust:mainfrom Mar 17, 2026
Merged
Conversation
kentbull
commented
Feb 24, 2026
|
|
||
| self.hby.db.delegables.rem(keys=(pre, sn), val=edig) | ||
| self._addAuthorizerSeal(pre, edig, anchorSn=serder.sn, anchorSaid=serder.said) | ||
| self.hby.kvy.processEscrowDelegables() # removes DIP/DRT from delegables after adding it to kevers |
Contributor
Author
There was a problem hiding this comment.
Call the remove rather than process escrows.
Add a comment saying this is a TODO item to refactor once we automate the logic around authorizing delegables, related to the misfit escrow. The assumption should be that, at some point, the delegables escrow should be running in the background.
kentbull
commented
Feb 24, 2026
3302784 to
03e4651
Compare
9339f48 to
8cc3ea5
Compare
Contributor
Author
|
Tests fail because of import problems due to recent PRs breaking main. I will rebase this PR once main tests pass again. |
712b27a to
30779e5
Compare
Signed-off-by: Kent Bull <kent@kentbull.com>
30779e5 to
2e607e9
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As per the maintainer discussion last week this PR:
kli delegate confirmdipanddrtevents populate.keversfor the delegator in both multi sig and single sig workflows.So, instead of a KEL walk within the escrow logic we decided to just save the AES seal, for the delegator, to the delegator's .aes DB key.
An unresolved issue is how to propagate the AES seal to the witnesses of the delegate as a part of the overall
dip/drtoperation.