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

CONSOLE SECURITY ERROR #1

Closed
Nikatik opened this issue Feb 16, 2021 · 1 comment
Closed

CONSOLE SECURITY ERROR #1

Nikatik opened this issue Feb 16, 2021 · 1 comment

Comments

@Nikatik
Copy link

Nikatik commented Feb 16, 2021

I installed the rust binaries from installation script and added rust directory to $PASH. Then i build Alfis in custom directory /tmp/alfis and give 0777 permission for this directory. After cargo run all key commands cause CONSOLE SECURITY ERROR

Я установил раст через установочный скрипт, а не из пакетного менеджера, прописал его в системное окружение PATH, доставил нужную либу. Далее я склонировал и собрал проект Alfis в кастомной дирректории /tmp/alfis, после чего дал полные 0777 права на данную папку для избежания проблем с разрешениями. После запуска программы с помощью cargo run любые команды, связанные с ключами, вызывают ошибку CONSOLE SECURITY ERROR. Логи приложены ниже.

Logs:

ALFIS 0.1.0
Generated temporary keystore. Please, generate full-privileged keys.
No blocks found in DB
Started node listener on 127.0.0.1:4244
Command {"cmd":"loaded"}
Evaluating keystoreChanged('', 'B3114E836CFF4DFD06C13FE98D7BBD7ECD9AF611055C470F2EC41BD1F2C04514');
Created connection to peer 127.0.0.1:44421
Created connection to peer 127.0.0.1:10000
Created connection to peer 127.0.0.1:10001
Created connection to peer 127.0.0.1:10002
Event for socket 1 is Event { token: Token(1), readable: false, writable: true, error: true, read_closed: true, write_closed: true, priority: false, aio: false, lio: false }
Peer connection 127.0.0.1:44421 has shut down
Event for socket 2 is Event { token: Token(2), readable: false, writable: true, error: true, read_closed: true, write_closed: true, priority: false, aio: false, lio: false }
Peer connection 127.0.0.1:10000 has shut down
Event for socket 3 is Event { token: Token(3), readable: false, writable: true, error: true, read_closed: true, write_closed: true, priority: false, aio: false, lio: false }
Peer connection 127.0.0.1:10001 has shut down
Event for socket 4 is Event { token: Token(4), readable: false, writable: true, error: true, read_closed: true, write_closed: true, priority: false, aio: false, lio: false }
Peer connection 127.0.0.1:10002 has shut down
Command {"cmd":"createKey"}
Got event from bus KeyGeneratorStarted
Evaluating showMiningIndicator(true);
CONSOLE SECURITY ERROR Not allowed to navigate top frame to data URL 'data:text/html,%3C%21DOCTYPE%20html%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%20%20%20%20%3Cmeta%20charset%3D%22utf-8%22%3E%0A%20%20%20%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1%22%3E%0A%20%20%20%20%3Ctitle%3EWyrd%3C%2Ftitle%3E%0A%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%2F%2A%21%20bulma.io%20v0.8.0%20%7C%20MIT%20License%20%7C%20github.com%2Fjgthms%2Fbulma%20%2A%2F%0A%40-webkit-keyframes%20spinAround%20%7B%0A%20%20from%20%7B%0A%20%20%20%20transform%3A%20rota...0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fform%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%20%20%20%20%3C%2Fdiv%3E%20%3C%21--%20columns%20--%3E%0A%3C%2Fdiv%3E%0A%0A%3Cdiv%20class%3D%22footer%20is-hidden%22%3ESome%20footer%20text%20is%20here%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E?#'.
Generated keypair: Keystore { private_key: *** , public_key: 000000EFE074479DECDC892694D87585DE79DDD3FCAF1659305A9CE914121B61, path: "", seed: [119, 252, 128, 37, 161, 191, 147, 180, 177, 33, 159, 165, 102, 253, 172, 246, 42, 42, 50, 244, 193, 200, 26, 233, 233, 152, 68, 173, 75, 125, 124, 131] }
Key mined successfully: 000000EFE074479DECDC892694D87585DE79DDD3FCAF1659305A9CE914121B61
Got event from bus KeyCreated { path: "", public: "000000EFE074479DECDC892694D87585DE79DDD3FCAF1659305A9CE914121B61" }
Evaluating keystoreChanged('', '000000EFE074479DECDC892694D87585DE79DDD3FCAF1659305A9CE914121B61');
Keystore mining finished
Keystore mining finished
Keystore mining finished
Got event from bus KeyGeneratorStopped
Evaluating showMiningIndicator(false);
Command {"cmd":"saveKey"}
Key file saved to /home/nikat/Documents/alfis
Got event from bus KeySaved { path: "/home/nikat/Documents/alfis", public: "000000EFE074479DECDC892694D87585DE79DDD3FCAF1659305A9CE914121B61" }
Evaluating keystoreChanged('/home/nikat/Documents/alfis', '000000EFE074479DECDC892694D87585DE79DDD3FCAF1659305A9CE914121B61');
CONSOLE SECURITY ERROR Not allowed to navigate top frame to data URL 'data:text/html,%3C%21DOCTYPE%20html%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%20%20%20%20%3Cmeta%20charset%3D%22utf-8%22%3E%0A%20%20%20%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1%22%3E%0A%20%20%20%20%3Ctitle%3EWyrd%3C%2Ftitle%3E%0A%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%2F%2A%21%20bulma.io%20v0.8.0%20%7C%20MIT%20License%20%7C%20github.com%2Fjgthms%2Fbulma%20%2A%2F%0A%40-webkit-keyframes%20spinAround%20%7B%0A%20%20from%20%7B%0A%20%20%20%20transform%3A%20rota...0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fform%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%20%20%20%20%3C%2Fdiv%3E%20%3C%21--%20columns%20--%3E%0A%3C%2Fdiv%3E%0A%0A%3Cdiv%20class%3D%22footer%20is-hidden%22%3ESome%20footer%20text%20is%20here%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E?#'.
Command {"cmd":"createKey"}
Got event from bus KeyGeneratorStarted
Evaluating showMiningIndicator(true);
CONSOLE SECURITY ERROR Not allowed to navigate top frame to data URL 'data:text/html,%3C%21DOCTYPE%20html%3E%0A%3Chtml%3E%0A%3Chead%3E%0A%20%20%20%20%3Cmeta%20charset%3D%22utf-8%22%3E%0A%20%20%20%20%3Cmeta%20name%3D%22viewport%22%20content%3D%22width%3Ddevice-width%2C%20initial-scale%3D1%22%3E%0A%20%20%20%20%3Ctitle%3EWyrd%3C%2Ftitle%3E%0A%20%20%20%20%3Cstyle%20type%3D%22text%2Fcss%22%3E%2F%2A%21%20bulma.io%20v0.8.0%20%7C%20MIT%20License%20%7C%20github.com%2Fjgthms%2Fbulma%20%2A%2F%0A%40-webkit-keyframes%20spinAround%20%7B%0A%20%20from%20%7B%0A%20%20%20%20transform%3A%20rota...0%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fform%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%0A%20%20%20%20%20%20%20%20%3C%2Fdiv%3E%0A%0A%20%20%20%20%3C%2Fdiv%3E%20%3C%21--%20columns%20--%3E%0A%3C%2Fdiv%3E%0A%0A%3Cdiv%20class%3D%22footer%20is-hidden%22%3ESome%20footer%20text%20is%20here%3C%2Fdiv%3E%0A%3C%2Fbody%3E%0A%3C%2Fhtml%3E?#'.

@Revertron
Copy link
Owner

When developers of WebKit removed navigation to data:// URLs they didn't think about forms with action="#" that say to browser that there will be NO navigation.
In a "fix" I've disabled logging to not scare users :)

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

2 participants