Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

some doubt about the security of lisk #588

Closed
liulinhui opened this issue May 27, 2017 · 1 comment
Closed

some doubt about the security of lisk #588

liulinhui opened this issue May 27, 2017 · 1 comment
Assignees

Comments

@liulinhui
Copy link

__private.openAccount = function (secret, cb) { var hash = crypto.createHash('sha256').update(secret, 'utf8').digest(); console.log(secret);

so if I install one node,if someone login my node,i can get his secret, is this safe?

@4miners 4miners self-assigned this May 27, 2017
@4miners
Copy link
Contributor

4miners commented May 27, 2017

@liulinhui Thank you for your question. Ofc it's not safe, you should never send secret to nodes you not trust. That will be solved with #457. If you don't have further questions please close that issue.

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

No branches or pull requests

2 participants