-
-
Notifications
You must be signed in to change notification settings - Fork 32
-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
zeronet.py siteSign ... is not working to sign user's content.json file #212
Comments
siteSign is working, yet it does not accept all paths. Apparently accepted paths are:
Though on Linux, I am used to the practice that when utility wants file path, i can enter absolute path or relative path to current directory i am at, but unfortunately Zeronet does not seem to work that way, which is wrong IMO. Full path and relative path (
Can you please allow user to define absolute/full and relative path to json file? Beside that, please consider changing "zeronet.py siteSign -h" output from:
to something like
i was unable to find "File you want to sign" phrase inside this repository code. |
Step 1: Please describe your environment
Step 2: Describe the problem:
Last hour, i was trying to use both ZeroNetX (0.8.5 r4625) and ZeronetC. (0.7.8.1+ r5041) command to sign content.json file of one user of my ZeroTalk clone site. -> inside user's content.json file is "modified" variable and it does not change after signing command is executed.
Steps to reproduce:
cd /home/you/zeronet/data/yoursite/data/users/userpubkey/
grep mod content.json
python3 /home/you/zeronet/core/zeronet.py siteSign YourSiteAddress YourSitePrivateKey --inner_path content.json --publish
grep mod content.json
some errors spotted during the task:
ZNX: WebSocket receive error: cancel_wait_ex: [Errno 9] File descriptor was closed in another greenlet in UiWebsocket.py line 72 > lib/gevent_ws/init.py line 80 > 86 > 48 > 105 > 125 > 156 > /_socket3.py line 454 > ...
ZNC: WebSocket receive error: ConnectionResetError: [Errno 104] Connection reset by peer in UiWebsocket.py line 74 > lib/gevent_ws/init.py line 80 > 86 > 48 > 105 > 125 > 156 > /_socketcommon.py line 657
In case you can reproduce it, it is important to fix this as i am not aware about other way site admin can automate spam removal. If there is such way and you will not fix this issue without big delay, then, please instruct how to automate other way. Thank You.
The text was updated successfully, but these errors were encountered: