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

fix: biometry check #212

Merged
merged 4 commits into from
Feb 26, 2024
Merged

fix: biometry check #212

merged 4 commits into from
Feb 26, 2024

Conversation

Jayteekay
Copy link
Contributor

Proposed changes

Fixing biometric check criteria

field.path?.includes('$.type[*]') &&
field.filter?.const === BIOMETRIC_CREDENTIAL_TYPE,
field =>{
const biometricAttributeMatch = new RegExp(/^\$.credentialSubject.biometric/);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think id, data, and created are required. Shouldn't we ensure those 3 properties will be present?

Copy link
Contributor

@mike-parkhill mike-parkhill left a comment

Choose a reason for hiding this comment

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

are there any tests around this that need to change?

@Jayteekay
Copy link
Contributor Author

are there any tests around this that need to change?

No test here yet since the plugin is still just a placeholder implementation for now.

@maycon-mello maycon-mello merged commit e1dba9c into master Feb 26, 2024
1 check passed
@maycon-mello maycon-mello deleted the feat/biometric-binding branch February 26, 2024 16:25
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.

3 participants