Re: IRC nicks in account system, FMN and matrix

2021-06-24 Thread Kevin Fenzi
On Thu, Jun 24, 2021 at 02:36:32PM +0200, Pierre-Yves Chibon wrote:
> On Thu, Jun 24, 2021 at 02:32:05PM +0200, Michal Konecny wrote:
> > 
> > 
> > On 24. 06. 21 11:51, Aurelien Bompard wrote:
> > > 
> > > > * Do we want to get noggin to be able to verify nicks first?
> > > How will the verification works?
> > > 
> > > 
> > > We don't know yet.  I was thinking of having and IRC bot that would get
> > > an HTTP request from Noggin to verify a user, and would send a link with
> > > a JWT token as a private message that the user would click on, pretty
> > > much like what we do for email (except it requires an IRC bot). Of
> > > course, if we want to support Matrix, we'll need a Matrix bot too to
> > > verify the nicknames as well.

The need to validate matrix might be less once we have the matrix
server, since people will need to login via our account system to their
@username:fedora.im or @username:fedoraproject.org matrix id.
Of course for those that use a non fedora matrix id it would need to be
validated somehow. 

> > > That's a pretty decent chunk of work and I don't think it can be done by
> > > next week. Hopefully sometime in the north hemispherian summer. So if we
> > > make it a requirement it's going to delay things quite a bit.
> 
> > I thought we will just validate that the username exists. If we want to
> > validate it's really the user it will be more difficult.
> 
> It's basically what FMN does and it works the way Aurélien has described it. I
> wonder if we could re-use parts of the code there? Or maybe even share the IRC
> bot?

Yeah, reuseing would be great here. 

kevin


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: IRC nicks in account system, FMN and matrix

2021-06-24 Thread Pierre-Yves Chibon
On Thu, Jun 24, 2021 at 02:32:05PM +0200, Michal Konecny wrote:
> 
> 
> On 24. 06. 21 11:51, Aurelien Bompard wrote:
> > 
> > > * Do we want to get noggin to be able to verify nicks first?
> > How will the verification works?
> > 
> > 
> > We don't know yet.  I was thinking of having and IRC bot that would get
> > an HTTP request from Noggin to verify a user, and would send a link with
> > a JWT token as a private message that the user would click on, pretty
> > much like what we do for email (except it requires an IRC bot). Of
> > course, if we want to support Matrix, we'll need a Matrix bot too to
> > verify the nicknames as well.
> > That's a pretty decent chunk of work and I don't think it can be done by
> > next week. Hopefully sometime in the north hemispherian summer. So if we
> > make it a requirement it's going to delay things quite a bit.

> I thought we will just validate that the username exists. If we want to
> validate it's really the user it will be more difficult.

It's basically what FMN does and it works the way Aurélien has described it. I
wonder if we could re-use parts of the code there? Or maybe even share the IRC
bot?


Pierre
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: IRC nicks in account system, FMN and matrix

2021-06-24 Thread Michal Konecny



On 24. 06. 21 11:51, Aurelien Bompard wrote:



* Do we want to get noggin to be able to verify nicks first?

How will the verification works?


We don't know yet.  I was thinking of having and IRC bot that would 
get an HTTP request from Noggin to verify a user, and would send a 
link with a JWT token as a private message that the user would click 
on, pretty much like what we do for email (except it requires an IRC 
bot). Of course, if we want to support Matrix, we'll need a Matrix bot 
too to verify the nicknames as well.
That's a pretty decent chunk of work and I don't think it can be done 
by next week. Hopefully sometime in the north hemispherian summer. So 
if we make it a requirement it's going to delay things quite a bit.
I thought we will just validate that the username exists. If we want to 
validate it's really the user it will be more difficult.



* Do we want to just hold off on all this until matrix is setup?

I would say that this doesn't change anything for people that are
already on matrix or IRC, I don't think we need to wait for our
own matrix instance.


My understanding of the tickets is that there was a bit of an urgency 
to avoid notifications being sent to the wrong people. So, maybe no 
waiting, but let's keep the scripts that go through the group 
descriptions around, as we may need them again ;-)



Aurélien

___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: IRC nicks in account system, FMN and matrix

2021-06-24 Thread Mark O'Brien
>
> I'd propose:
>
> * Set a date, like June 30th (1 week from today) to clear things.
> * Get things lined up before that date and on that date:
> * clear all irc info from groups, we can re-add info after matrix is
> setup pointing to matrix channels.
> * Clear all irc nicks from account system
> * Clear all irc nicks from FMN
> * Send announcement that we did that and ask everyone to re-enter irc
> nicks in account system and re-validate irc nicks with FMN.
>
>
+1 provided there is no issue with revalidating on fmn


> Outstanding questions:
> * Do we want to get that noggin PR rolled out first?
>

I would say we want this out first if possible.

* Do we want to get noggin to be able to verify nicks first?
>

I don't think this is absolutely necessary, if it is a quick fix then yes
but if it will end up pushing out the change I would say it ok to
leave it out for now


> * Do we want to just hold off on all this until matrix is setup?
>

I don't think we need to. We don't have a definite date for this
so probably best not to wait.


Mark
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: IRC nicks in account system, FMN and matrix

2021-06-24 Thread Aurelien Bompard
> * Do we want to get noggin to be able to verify nicks first?
>
> How will the verification works?
>

