#social 2018-08-31

2018-08-31 UTC
KevinMarks_, KevinMarks and dariusk[m] joined the channel
#
dariusk[m]
hi folks. I am here at the behest of nightpool. I have a site working where the aim is to turn any RSS 1.0 or 2.0 feed into an ActivityPub Actor that can publish posts that people can follow, but that is it. you can test it here https://bots.tinysubversions.com/convert/ although I will probably change the domain soonish so anything you do set up will be wiped out as far as federation goes
#
dariusk[m]
it's running a super lightweight AP server that I wrote in Node.js/Express (I'll be publishing the source soon once I make sure it's not uh, literally dangerous for people to run)
#
nightpool[m]
Darius is also going to be a Mozilla 2018 Open Web Fellow working on Making The Decentralized Web Weird so that's really exciting!
#
dariusk[m]
yeah I will be embedded with the core Dat team for 10 months
xmpp-social, vasilakisfil, stephank, KevinMarks, dlongley, erincandescent, KevinMarks_ and fr33domlover joined the channel; csarven[m] left the channel
#
aaronpk
can profiles have only one public key?
#
aaronpk
there is a "keyId" property so I would have thought it would be possible to list multiple, but it appears the "publicKey" property is an object
#
nightpool[m]
aaronpk: not sure what you mean?
#
nightpool[m]
it depends on if keyId is a functional property or not
#
aaronpk
like on my profile there's a key "publicKey" which is an object containing a keyId and public key data
#
nightpool[m]
I assume that it's not
#
aaronpk
if it were an array, then I could list multiple keys
#
nightpool[m]
jsonLd does not distinguish between {} and [{}] in most cases
#
aaronpk
I have a feeling most activitypub implementations do though
#
nightpool[m]
yeah
#
nightpool[m]
I'm guessing most ap implementations will only support your first key
KevinMarks_ joined the channel
#
saranix
it shouldn't be "publicKey": { "keyId" } .. it should be "publicKey": { "id" } .. thus as the special id property is not allowed to be a set, that should answer your ques
#
saranix
unless I'm mistaken, I'm not looking right at the specs but from memory...
#
saranix
and realistically, I think anyone having [{},{}] will have their keycheck fail because most impl won't even check for that
#
saranix
especially the json ones
#
saranix
and annoyingly, when writing an impl... you then have to also deal with ["uri","uri"] possibility too...
#
saranix
so more and more, it seems the "you can just treat it as json" is a little bit of a stretch
#
saranix
but anyway there is an additional issue... if the publickey property does list multiple keys, do I have to check/cache/handle every single one? what a pain
#
saranix
how do you know which one is the "main one" when composing "to" ?
#
saranix
I guess that only matters for crypted messages anyway...so out of scope
#
aaronpk
for sending, it wouldn't matter which you'd use, or you'd use the first
#
aaronpk
but it would let me run code on multiple machines all sending activities out from my main identity
#
aaronpk
using different keys
#
saranix
yeah no doubt it would be useful for a lot of things it's just having so many different legally valis ways to represent things is a bit counterproductive sometimes
timbl and KevinMarks joined the channel