-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
feat(www): support server name on dynamic keys #1483
Conversation
Could it be possible to add support for extra fields over Dynamic Access Keys? |
This could extend into that at some point - but what's your use case? |
I don't want to have multiple bucket to update. The idea is : one bucket define one server { server, method and perhaps port}. It's like owning a domain, but it will be free of charge and anonymous (for the domain part) |
The issue is potenitally exposing a person's password in plaintext this way. Is that something we'd be comfortable with @fortuna or would it be a security issue |
@taxi-c thanks for sharing your use case. We are looking into an advanced config format. For example: {
"type": "OutlineService",
"dialer": {
"type": "Shadowsocks",
"socket": { "host": "1.2.3.4", "port": 443},
"encryption": {
"cipher": "chacha20-ietf-poly1305", "secret": "1234"
}
}
} I can imagine a world where the objects can be references instead. For example: {
"type": "OutlineService",
"dialer": {
"type": "Shadowsocks",
"socket": "https://example.com/server_info",
"encryption": {
"cipher": "chacha20-ietf-poly1305", "secret": "1234"
}
}
} Or more explicitly: {
"type": "OutlineService",
"dialer": {
"type": "Shadowsocks",
"socket": { "type": "Ref", "location": "https://example.com/server_info"},
"encryption": {
"cipher": "chacha20-ietf-poly1305", "secret": "1234"
}
}
} Then {"host": "1.2.3.4", "port": 443} But it will take some time to support these, we have a lot of work to do to decouple the networking logic from our per-platform code. |
i'm not familiar with the "outline" model-threat but in the new version of shadowsocks 2022, it's seems that base64URL should be avoid. But not everybody agree. Whatever, if it's a security issue, the extra fields could be encoded in base64. shadowsocks/shadowsocks-org#196 (comment) https://shadowsocks.org/guide/sip002.html |
@fortuna I understand. But in the online configuration Delivery (SIP008) of shadowsocks, the json file version 1, is different. And i also think for my convenience use case, Outline manager will not manage all the web references (one for the server and many for all the client), and probably none of them. So i'll have to manage these references. If i have just the server reference to maintain up to date, it will be easy. And i can expect outline-manager give me the extra field password (encoded or not) in the share access option. I also don't know if you plan to implement the shadowsocks2022 version (SIP022), who sounds great against probing. |
Adds the functionality for determining the server name that's on
ss://
tossconf://