Giter Site home page Giter Site logo

Comments (27)

madeye avatar madeye commented on May 3, 2024

@shadowsocks/contributors

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

Encode pass:encrypt@hostname:port with base64

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

OK, like shadow://cGFzczplbmNyeXB0QGhvc3RuYW1lOnBvcnQ=/?

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

That's OK.
// can be removed as well.

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

I'm not sure that whether shadow:cGFzczplbmNyeXB0QGhvc3RuYW1lOnBvcnQ= can be resolved as a valid URI? And what about the = here, is it valid?

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

The latest URI looks like that:

Plain: shadow:bf-cfb:[email protected]:1234

BASE64 encoded (UTF-8, no padding): shadow:YmYtY2ZiOnBhc3NAdGVzdC5jb206MTIzNA

QR Image:

test

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

iOS version will also implement this protocol soon.

from shadowsocks-android.

ayanamist avatar ayanamist commented on May 3, 2024

Can you guys use a full URI like shadowsocks://bf-cfb:[email protected]:1234 and shadowsocks://YmYtY2ZiOnBhc3NAdGVzdC5jb206MTIzNA which scheme added with two backslashs.
Also i suggest use shadowsocks instead of shadow to avoid potential name conflicts with any shadow xxx apps.

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

IMHO, shadowsocks:// is too long.

from shadowsocks-android.

ayanamist avatar ayanamist commented on May 3, 2024

So use ss:// instead? I think avoiding name conflict is more important.

from shadowsocks-android.

shao222 avatar shao222 commented on May 3, 2024

我觉得 sss: 代替shadow:
2013年12月1日 下午2:27于 "Max Lv" [email protected]写道:

IMHO, shadowsocks:// is too long.


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-29568314
.

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

Maybe ss: is better :)

from shadowsocks-android.

ayanamist avatar ayanamist commented on May 3, 2024

ss:blahblah is not a valid url. We should use a valid url so that it can be used in Intent

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

Actually it's a valid URI, like this mailto:[email protected]

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

Actually it's not a uri. It's just a protocol. So it's ok to remove slashes.
On Dec 1, 2013 2:33 PM, "Max Lv" [email protected] wrote:

Actually it's a valid URI, like this mailto:[email protected]


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-29568392
.

from shadowsocks-android.

ayanamist avatar ayanamist commented on May 3, 2024

So you guys don't want to invoke such a url to pass data from any place to shadowsocks apps? You should check all platforms support such thing can be passed from one app to another, especially on iOS.

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

It's valid URI and can be used as a intent natively in Android....

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

I'll give iOS a test.
On Dec 1, 2013 2:38 PM, "ayanamist" [email protected] wrote:

So you guys don't want to invoke such a url to pass data from any place to
shadowsocks apps? You should check all platforms support such thing can be
passed from one app to another, especially on iOS.


Reply to this email directly or view it on GitHubhttps://github.com//issues/51#issuecomment-29568443
.

from shadowsocks-android.

ayanamist avatar ayanamist commented on May 3, 2024

@madeye Yes it's supported on Android i know, so i emphasis on ugly iOS.

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

@madeye @ayanamist

Adding // results better compatibility in several qrcode scanner apps on iOS.

from shadowsocks-android.

ayanamist avatar ayanamist commented on May 3, 2024

This is what i was worried about. So ss://blahblah are more compatible.

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

Maybe I should add a qrcode scanner directly into the app. Even Weixin takes the scan results as pure text. No matter if // exists.

from shadowsocks-android.

madeye avatar madeye commented on May 3, 2024

Sounds good for me. Let's use ss:// instead.

from shadowsocks-android.

ayanamist avatar ayanamist commented on May 3, 2024

@clowwindy You are going to make problem more complicated....

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

Safari supports shadow://
QRCode supports shadow://
QR.Code supports shadow://
QuickMark supports shadow://
Barcodes supports both
Weixin supports neither

from shadowsocks-android.

clowwindy avatar clowwindy commented on May 3, 2024

@ayanamist Thanks pal. Your advice is really helpful.

from shadowsocks-android.

CzBiX avatar CzBiX commented on May 3, 2024

Can we add support for Issuer/Label just like Google Authenticator?

from shadowsocks-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.