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

QR code for peering #25

Open
benhylau opened this issue Feb 10, 2015 · 4 comments
Open

QR code for peering #25

benhylau opened this issue Feb 10, 2015 · 4 comments

Comments

@benhylau
Copy link
Member

We have a standardized format to request for peering and distribute credentials. It's work-in-progress, but they will look something like this.

Peering Request

scheme://host/?type=peer&interface=udp&link=overlay&pk=wrbtPk&metadata=metadataOfAlice&cjdnsVersion=X&wrbtVersion=Y

Credentials

scheme://host/?type=credentials&interface=udp&link=overlay&pk=wrbtPk&message=encodedMessage&cjdnsVersion=X&wrbtVersion=Y

This text should be sent through one of the following methods.

cjdns2

All of them are easy to do, except QR code requires more work. Probably use zxing to encode and decode between text and QR.

@benhylau
Copy link
Member Author

Oops forgot this #2 exists.

@hossain-khan
Copy link

Hey @benhylau,
I haven't done much research into it, but I guess we should be able to easily create QR code with the URL and data. But don't we need a defined scheme name instead of scheme:// and then register intent filters in the app so that this app becomes one of the option to open the URL?

@benhylau
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants