Skip to content
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

2 fixes for delegation: #844

Merged
merged 1 commit into from
Aug 14, 2024
Merged

Conversation

pfeairheller
Copy link
Member

  • Update clone delegation to not raise an exception if the delegator's KEL is not in local kevers
  • Fix event handling to walk the KEL to find an anchoring event if it exists.

These changes close #842 by allowing for a witness to return a KEL for a delegated AID without the AES couple for approved events and without the delegator's KEL.

This is the expected behavior for a witness as it should not be assumed that a witness perform watcher functionality. Any validator will have to be introduced to the delegator or OOBI with the delegator before validating the KEL of the delegate.

- Update clone delegation to not raise an exception if the delegator's KEL is not in local kevers
- Fix event handling to walk the KEL to find an anchoring event if it exists.

These changes close WebOfTrust#842 by allowing for a witness to return a KEL for a delegated AID without the AES couple for approved events and without the delegator's KEL.

This is the expected behavior for a witness as it should not be assumed that a witness perform watcher functionality.  Any validator will have to be introduced to the delegator or OOBI with the delegator before validating the KEL of the delegate.

Signed-off-by: pfeairheller <pfeairheller@gmail.com>
@m00sey m00sey merged commit 970d2fb into WebOfTrust:main Aug 14, 2024
6 checks passed
@pfeairheller pfeairheller deleted the feat-aes-seal branch August 14, 2024 13:56
@SmithSamuelM
Copy link
Collaborator

SmithSamuelM commented Aug 14, 2024

@pfeairheller With a quick read I don't think this quite fixes everything its close but it may introduce another problem. I will have a closer look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

current main branch regression: KEL of a delegated aid lacks source seal couples
3 participants