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

Reference Browser Integration for Stateless DANE #17

Open
rithvikvibhu opened this issue Dec 2, 2023 · 8 comments
Open

Reference Browser Integration for Stateless DANE #17

rithvikvibhu opened this issue Dec 2, 2023 · 8 comments

Comments

@rithvikvibhu
Copy link

What have you built previously?

A bunch of Handshake-specific tools and services, listed at https://htools.work
All projects are open source: https://github.com/htools-org

What will you be building? Why is that a valuable open source contribution to Handshake?

Stateless DANE is proposal that enables light clients to use minimal resources and can verify TLS trustlessly for any Handshake site without relying on the Handshake network all the time.

The goal here is to use the stateless dane library and integrate it with a browser: as a proof of concept, as a code demo to share with other browsers, and as a reference for alt-implementations.

Rough Roadmap:

  • Set up a browser dev environment
  • Build the browser without major changes
  • Study where the code relevant to HTTPS and certificates are
  • Add sane's build steps into browser's build process
  • Modify UI to show hns info, settings to configure it (enable/disable)
  • Figure out how the library fits into the request handling part (would have to be at a lower level, not a proxy like fingertip)
  • Look into packaging all these changes for review / reference
  • Write up on the changes made

To be clear, this is a reference, not a commitment to maintain a brand new browser, keeping it updated with security patches, etc.

Similar works:

What are completion criteria?

  • A basic integration of the stateless DANE library with a browser (chromium mostly)
  • Document how it was done, and what other browsers need to do to get something similar working

When will this be completed?

A bit hard to estimate, but once the stateless dane library is complete, ~4 weeks. Maybe a bit more based on the amount of work needed.

What is your contact information?

  • Telegram @rithvikvibhu
  • rithvikvibhu @ gmail . com
@Nathanwoodburn
Copy link

Would this work for mobile? Or is that more work?

@rithvikvibhu
Copy link
Author

Would this work for mobile? Or is that more work?

Anywhere. It's especially useful for mobile since unlike hnsd, it doesn't need to stay connected all the time.

@Nathanwoodburn
Copy link

Awesome. Any ideas how long it would take to convert your "demo" into a working android browser (as there isn't any yet)

@rithvikvibhu
Copy link
Author

Idk about a browser, but with the stateless dane lib, it should be possible to build an external app (VPN-like proxy).

@Nathanwoodburn
Copy link

That sounds awesome.

@pcfreak30
Copy link

Kudos. This will be very valuable for Lume and HNS (and means I don't need to solve this myself 🙃)

@NetOpWibby
Copy link

HELL YEAH WOOOOO

@kauri-hero
Copy link

kauri-hero commented Jan 23, 2024

Congrats and amazing initiative to see - looking forward to it for MASQ Browser

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

No branches or pull requests

5 participants