We don't know yet.  I was thinking of having and IRC bot that would get an
HTTP request from Noggin to verify a user, and would send a link with a JWT
token as a private message that the user would click on, pretty much like
what we do for email (except it requires an IRC bot). Of course, if we want
to support Matrix, we'll need a Matrix bot too to verify the nicknames as
well.
That's a pretty decent chunk of work and I don't think it can be done by
next week. Hopefully sometime in the north hemispherian summer. So if we
make it a requirement it's going to delay things quite a bit.

* Do we want to just hold off on all this until matrix is setup?
>
> I would say that this doesn't change anything for people that are already
> on matrix or IRC, I don't think we need to wait for our own matrix instance.
>

My understanding of the tickets is that there was a bit of an urgency to
avoid notifications being sent to the wrong people. So, maybe no waiting,
but let's keep the scripts that go through the group descriptions around,
as we may need them again ;-)


Aurélien
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: IRC nicks in account system, FMN and matrix

2021-06-24 Thread Michal Konecny

Hi Kevin,

I added my response inline to your original mail.

Michal

On 23. 06. 21 20:25, Kevin Fenzi wrote:

Greetings.

In https://pagure.io/fedora-infrastructure/issue/10053 Ryan notes that
we have a ton of groups that mention irc.freenode.net in their group
infromation in the account system.

In https://pagure.io/fedora-infrastructure/issue/10035 bookware notes
that we have irc nick's set in the account system when they may no
longer be valid with the irc network move. Also, our notifications
service is sending to the new network, but using the old
nicks/previously setup, which may or may not be the same.

Also, I'd like to note that libera.net is amending their nick policies
this friday: 
https://github.com/Libera-Chat/libera-chat.github.io/commit/cf5211538ed65e127f4fc842b62cf25817171e24
basically if someone registers a nick, but only uses it 2 for less than
2 hours after registering, it can be freed up after 2 weeks.
This new policy may allow some contributors that couldn't get their old
nick on the new network back.

Addiitonally, we hope to sometime real soon now(tm) have our fedora
matrix server up and running with 'spaces' so all the rooms and mappings
will change around again then anyhow.

Abompard has a PR to noggin to allow it to specify irc network and
matrix ids: https://github.com/fedora-infra/noggin/pull/668

So, what do we want to do here?

I'd propose:

* Set a date, like June 30th (1 week from today) to clear things.
* Get things lined up before that date and on that date:
* clear all irc info from groups, we can re-add info after matrix is
setup pointing to matrix channels.
* Clear all irc nicks from account system
* Clear all irc nicks from FMN
* Send announcement that we did that and ask everyone to re-enter irc
nicks in account system and re-validate irc nicks with FMN.

Outstanding questions:
* Do we want to get that noggin PR rolled out first?

I would be glad to add my matrix nick to Noggin. So I'm for it.

* Do we want to get noggin to be able to verify nicks first?

How will the verification works?

* Do we want to just hold off on all this until matrix is setup?
I would say that this doesn't change anything for people that are 
already on matrix or IRC, I don't think we need to wait for our own 
matrix instance.

* Clearning verified irc from FMN, does that also require users to
re-enter all their rules?
I think the rules are tied to FAS name and the IRC nick is just an 
option. Removing the IRC nick shouldn't remove the rules, but I'm not 
sure here. If anybody knows more, please correct me if I'm wrong.


Thoughts?

kevin

___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


IRC nicks in account system, FMN and matrix

2021-06-23 Thread Kevin Fenzi
Greetings. 

In https://pagure.io/fedora-infrastructure/issue/10053 Ryan notes that
we have a ton of groups that mention irc.freenode.net in their group
infromation in the account system. 

In https://pagure.io/fedora-infrastructure/issue/10035 bookware notes
that we have irc nick's set in the account system when they may no
longer be valid with the irc network move. Also, our notifications
service is sending to the new network, but using the old
nicks/previously setup, which may or may not be the same. 

Also, I'd like to note that libera.net is amending their nick policies
this friday: 
https://github.com/Libera-Chat/libera-chat.github.io/commit/cf5211538ed65e127f4fc842b62cf25817171e24
basically if someone registers a nick, but only uses it 2 for less than
2 hours after registering, it can be freed up after 2 weeks.
This new policy may allow some contributors that couldn't get their old
nick on the new network back. 

Addiitonally, we hope to sometime real soon now(tm) have our fedora
matrix server up and running with 'spaces' so all the rooms and mappings
will change around again then anyhow. 

Abompard has a PR to noggin to allow it to specify irc network and
matrix ids: https://github.com/fedora-infra/noggin/pull/668

So, what do we want to do here?

I'd propose: 

* Set a date, like June 30th (1 week from today) to clear things. 
* Get things lined up before that date and on that date:
* clear all irc info from groups, we can re-add info after matrix is
setup pointing to matrix channels.
* Clear all irc nicks from account system
* Clear all irc nicks from FMN
* Send announcement that we did that and ask everyone to re-enter irc
nicks in account system and re-validate irc nicks with FMN.

Outstanding questions: 
* Do we want to get that noggin PR rolled out first?
* Do we want to get noggin to be able to verify nicks first?
* Do we want to just hold off on all this until matrix is setup?
* Clearning verified irc from FMN, does that also require users to
re-enter all their rules?

Thoughts?

kevin


signature.asc
Description: PGP signature
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure