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

feat(iam): test run for generating nullifiers with mishti #3160

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

lucianHymer
Copy link
Collaborator

fixes #3095

@@ -254,6 +221,7 @@ app.post("/api/v0.0.0/verify", (req: Request, res: Response): void => {
return void errorRes(res, "Unable to verify payload", 401);
})
.catch((error) => {
console.log("ERROR", error);
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

TODO remove

await initializeMishti();

const nullifier = await generate_oprf(
process.env.MISHTI_CLIENT_PRIVATE_KEY,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this private key used only to compute the signature required for the actual mishti call?
I was looking at this: https://docs.mishti.network/usage-instructions/making-requests-to-mishti-network

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.

Spike: Mishti human keys for credentials
2 participants