Skip to content

Add -A/--authorized-fetch option to fedify inbox command #229

@dahlia

Description

@dahlia

Description

Add an option to make the ephemeral ActivityPub server created by fedify inbox run in AUTHORIZED_FETCH mode, where HTTP Signatures are required for all incoming requests.

Implementation details

  • Add -A/--authorized-fetch flag to the fedify inbox command
  • When enabled, verify HTTP Signatures on all incoming requests
  • Return 401 Unauthorized responses for requests without valid signatures
  • Log signature verification failures with details for debugging
  • Update help text and documentation to explain the option

Benefits

This feature will help developers:

  • Test HTTP Signatures implementation in a controlled environment
  • Debug issues related to authorized fetch requirements
  • Verify server's ability to handle secured federation connections
  • Simulate behavior of instances like Mastodon that enforce HTTP Signatures

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions