News for hackers. Stuff that matters.
Re:ActivityPub: decentralized social networking protocol by kemenaran on Wednesday January 24, 2018 @09:33AM (#16222949)
This protocol is a successor to OStatus (GNU Social), and mostly made by the same people.

From what I remember, Mastodon switched from OStatus to ActivityPub a few releases ago. In the past they had to extend the OStatus protocol for private messages, which meant some clients may not honor the private status of theses posts. ActivityPub has private messages defined properly in the spec.

It seems PeerTube (https://github.com/Chocobozzz/PeerTube) will also use ActivityPub.

Re:ActivityPub: decentralized social networking protocol by carussell on Wednesday January 24, 2018 @10:18AM (#16223284)
Last summer I tried untangling the OStatus/pump.io/ActivityPub/ActivityStreams nest hoping to piece together a big picture mental image based mostly on what Wikipedia has to say, and found it mostly frustrating.

For anyone who's similarly curious or confused, LWN published a pretty great overview last month—their "Federation in social networks" article:

https://lwn.net/Articles/741218/

Re:ActivityPub: decentralized social networking protocol by jcrawfordor on Wednesday January 24, 2018 @01:52PM (#16225257)
I'm the author of the LWN article, so glad to hear the positive feedback. I wrote it because I run a Mastodon instance and have been getting pretty confused about how these fit together. ActivityPub is a very exciting direction and I'm hoping to see Mastodon implement it completely (right now their support is only partial). OStatus comes with a lot of historical baggage - down to the name itself - and that's bumping up poorly against modern expectations like privacy.
Re:ActivityPub: decentralized social networking protocol by coldacid on Wednesday January 24, 2018 @11:26AM (#16223946)
Thanks for this. I was grinding my wheels much the same way, so hopefully this LWN article will clear things up for me.
Re:ActivityPub: decentralized social networking protocol by Xeoncross on Wednesday January 24, 2018 @12:32PM (#16224477)
Thanks! After reading that article I'm curious where public key cryptography fits into this.
Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @12:43PM (#16224589)
In AP, messages are signed with http signatures (https://tools.ietf.org/html/draft-cavage-http-signatures-09). OStatus has a similar mechanism called salmons, which are signed XML payloads.
Re:ActivityPub: decentralized social networking protocol by Xeoncross on Wednesday January 24, 2018 @12:59PM (#16224759)
server-to-server signatures are a good start, but what about encrypting messages end-to-end? I assume the servers already talk over HTTPS.
Re:ActivityPub: decentralized social networking protocol by paroneayea on Wednesday January 24, 2018 @01:43PM (#16225160)
Hello! Co-editor of ActivityPub here. I wrote a paper for Rebooting Web of Trust on how this could be done: https://github.com/WebOfTrustInfo/rebooting-the-web-of-trust...
Re:ActivityPub: decentralized social networking protocol by Xeoncross on Wednesday January 24, 2018 @02:17PM (#16225458)
Thank you! Important part starts half-way down: https://github.com/WebOfTrustInfo/rebooting-the-web-of-trust...

The ideas about using DID's (https://w3c-ccg.github.io/did-spec/) and moving off a common transport like HTTP was also interesting.

Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @01:14PM (#16224889)
it's really not worth it. If people want to exchange encrypted messages, they should use a proper tool for that.
Re:ActivityPub: decentralized social networking protocol by Xeoncross on Wednesday January 24, 2018 @01:28PM (#16225002)
Please don't say that. We already had such pain from HTTP, FTP, and SMTP not starting with it.

If building the next version of internet discussion and sharing, we really need first-class support for encryption.

Re:ActivityPub: decentralized social networking protocol by amirouche on Thursday January 25, 2018 @09:15AM (#16230851)
What about gnunet?
Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @01:48PM (#16225216)
no, we really don't. Not every tool needs to be equipped for private discussions. ActivityPub and OStatus are used for Twitter-style communication. Those aren't high security communication services.
Re:ActivityPub: decentralized social networking protocol by freshhawk on Wednesday January 24, 2018 @05:30PM (#16226969)
They turn into security problems in aggregate. For example, the threat to me from actors slurping up social media data to nudge/manipulate people at a large scale is much larger than the threat to me than someone reading my group chats to my friends or a lot of other personal info that is generally considered more private and more in need of high security.

If my personal twitter-style communication got out it would be worse to me than my more private messages, but it is worse to me personally if all the twitter style communication gets out than only my more private messages.

You have to account for manipulative big data risks in your analysis, thinking only about your personal data is an outdated approach.

Re:ActivityPub: decentralized social networking protocol by PaulRobinson on Wednesday January 24, 2018 @05:54PM (#16227117)
Start with the safe and secure option, figure out how to dial it down and open it up.

Doing it the other way around? We literally have 50 years of experience of that being a terrible, terrible idea.

Re:ActivityPub: decentralized social networking protocol by CodeMage on Wednesday January 24, 2018 @01:54PM (#16225275)
I might be wrong, but I would think that end-to-end public crypto can be used for more than just ensuring privacy.
Re:ActivityPub: decentralized social networking protocol by recursive on Wednesday January 24, 2018 @02:20PM (#16225481)
HTTPS ensures more than just privacy. For instance, authenticity.
Re:ActivityPub: decentralized social networking protocol by rapnie on Thursday January 25, 2018 @04:02AM (#16229691)
i would consider a privacy-first approach a best-practice :)
Re:ActivityPub: decentralized social networking protocol by evanprodromou on Thursday January 25, 2018 @04:28PM (#16234844)
That's probably a fair consideration. I and others worked on an intermediate system called pump.io, and the ActivityPub interface is very similar to the pump.io client-to-server API and federation protocol.

The biggest advantages of ActivityPub over OStatus are: JSON instead of Atom XML; a defined client-to-server API; and private distribution, including to contact lists (like Diaspora's aspects).

As someone who has worked on this type of standard for over a decade, I can say that it's the best federation standard I've ever seen, and I've seen them all.

Re:ActivityPub: decentralized social networking protocol by nothrabannosir on Wednesday January 24, 2018 @10:43AM (#16223509)
> which meant some clients may not honor the private status of theses posts.

Does this mean they may have accidentally published a message intended as private, to the public?

If so, I don’t think I can imagine a more efficient way to rob me of any confidence I ever had in Mastodon…

Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @10:49AM (#16223567)
Yes, and this was known to the main developer. There were easy ways to make it at least private if the other server was trusted, but they chose to not implement them.
Re:ActivityPub: decentralized social networking protocol by kemenaran on Wednesday January 24, 2018 @10:55AM (#16223619)
Which is why they switched to dual OStatus / ActivityPub broadcasting – except for private messages, which are now only sent over ActivityPub.

All of this without breaking compatibility across instances running different versions; quite a nice piece of engineering IMHO.

Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @11:00AM (#16223667)
this doesn't make much sense. The very easy way to add AP-level privacy to ostatus was to just use a different salmon endpoint for private messages. This way, messages would never have federated to servers that don't respect privacy settings (by accident. if the server leaks on purpose, that's a different story).

This solution was discussed at length with mastodon devs before the implementation of the private messages. It was ignored. Now we have a situation were Mastodon is likely to switch off OStatus soon, leaving behind all those projects that don't have the dev resources to rewrite their core federation systems every few years.

The Ostatus/AP dual stack is also pretty hacky and not even valid according to the AP spec, although it's getting better all the time.

Re:ActivityPub: decentralized social networking protocol by ams6110 on Wednesday January 24, 2018 @12:09PM (#16224283)
Socal media is orthogonal to privacy.

If you want to keep something private, don't post it on a social media platform -- or at least, encrypt it out of band before you do.

Re:ActivityPub: decentralized social networking protocol by rowyourboat on Thursday January 25, 2018 @03:58AM (#16229678)
Social media platforms are used for one-to-one communications and should support that. Furthermore, social media platforms should support sharing something with a group and only that group of people.

Really, the only time I should expect the content I share on a social media platform to be public is if I shared it as public content.

[Note that I am talking about technical capabilities and privacy here. Of course somebody with whom I shared private information can re-post it publicly, but solving that is out of scope for a technical solution - and is also true outside of social media platforms]

Re:ActivityPub: decentralized social networking protocol by jrochkind1 on Wednesday January 24, 2018 @12:18PM (#16224361)
I don't think "orthogonal" means what you think it means.
Re:ActivityPub: decentralized social networking protocol by dvt on Wednesday January 24, 2018 @04:16PM (#16226383)
Re:ActivityPub: decentralized social networking protocol by jrochkind1 on Thursday January 25, 2018 @08:33AM (#16230625)
ha!
Re:ActivityPub: decentralized social networking protocol by zardo on Thursday January 25, 2018 @11:50AM (#16232248)
To expand on that... If social media is orthogonal to privacy, then there should be no conflict combing the two concepts to create (privacy + social media).

If they are incompatible, they aren't orthogonal, they are opposed.

Re:ActivityPub: decentralized social networking protocol by dredmorbius on Wednesday January 24, 2018 @02:14PM (#16225442)
I disagree with that, though you might want to think strongly on what you mean by "privacy".

For some people, this is strictly limited to the technical capability to prevent (or allow) the flow of information. I'd long subscribed to this point of view, but have found it inadequate, if only because capabilities have been changing so dramatically on this point.

Rather, and this is something of a personal definition, though I'm not certain it's specific or original to me is that privacy is the ability to define and defend limits and boundaries on information sharing.

You might ask "why use that definition?"

My principle answer is that if it isn't possible to share information in a limited context, then there's something immense and profound which is lost. Two people, or twenty, or even several tens of thousands (say: a large company or government bureaucracy) might need to share information without disclosure.

I've been following the ICIJ's multiple projects on various data leaks, which are particularly poignant in revealing both sides of the argument. On the one hand, the ICIJ itself farms out its data to several hundred journalists from numerous organisations, and keeps a lid on the project until an agreed-on release date. (The group has produced a video showing just this process.)

On the other, ICIJ's stock in trade have been leaks of information from other organisations whose privacy has been breached.

The question of "which of these is right?" should very much arise. And it's not an easy question to answer, though I believe there are some guides which can be used.

As such, privacy is not an inviolable right, but it is a crucial element of social organisation.

Re:ActivityPub: decentralized social networking protocol by rowyourboat on Thursday January 25, 2018 @04:05AM (#16229696)
Your definition is not unusual at all, in fact, it is pretty close to the German definition of "Datenschutz" (data protection): Individuals have the right to know who has what information about them and the right to determine to what extent what information may be shared.
Re:ActivityPub: decentralized social networking protocol by dredmorbius on Thursday January 25, 2018 @08:50AM (#16230717)
Thanks, I wasn't aware of that specifically.

The definition draws in part on Jeffrey Rosen's The Unwanted Gaze, published in the late 1990s, and apparently quite underappreciated and/or known. Though it's been a while since I've read it.

Re:ActivityPub: decentralized social networking protocol by luk32 on Wednesday January 24, 2018 @01:11PM (#16224859)
I think you meant antisymmetric. Orthogonal means "irrelevant to".

But it's like saying that publishing is opposite to privacy. Yeah... It is so by design and definition.

Re:ActivityPub: decentralized social networking protocol by lioeters on Wednesday January 24, 2018 @01:52PM (#16225253)
Perhaps "antithetical" to privacy.
Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @10:33AM (#16223393)
Privacy on the level of AP would have been very easy to add, by just using a different salmon endpoint for private messages. This was discussed at length back then, but Mastodon still chose to implement the leaky-by-default changes. There's nothing in AP that can't be done using OStatus, with very very minor extensions.
Re:ActivityPub: decentralized social networking protocol by NetOpWibby on Wednesday January 24, 2018 @10:48AM (#16223554)
Could you elaborate on "salmon endpoint"?
Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @11:04AM (#16223717)
In OStatus 'salmons' are messages sent from one server to another that contain posts. They are signed, so the receiving server knows if it can trust it.

If person [email protected] mentions [email protected], a salmon is sent from example.com to differentsite.org containing the message. The endpoint that this is posted to is the 'salmon endpoint'.

Using a second endpoint for privacy enhanced messages would have the way to go. Old servers wouldn't ever receive private messages, while new servers that understood the extensions could have kept 90% of their old code and infrastructure.

Re:ActivityPub: decentralized social networking protocol by NetOpWibby on Wednesday January 24, 2018 @11:12AM (#16223797)
Oh that's nice, thanks for the explanation. I'm currently working on a social network and I like the idea of being able to connect with other ones via open standards. I need to do more research on implementation.
Re:ActivityPub: decentralized social networking protocol by rogerbraun on Wednesday January 24, 2018 @11:54AM (#16224167)
there's #social on freenode, although it's not very active. You might have more luck asking your questions on #pleroma on freenode (another Ostatus/AP server) or on the mastodon discord.
Re:ActivityPub: decentralized social networking protocol by NetOpWibby on Wednesday January 24, 2018 @12:16PM (#16224336)
I'll check 'em out, thank you!