keybase / keybase/keybase-issues

cli client does not work on IPv6 nodes

Open
#1,423 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I don't have any native IPv4, though my network does have NAT64 (which provides access to the entire IPv4 internet).

However, keybase does not seem to attempt to establish a connection over IPv6:

$ keybase signup
warn: No config file found; tried '/home/hugo/.config/keybase/config.json'
Your email: hugo@barrera.io
Invitation code (leave blank if you don't have one): 
Would you like to be added to the invite list? [Y/n] Y
Your name: Hugo Osvaldo Barrera
Any comments for the team: 
error: Could not access URL: https://api.keybase.io:443/_/api/1.0/invitation_request.json

In this day and age, IPv6 support is critical.


Note that this network has NAT64, so the remote server does not require any knowledge of IPv6, but the client should attempt to connect to relevant AAAA records as wel as A records when initiating the connection.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with keybase signup on an IPv6-only or NAT64 network and observe the request to https://api.keybase.io:443/_/api/1.0/invitation_request.json. Trace the CLI's connection path and verify how it handles A and AAAA records. Done means the client can establish the request over IPv6 when IPv4 is unavailable.

Written by the indexing model from the issue text.

Assessment

Domain
cli, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.