keybase-issues icon indicating copy to clipboard operation
keybase-issues copied to clipboard

IRC Nicknames

Open ChristianGaertner opened this issue 12 years ago • 17 comments

Hi,

I think it would be cool to have IRC Nicknames (registered with NickServ) added to the verification list.

I imagine something like an input for the server (or just freenode to begin with?) and the main NickServ account.

KeyBase would need a simple bot to join the server (or in case of freenode only, idle on the server) and query nickserv.

A user can add metadata to their account in simple key=value format.

This would integrate very well with already existing verification systems used on KeyBase (TXT record verification).

What do you think?

Christian (https://keybase.io/dagardner)

ChristianGaertner avatar Apr 13 '14 18:04 ChristianGaertner

Not sure how this would be implemented, but it would certainly be awesome to see! Especially for official channels.

zQueal avatar Apr 13 '14 21:04 zQueal

NickServ bots are very different. Not all support adding metadata. It'd be hard to support all IRC networks.

thomwiggers avatar Apr 13 '14 22:04 thomwiggers

On some networks, don't nicks expire if they are inactive for any length of time which means they are available for registration by others?

craighurley avatar Apr 15 '14 06:04 craighurley

They do, usually in 2-6 weeks (freenode's 10 weeks might be the longest). (Though the "info" response usually shows the account registration date, and in Atheme 7.1 also the unique "entity ID".)

grawity avatar Apr 15 '14 06:04 grawity

One option might be using CTCP to check periodically, and make sure they're authed with NickServ when the check happens. The tricky bit is how often, and how to handle users who only use IRC during certain hours of the day

rummik avatar Apr 16 '14 04:04 rummik

I for one treat IRC as a place that I don't want information about me leaking to other unknow users/systems, therefore I block all CTCP requests by default and more importantly I use a cloak so users cannot simply do a /whois to see my IP address. There are many other users that take the same approach.

Considering the transient nature of IRC and nicknames, this all sounds very fragile.

craighurley avatar Apr 16 '14 04:04 craighurley

@craighurley Hm. True. There's also the users who change their nick to display away status.

rummik avatar Apr 16 '14 05:04 rummik

I am not sure what good CTCP would even do here. It is not good as an online check, and only some clients allow defining custom replies for using it to store Keybase metadata.

grawity avatar Apr 16 '14 05:04 grawity

@grawity Good point. Hadn't really thought about the implications of that. At the same time, I'd argue it's a bit like having a server go down

Nothing seems to really beat IRC networks that allow storing metadata with NickServ though.

rummik avatar Apr 16 '14 05:04 rummik

The only way this could be possible is for those networks which implement CertFP - which is at least freenode, oftc, and rizon to my knowledge. Those use client-side keys (still gpg keys) for authentication and can be validated as such.

Not sure that there's a way to get that user's fingerprint publicly though.

If anything this would be more applicable to XMPP, which is federated, well-standardized and moving towards encrypted-only communications (especially through gpg and otr).

katanacrimson avatar Apr 21 '14 02:04 katanacrimson

CertFP is X.509 SSL certificates, not PGP. And no, practically all servers hide that information.

grawity avatar Apr 21 '14 11:04 grawity

When NickServ deletes your registration (I hate networks, which does this), all your information simply disappears from NickServ. All you have to do is some periodic /msg nickserv info . You can add the signed verification message as something on nearly all servers. You can start a special channel #keybase-verification and log it. You can do a lot of different stuff. Cloaking is a common sense, but doesn't prevent authentication in any way. Would love to see Freenode, OFTC and possibly Mozilla networks.

Eremiell avatar Aug 05 '14 13:08 Eremiell

Being able to prove a Freenode NickServ account seems like a good addition. Expiring NickServ accounts are really no different to expiring domains.

keaston avatar Jun 03 '15 10:06 keaston

I'd imagine something like the following:

  1. The user signs a claim containing the IRC network, Account ID, and Account Name. The IRC network should probably point to a domain one can connect to, so that the implementation doesn't need a list of possible servers.
  2. The user then sets a NickServ metadata property with the hash, like you do with DNS proofs already.
  3. On the backend the keybase server will then connect to the server, (probably with a whitelist of allowed servers,) and query the account username's info, and compare the Account ID and the metadata property to what was claimed by the user.
  4. If both matches the claim is valid, else not.

One issue with this is that currently freenode does not show the account ids in the info output. It might be worth asking them about enabling it.

kyrias avatar Jun 20 '15 12:06 kyrias

You may want to suggest this on the master verification suggestion issue #518

gene1wood avatar Jul 22 '16 21:07 gene1wood

  1. You trigger a request for registering a Freenode nickname on keybase.io
  2. Keybase gives you a command to execute in your IRC client (something like /msg KeybaseBot verify someverylonghash78234652)
  3. KeybaseBot looks up your NickServ info and verifies your nickname

I could see this happening.

mfin avatar Feb 09 '17 09:02 mfin

Libera.Chat’s NickServ allows freeform taxonomy entries in your account data, so you could do something like /msg nickserv set property keybase-verification freso:445c124895d77b8af62011d67eaaf908e0c07b91826a7881d112ca688dcfb5bb0eb0dd18c775713e0f17db4403d8d7d80470e98670fe2a3c24da311d8f88d84f (or, y’know, whatever hash), which could then easily be queried using /msg nickserv taxonomy Freso.

Freso avatar Jun 03 '21 11:06 Freso