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

Unclear how to claim as a keybase user #12

Closed
troq opened this issue Apr 5, 2019 · 6 comments
Closed

Unclear how to claim as a keybase user #12

troq opened this issue Apr 5, 2019 · 6 comments

Comments

@troq
Copy link

troq commented Apr 5, 2019

How does claiming work as a keybase user? From what I can tell, you added the public pgp keys for keybase users who have verified their Hackernews accounts, but it's unclear how to actually claim and on what device.

@dos1
Copy link

dos1 commented Apr 5, 2019

As far as I understand it, you should claim it using your PGP private key.

@troq
Copy link
Author

troq commented Apr 5, 2019

Right, but according to the testnet 4 update, the keys for Keybase users who have connected their Hackernews accounts over 1.5 years old were added to the airdrop, but it's unclear which keys were used. If it's PGP keys, not every Keybase user will have that as Keybase changed their key model in 2015. Looking at the source code @chjj wrote, it doesn't look like support for NaCl keys was added even though that's what most users will have.

@tynes
Copy link

tynes commented May 15, 2019

Taking a look at the Keybase API docs, I found something interesting:

Keybase's interface currently supports one key per user.
Uploading a new key requires revoking/replacing an old one.
However, the public_keys object is designed to support
multiple in the future.

https://keybase.io/docs/api/1.0/user_objects

This seems like its outdated because there is an endpoint for adding a key.
https://keybase.io/docs/api/1.0/call/key/add

Digging in some more, NaCl uses Ed25519, which is supported.

const ed25519 = require('bcrypto/lib/ed25519');

https://en.wikipedia.org/wiki/NaCl_(software)

If I understand the codepath correctly, keys that have supported algorithms

if (e.message === 'Unsupported algorithm.') {

and are valid
if (!key.validate()) {

will end up in the tree. What is unclear to me is if each user will only have 1 key or all of their keys included from Keybase.

I'm sure that people would like to test out claiming from their Keybase keys, do you mind commenting on this @chjj?

@meithecatte
Copy link

Any news on this issue?

@jonnydubowsky
Copy link

I too would love insight into how to claim as Keybase user w/ social proof from Hacker News?

@pinheadmz
Copy link
Member

The process is the same as for GitHub users: run the script with your PGP key.

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

6 participants