Skip to content

EI-2938 remove keys - #69

Open
andyantrim wants to merge 7 commits into
v3from
ab-ei-2938-remove-keys
Open

EI-2938 remove keys#69
andyantrim wants to merge 7 commits into
v3from
ab-ei-2938-remove-keys

Conversation

@andyantrim

Copy link
Copy Markdown

Add client library checks that ensure a key is not removed, but still allow the key to be revoked.

Comment thread pkg/advancedapi/advancedApi_test.go

_, _, err = advancedapi.CreateDelegationProof(delegatingIssuer, subjectDoc, test.ValidKeyPairPlop)
assert.ErrorContains(t, err, "unable to find public key in document matching key pair secrets")
assert.NilError(t, err)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

should this be the case?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@StephanieBracaloni input on this test case? Should a delegation with a revoked key still be able to create a proof?

Comment thread pkg/api/regularApi.go
Comment thread pkg/register/document.go Outdated
Comment thread pkg/register/document.go Outdated
Comment thread pkg/register/document.go
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.

2 participants