Skip to content

feat: delegator AES seal saved to delegator DB on approved delegation#1179

Merged
SmithSamuelM merged 1 commit intoWebOfTrust:mainfrom
kentbull:aes-seal-save-on-delegator-confirm-vmain
Mar 17, 2026
Merged

feat: delegator AES seal saved to delegator DB on approved delegation#1179
SmithSamuelM merged 1 commit intoWebOfTrust:mainfrom
kentbull:aes-seal-save-on-delegator-confirm-vmain

Conversation

@kentbull
Copy link
Copy Markdown
Contributor

As per the maintainer discussion last week this PR:

  • saves AES seal for a dip/drt to the delegator's AES database near the end of kli delegate confirm
  • modifies existing Bash script integration tests to ensure dip and drt events populate .kevers for 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/drt operation.

@kentbull kentbull added the main label Feb 14, 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
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread src/keri/app/cli/commands/delegate/confirm.py Outdated
@kentbull kentbull force-pushed the aes-seal-save-on-delegator-confirm-vmain branch 6 times, most recently from 3302784 to 03e4651 Compare February 26, 2026 19:25
@kentbull kentbull force-pushed the aes-seal-save-on-delegator-confirm-vmain branch 3 times, most recently from 9339f48 to 8cc3ea5 Compare March 4, 2026 19:06
@kentbull
Copy link
Copy Markdown
Contributor Author

kentbull commented Mar 4, 2026

Tests fail because of import problems due to recent PRs breaking main. I will rebase this PR once main tests pass again.

@kentbull kentbull force-pushed the aes-seal-save-on-delegator-confirm-vmain branch 2 times, most recently from 712b27a to 30779e5 Compare March 10, 2026 19:31
@kentbull kentbull force-pushed the aes-seal-save-on-delegator-confirm-vmain branch from 30779e5 to 2e607e9 Compare March 16, 2026 17:48
@SmithSamuelM SmithSamuelM merged commit 4be2fbe into WebOfTrust:main Mar 17, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants