irelephant

joined 3 days ago
[–] irelephant@lemmy.dbzer0.com 2 points 18 hours ago

404media.co is pretty (really) good.

[–] irelephant@lemmy.dbzer0.com 1 points 18 hours ago (1 children)

Actually, most of those articles are posted by newsweek's official reddit account.

[–] irelephant@lemmy.dbzer0.com 4 points 1 day ago (1 children)

take a look at neocities.org

The fediverse is similar enough for me :)

[–] irelephant@lemmy.dbzer0.com 3 points 2 days ago

All the images disappear, since they are just links on remote instances.

A copy of all the accounts, comms, posts and comments stay on any instance around to recive them, but they are not fetchable.

[–] irelephant@lemmy.dbzer0.com 2 points 2 days ago

Because of federation, that doesn't matter.

[–] irelephant@lemmy.dbzer0.com 5 points 2 days ago

lemmy.zip is good for not having too many defeds.

Try defed.xyz.

if you go to /instances on any server it shows what they are connected to and blocking, e.g., lemm.ee/instances

[–] irelephant@lemmy.dbzer0.com 3 points 2 days ago* (last edited 2 days ago) (1 children)

Kinda, So everything in the fediverse uses its https url as an id. To fetch the content after its been posted, a server needs the content to be live.
As a result, everything breaks when domains go down.

FEP-ef61 fixes this, by making objects portable, and making it possible for servers to request them from other servers.

https://codeberg.org/fediverse/fep/src/branch/main/fep/ef61/fep-ef61.md

This isn't implemented by anything major yet unfortunately.

[–] irelephant@lemmy.dbzer0.com 4 points 2 days ago (4 children)

Interesting, what browser are you using?

Anyway, its written in markdown.

The contents of FEP-ef61.

FEP-ef61: Portable Objects

Summary

Portable [ActivityPub][ActivityPub] objects with server-independent IDs.

Motivation

Usage of HTTP(S) URLs as identifiers has a major drawback: when the server disappears, everyone who uses it loses their identities and data.

The proposed solution should satisfy the following constraints:

  • User's identity and data should not be tied to a single server.
  • Users should have a choice between full control over their identity and data, and delegation of control to a trusted party.
  • Implementing the solution in existing software should be as simple as possible. Changes to ActivityPub data model should be kept to a minimum.
  • The solution should be compatible with existing and emerging decentralized identity and storage systems.
  • The solution should be transport-agnostic.

History

Nomadic identity mechanism makes identity independent from a server and was originally part of the Zot federation protocol.

Streams (2021) made nomadic accounts available via the Nomad protocol, which supported ActivityStreams serialisation.

FEP-c390 (2022) introduced a decentralized identity solution compatible with ActivityPub. It enabled permissionless migration of followers between servers, but didn't provide full data portability.

Requirements

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in [RFC-2119][RFC-2119].

Identifiers

An [ActivityPub][ActivityPub] object can be made portable by using an identifier that is not tied to a single server. This proposal describes a new identifier type that has this property and is compatible with the [ActivityPub] specification.

ap:// URLs

ap:// URL is constructed according to the [URI][RFC-3986] specification, but with a [Decentralized Identifier][DID] in place of the authority:

ap://did:example:123456/path/to/object?name=value#fragment-id
\_/  \________________/ \____________/ \________/ \_________/
 |           |                |            |           |
scheme   authority           path        query     fragment
  • The URI scheme MUST be ap.
  • The authority component MUST be a valid [DID].
  • The path is REQUIRED. It MUST be treated as an opaque string.
  • The query is OPTIONAL. To avoid future conflicts, implementers SHOULD NOT use parameter names that are not defined in this proposal.
  • The fragment is OPTIONAL.

[!NOTE] ActivityPub specification [requires][ActivityPub-ObjectIdentifiers] identifiers to have an authority "belonging to that of their originating server". The authority of 'ap' URL is a DID, which does not belong to any particular server.

[!WARNING] The URI scheme might be changed to ap+ef61 in a future version of this document, because these identifiers are not intended to be used for all ActivityPub objects, but only for portable ones.

DID methods

Implementers MUST support the [did:key] method. Other DID methods SHOULD NOT be used, as it might hinder interoperability.

[!NOTE] The following additional DID methods are being considered: did:web, did:dns, did:webvh (formerly did:tdw) and did:fedi.

DID documents SHOULD contain Ed25519 public keys represented as verification methods with Multikey type (as defined in the [Controlled Identifiers][Multikey] specification).

Any [DID URL][DID-URL] capabilities of a DID method MUST be ignored when working with ap:// URLs.

Dereferencing ap:// URLs

To dereference an ap:// URL, the client MUST make HTTP GET request to a gateway endpoint at [well-known] location /.well-known/apgateway. The ap:// prefix MUST be removed from the URL and the rest of it appened to a gateway URL. The client MUST specify an Accept header with the application/ld+json; profile="https://www.w3.org/ns/activitystreams" media type.

Example of a request to a gateway:

GET https://social.example/.well-known/apgateway/did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2/path/to/object

ActivityPub objects identified by ap:// URLs can be stored on multiple servers simultaneously.

If object identified by ap:// URL is stored on the server, it MUST return a response with status 200 OK containing the requested object. The value of a Content-Type header MUST be application/ld+json; profile="https://www.w3.org/ns/activitystreams".

If object identified by ap:// URL is not stored on the server, it MUST return 404 Not Found.

If object is not public, the server MUST return 404 Not Found unless the request has a HTTP signature and the signer is allowed to view the object.

[!NOTE] This document describes web gateways, which use HTTP transport. However, the data model and authentication mechanism are transport-agnostic and other types of gateways could exist.

Authentication and authorization

Authentication and authorization are performed in accordance with [FEP-fe34] origin-based security model.

The [origin][RFC-6454] of an ap:// URL is computed by the following algorithm:

  1. Let uri-scheme be the ap string.
  2. Let uri-host be the authority component of the URL.
  3. Let uri-port be the number 0.
  4. Return the triple (uri-scheme, uri-host, uri-port).

And the origin of a [DID URL][DID-URL] is computed by the following algorithm:

  1. Let uri-scheme be the ap string.
  2. Let uri-host be the DID component of the DID URL.
  3. Let uri-port be the number 0.
  4. Return the triple (uri-scheme, uri-host, uri-port).

Actors, activities and objects identified by ap:// URLs MUST contain [FEP-8b32] integrity proofs. Collections identified by ap:// URLs MAY contain integrity proofs. If collection doesn't contain an integrity proof, another authentication method MUST be used.

The value of verificationMethod property of the proof MUST be a [DID URL][DID-URL] where the DID matches the authority component of the ap:// URL.

[!NOTE] This document uses terms "actor", "activity", "collection" and "object" according to the classification given in [FEP-2277].

Portable actors

One identity (represented by [DID]) can control multiple actors (which are differentiated by the path component of an ap:// URL).

An actor object identified by ap:// URL MUST have a gateways property containing an ordered list of gateways where the latest version of that actor object can be retrieved. Each item in the list MUST be an HTTP(S) URL with empty path, query and fragment components. The list MUST contain at least one item.

Gateways are expected to be the same for all actors under a DID authority and MAY be also specified in the DID document as [services][DID-Services].

Example:

{
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    "https://w3id.org/security/data-integrity/v1",
    "https://w3id.org/fep/ef61"
  ],
  "type": "Person",
  "id": "ap://did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2/actor",
  "inbox": "ap://did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2/actor/inbox",
  "outbox": "ap://did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2/actor/outbox",
  "gateways": [
    "https://server1.example",
    "https://server2.example"
  ],
  "proof": {
    "type": "DataIntegrityProof",
    "cryptosuite": "eddsa-jcs-2022",
    "created": "2023-02-24T23:36:38Z",
    "verificationMethod": "did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2#z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2",
    "proofPurpose": "assertionMethod",
    "proofValue": "..."
  }
}

Location hints

When ActivityPub object containing a reference to another actor is being constructed, implementations SHOULD provide a list of gateways where specified actor object can be retrieved. This list MAY be provided using the gateways query parameter. Each gateway address MUST be URL-endcoded, and if multiple addresses are present they MUST be separated by commas.

Example:

ap://did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2/actor?gateways=https%3A%2F%2Fserver1.example,https%3A%2F%2Fserver2.example

This URL indicates that object can be retrieved from two gateways:

  • https://server1.example
  • https://server2.example

Implementations MUST discard query parameters when comparing ap:// identifiers and treat identifiers with different query parameter values as equal.

Inboxes and outboxes

Servers and clients MUST use gateways to deliver activities to inboxes or outboxes. Servers specified in the gateways property of an actor object MUST accept POST requests to respective gateway URLs.

Example:

POST https://social.example/.well-known/apgateway/did:key:z6MkrJVnaZkeFzdQyMZu1cgjg7k1pZZ6pvBQ7XJPt4swbTQ2/actor/inbox

Delivered activities might be not portable. If delivered activity is portable (has ap:// identifier), the server MUST verify its [FEP-8b32] integrity proof. If the server does not accept deliveries on behalf of an actor, it MUST return 405 Method Not Allowed.

ActivityPub clients MAY follow [FEP-ae97][FEP-ae97] to publish activities. In this case

[–] irelephant@lemmy.dbzer0.com 2 points 2 days ago

Looks like its going to stay that way : /

[–] irelephant@lemmy.dbzer0.com 2 points 2 days ago (1 children)

Maybe sh.itjust.works or lemmy.sdf.org or lemm.ee? Or infosec.pub

I am so happy I didn't chose lemm.ee.

view more: next ›