-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
feature/SDK-59 #299
base: develop
Are you sure you want to change the base?
feature/SDK-59 #299
Conversation
# Conflicts: # packages/vc-handler-ld-local/src/ld-credential-module.ts
@@ -115,7 +115,7 @@ export class LdCredentialModule { | |||
verificationMethodId: string, | |||
challenge: string | undefined, | |||
domain: string | undefined, | |||
purpose: typeof ProofPurpose = !challenge && !domain | |||
purpose: typeof ProofPurpose = !challenge // domain is not a mandatory var for AuthenticationProofPurpose per se, but challenge is. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I only miss to have unit tests for this module, to verify regressions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Has this change been verified to be correct to begin with in the specs @sanderPostma? The fact the underlying Veramo functions allow for it doesn't mean this change is correct. I cannot remember a need ever to not have both.
Actually I do not even want this change, as it would promote not binding a domain to a proof
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs to be checked against spec, but this change is dangerous in itself as it would start promoting not using domain bindings for proofs
@nklomp Because with did:web we have a domain but not a challenge.
|
We should make sure that our RP asks for a challenge to begin with. See the warning. That is the reason why I am hesitant to even allow it. Since it is in the spec I guess we should, but IMO I rather have an option to allow for the omission of a challenge, that defaults to false. I rather run into issues with certain RPs that do not require it, as they really should use it. So first and foremost we should fix it in our RP. |
No description provided.