Skip to content

Feature/Verify Token V2 - #78

Open
x1m3 wants to merge 6 commits into
mainfrom
feature/PID-2501-update-go-iden-3-auth-V2
Open

Feature/Verify Token V2#78
x1m3 wants to merge 6 commits into
mainfrom
feature/PID-2501-update-go-iden-3-auth-V2

Conversation

@x1m3

@x1m3 x1m3 commented Oct 17, 2024

Copy link
Copy Markdown
Contributor

First implementation was #76 .

There is some test failing. Need some help here to generate a proper token or to mock eth.Resolver.

This PR needs this iden3/iden3comm#60 merged. Right now it compiles because direct commit is fixed in backend.

I will write some comments by myself in points I need help or I'm not totally happy with it.

@x1m3 x1m3 left a comment

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.

I left some comments .

Comment thread go.mod Outdated
github.com/iden3/go-schema-processor/v2 v2.4.0
github.com/iden3/iden3comm/v2 v2.5.1
github.com/iden3/go-schema-processor/v2 v2.5.0
github.com/iden3/iden3comm/v2 v2.7.1-0.20241015160531-d8ea65210731

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.

It needs code in iden3/iden3comm#60 that should be accepted, merged and released before accepting this one.

Comment thread auth_test.go
},
},
{
name: "Verify JWZ token, with proof generation delay",

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.

This test is failing because network inside token is 80001 and there is no resolver for it.

I guess I need a valid token, or to mock eth.Resolvers. To mock eth.Resolvers, we should create a new interface in iden3comm lib for map[int]eth.Resolvers

@x1m3 x1m3 mentioned this pull request Oct 18, 2024
@x1m3 x1m3 added the help wanted Extra attention is needed label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

help wanted Extra attention is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant