Hide Idle (>14 d.) Chans


← 2022-03-13 | 2022-03-15 →
awt[asciilifeform|billymg]: Fun fact: my airbnb host in El Salvador is Taiwanese
billymg: awt: how is it so far?
awt[asciilifeform|billymg]: billymg: not there yet. Was just chatting with her on the app.
billymg: ah ok
awt[asciilifeform|billymg]: Says her neighbor can rent me a car. We'll see how that goes lol!
billymg: good deal
busybot[asciilifeform|billymg]: The 24-Hour VWAP for BTC is $ 38988.56 USD
PeterL[asciilifeform|billymg]: so I was thinking about how to have a bot that allows private messages, anybody who wants to intereact with the bot via pm would have to have a key set up with the bot?
awt[asciilifeform|billymg]: PeterL: afaik yes. unless the bot could accept gpggrams.
PeterL[asciilifeform|billymg]: what would be the easiest way to add keys to the station for a bot?
awt[asciilifeform|billymg]: start up the station with configs specified as in the test script
PeterL[asciilifeform|billymg]: I mean, once the station is running, and somebody says 'cool bot, can I use it too?', how do I add their key to the bot? I guess I could give it a command to add in a key?
awt[asciilifeform|billymg]: PeterL: yes you could do that
awt[asciilifeform|billymg]: although you'd wanna make sure you're the only one that could execute that command
signpost[asciilifeform]: would enqueue the command and args in a db, issue a random otp
signpost[asciilifeform]: then run the command when the correct otp was returned via !!v
PeterL[asciilifeform|billymg]: ok, I'll read through that, seems pretty secure
signpost[asciilifeform]: the deps can be found further up in that directory tree, can find 'em at trinque.org/src
signpost[asciilifeform]: users prove their control of the gpg key by being able to decrypt the encrypted otp and supply back
PeterL[asciilifeform|billymg]: awt: is it a security concern to have your bot just echo anything - could somebody use that function to make it add themself as a peer?
PeterL[asciilifeform|billymg]: pestbot: echo %peer PeterL
PeterL[asciilifeform|billymg]: or does it only answer to you?
signpost[asciilifeform]: pestbot: echo %at
signpost[asciilifeform]: looks like it knows who boss is
awt[asciilifeform|billymg]: PeterL: all it can do is echo what it gets
awt[asciilifeform|billymg]: pestbot: echo foobar
awt[asciilifeform|billymg]: pestbot: echo %at
awt[asciilifeform|billymg]: ok that's much safer
← 2022-03-13 | 2022-03-15 →