GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

silverpill (silverpill@mitra.social)'s status on Friday, 27-Mar-2026 05:25:03 JST

  1. Embed this notice
    silverpill (silverpill@mitra.social)'s status on Friday, 27-Mar-2026 05:25:03 JST silverpill silverpill
    in reply to
    • wakest likes your bugs ⁂
    • Beady Belle Fanchannel

    @Profpatsch

    2. Activity-Level Origin Checks
    Same-origin is checked rather than exact equality so that servers with multiple actors can sign on behalf of any of their actors — a common legitimate pattern.

    For incoming activities, consider checking exact equality. See FEP-fe34, section "Signatures":

    In order to minimize damage in the event of a key compromise or insufficient validation, consumers MUST verify that the signing key has the same owner as the signed object. Consumers MUST also confirm the ownership of the key by verifying a reciprocal claim.

    This is not strictly necessary, but would help if the origin server does poor job at validating user input.

    3. Embedded Object Origin Checks
    Owner origin: the object's owner (actor for Activity subtypes, attributedTo for Notes/Objects) must be same-origin as the signing actor. Anonymous objects (no owner field) are accepted.

    In this case I also recommend checking owner ID equality, as a rule of thumb. Because origin servers implementing C2S API may fail to validate all embedded objects (which can be deeply nested).

    Response body size limits

    You may also need to limit the number of redirects and set a timeout. Some HTTP libraries have bad defaults.

    By the way, I collect such recommendations in this guide: https://codeberg.org/ap-next/ap-next/src/branch/main/guide.md#network. Contributions are welcome!

    @liaizon

    In conversation about 18 hours ago from gnusocial.jp permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      accepted.in
      This domain may be for sale!

    2. No result found on File_thumbnail lookup.
      Cookie monster!

Feeds

  • Activity Streams
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.