{"action":"created","issue":{"url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/260","repository_url":"https://api.github.com/repos/Ysurac/openmptcprouter","labels_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/260/labels{/name}","comments_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/260/comments","events_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/260/events","html_url":"https://github.com/Ysurac/openmptcprouter/issues/260","id":391881905,"node_id":"MDU6SXNzdWUzOTE4ODE5MDU=","number":260,"title":"SS invalid key format (bad luck ?)","user":{"login":"PxxBxx","id":6170432,"node_id":"MDQ6VXNlcjYxNzA0MzI=","avatar_url":"https://avatars2.githubusercontent.com/u/6170432?v=4","gravatar_id":"","url":"https://api.github.com/users/PxxBxx","html_url":"https://github.com/PxxBxx","followers_url":"https://api.github.com/users/PxxBxx/followers","following_url":"https://api.github.com/users/PxxBxx/following{/other_user}","gists_url":"https://api.github.com/users/PxxBxx/gists{/gist_id}","starred_url":"https://api.github.com/users/PxxBxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PxxBxx/subscriptions","organizations_url":"https://api.github.com/users/PxxBxx/orgs","repos_url":"https://api.github.com/users/PxxBxx/repos","events_url":"https://api.github.com/users/PxxBxx/events{/privacy}","received_events_url":"https://api.github.com/users/PxxBxx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-17T20:42:38Z","updated_at":"2018-12-18T06:55:57Z","closed_at":null,"author_association":"NONE","body":"## Expected Behavior\r\n\r\nclean VPS install working\r\n\r\n## Actual Behavior\r\n\r\nShadowsocks doesn't launch because of invalid key format\r\n\r\n## Steps to Reproduce the Problem\r\n\r\n  1. clean install\r\n  2. invoke bad luck charm\r\n  3.\r\n\r\n## Details\r\n\r\nMy original key was 08iFt1latmaWg+TSfsZABodIuVypc2kOwYyun8pGtJM=\r\nBut SS was not running, and when `systemctl status` it, here was the output : \r\n`Dec 17 20:27:55 my-vps ss-server[26741]:  2018-12-17 20:27:55 INFO: initializing ciphers... chacha20`\r\n`Dec 17 20:27:55 my-vps ss-server[26741]:  2018-12-17 20:27:55 ERROR: Invalid key for your chosen cipher!`\r\n`Dec 17 20:27:55 my-vps ss-server[26741]:  2018-12-17 20:27:55 ERROR: It requires a 32-byte key encoded with URL-safe Base64`\r\n\r\nSo I entered a new base64 key, without any pluses (+) sign, and it worked.\r\nExample : pLN7VWSPnLwlZaWIGb0HDUlJNjEl9WPmOrn_Y5k4pLo=\r\n\r\n**=> maybe add a security in the VPS install script to avoid pluses (+) signs in the generated SS key ?**\r\nOr the problem is elsewhere, but all 10 keys randomly generated at launch by the shadowsock binary had no pluses (+) in them.\r\n\r\n## Specifications\r\n\r\n  - OpenMPTCProuter version: 0.44.2\r\n  - OpenMPTCProuter VPS version: 0.79\r\n  - OpenMPTCProuter platform: x64\r\n"},"comment":{"url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/comments/448116459","html_url":"https://github.com/Ysurac/openmptcprouter/issues/260#issuecomment-448116459","issue_url":"https://api.github.com/repos/Ysurac/openmptcprouter/issues/260","id":448116459,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODExNjQ1OQ==","user":{"login":"Ysurac","id":6342954,"node_id":"MDQ6VXNlcjYzNDI5NTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6342954?v=4","gravatar_id":"","url":"https://api.github.com/users/Ysurac","html_url":"https://github.com/Ysurac","followers_url":"https://api.github.com/users/Ysurac/followers","following_url":"https://api.github.com/users/Ysurac/following{/other_user}","gists_url":"https://api.github.com/users/Ysurac/gists{/gist_id}","starred_url":"https://api.github.com/users/Ysurac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ysurac/subscriptions","organizations_url":"https://api.github.com/users/Ysurac/orgs","repos_url":"https://api.github.com/users/Ysurac/repos","events_url":"https://api.github.com/users/Ysurac/events{/privacy}","received_events_url":"https://api.github.com/users/Ysurac/received_events","type":"User","site_admin":false},"created_at":"2018-12-18T06:55:57Z","updated_at":"2018-12-18T06:55:57Z","author_association":"OWNER","body":"The key used in the json config of shadowsocks doesn't have the \"+\" sign, it's removed by VPS script before adding in the config. Same on OpenMPTCProuter part.\r\nWhere did you put this key ?"}}
{"actor":{"display_login":"Ysurac"}}