00:02
asymmetric_ has quit [Ping timeout: 252 seconds]
00:18
asymmetric has quit [Ping timeout: 252 seconds]
01:29
lassulus_ has joined #nixos-wiki
01:31
lassulus has quit [Ping timeout: 252 seconds]
01:31
lassulus_ is now known as lassulus
01:40
orivej has quit [Ping timeout: 240 seconds]
08:15
makefu has joined #nixos-wiki
08:47
<
makefu >
btw i'd love to see the wiki bot back here
09:06
orivej has joined #nixos-wiki
09:08
asymmetric has joined #nixos-wiki
09:10
orivej has quit [Ping timeout: 240 seconds]
09:21
orivej has joined #nixos-wiki
09:32
nixoswikibot has joined #nixos-wiki
09:33
<
fadenb >
makefu: bot is back, I still have to register the bot somehow but did not have the time to do that yet
11:51
orivej has quit [Ping timeout: 252 seconds]
12:07
<
pie_ >
fadenb, just register it normally? :P
12:08
<
fadenb >
pie_: That is not the issue but the bot then needs to authenticate
12:08
<
fadenb >
and the bot code sucks ;)
12:09
<
pie_ >
just msg inckserv identify on join? :P
12:09
<
pie_ >
it can send messages so this should work? xD
12:10
<
makefu >
pie_: we did exactly the same in the Reaktor|krebs bot code
12:10
<
Reaktor|krebs >
I'm famous
13:43
<
samueldr >
msg to nickserv on connect isn't great
13:43
<
samueldr >
it could have a race condition since it'd need nickserv to +r it
13:44
<
samueldr >
» you can supply your login details, in the form <account>:<password>, as a server password and they will be forwarded to NickServ when you finish connecting
13:44
<
samueldr >
that's how a bot should identify
13:44
<
fadenb >
Yep, already noted on my (neverending) todo list :p
13:45
<
samueldr >
(sharing so the mimimi-saying bot can be made better :))
13:45
<
samueldr >
ah, the bot will wait for a notice
13:46
<
samueldr >
hacky, but wouldn't race I guess
14:14
<
makefu >
samueldr: sasl is hard so we skipped that :D
14:14
<
samueldr >
I'm not even talking about SASL
14:14
<
makefu >
Reaktor is only saying mimimi when he is sad
14:15
<
makefu >
ahhh yeah i've read now what you mean
14:15
<
samueldr >
{`-`} connects using such a password
14:15
<
samueldr >
never had issues since the channels started using +r
14:15
<
samueldr >
(though it's not reconnecting often)
14:20
<
makefu >
i will check the IRC protocol what "logging in" actually means
14:21
<
samueldr >
it doesn't
14:21
<
samueldr >
depending on what you mean by "logging in"
14:21
<
samueldr >
it's pretty much server-dependent what is going to happen
14:22
<
samueldr >
and there is no "auth" in IRC, which is why bad hacks like nickserv exist
14:22
<
samueldr >
(if you forget about the new fancy stuff)
14:27
<
makefu >
the irc RFC is funny:
14:27
<
makefu >
It is strongly
14:27
<
makefu >
recommended that all server connections have a password in order to
14:27
<
makefu >
give some level of security to the actual connections.
14:27
<
makefu >
ah it is inter-server
14:27
<
samueldr >
written in another time
14:28
<
samueldr >
when you could trust everyone on the internet :D
14:28
<
makefu >
also, without encryption "level of security" is relative
14:31
<
makefu >
so if i understand correctly,you can supply "PASS user:password" as the first message
14:31
<
makefu >
luckily IRC is old enough to test with netcat
14:34
<
samueldr >
ah, right, if you're doing the protocol yourself instead of using a porcelain-y bit it's going to mean a bit more work
14:35
<
samueldr >
yeah, before "authing" (sending nick and ident) you can supply PASS
14:42
<
makefu >
samueldr: which lib are you using for {`-`}
14:42
<
samueldr >
kinda none, I haven't implemented {`-`}
14:43
<
makefu >
wow, and you packaged that monster? :D
14:45
<
makefu >
lassulus: ^
14:47
<
makefu >
but cinch also creates a sasl challenge
14:47
<
samueldr >
the few ruby things I needed to package, they were easy to package
14:48
<
samueldr >
yeah, cinch is a fully-featured library
15:27
<
lassulus >
makefu: done
15:37
<
makefu >
lets see if this even works :D
18:39
orivej has joined #nixos-wiki