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

Arrayify error is thrown when KMS_SECRET_KEY is not specified #4

Open
moesjarraf opened this issue Sep 7, 2023 · 0 comments
Open

Comments

@moesjarraf
Copy link

At the following line the KMS_SECRET_KEY is set to a default value if it's not set:
https://github.com/ltonetwork/identity-vault/blob/main/src/setup.ts#L63

However it throws an arrayify error, probably because something is going wrong with this conversion: (SEED ? bytesToBase58(sha256(SEED)) : 'not_secret').

Temporary workaround is to set the KMS_SECRET_KEY value in the config to the value it used to have, as shown here:
543f845#diff-5d1af95661c2f11542bf816c46ed8d5f2a014b5666437e05a9f8f00647bd7df1L60

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

No branches or pull requests

1 participant