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

feat: support ED25519 at subdomain gw with TLS #7441

Merged
merged 1 commit into from
Jul 10, 2020

Commits on Jul 10, 2020

  1. feat: support ED25519 libp2p-key in subdomains

    This:
    
    - adds subdomain gateway support for ED25519 CIDs in a way that fits in
      a single DNS label to enable TLS for every IPNS website.
    
    - cleans up subdomain redirect logic and adds more explicit error
      handling.
    
    TL;DR on router logic:
    
    When CID is longer than 63 characters, router at /ipfs/* and /ipns/*
    converts to Base36, and if that does not help, returns a human readable
    400 Bad Request error.
    
    Addressing code review:
    #7441 (review)
    
    refactor: use b36 for all libp2p-keys in subdomains
    Consensus reached in
    #7441 (comment)
    #7441 (comment)
    #7441 (comment)
    lidel committed Jul 10, 2020
    Configuration menu
    Copy the full SHA
    b0af543 View commit details
    Browse the repository at this point in the history