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

Logging in gives me my private key #54

Open
nick-verida opened this issue Apr 6, 2022 · 0 comments
Open

Logging in gives me my private key #54

nick-verida opened this issue Apr 6, 2022 · 0 comments

Comments

@nick-verida
Copy link
Contributor

nick-verida commented Apr 6, 2022

When logging in I get my private key:

{ [snip]
"privateKey":"redacted",
"publicKey":"redacted",
[snip]"}

This doesn't seem required since the user is retrieved from the database based on their ID when issuing a new credential (see

const issuer = await this.issuerService.findOne(user.issuerId);
) and this is where the private key used for transactions is retrieved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant