Skip to content

PDP: implement EXTRA_DATA_MAX_SIZE limit #713

@rjan90

Description

@rjan90

Context

The EXTRA_DATA_MAX_SIZE limit has been removed from PDPVerifier (FilOzone/pdp#224) as it should be enforced at the service level instead. This allows different services to set appropriate limits based on their specific requirements.

Task

Implement an EXTRA_DATA_MAX_SIZE limit in Curio to prevent excessively large metadata payloads. This should validate extraData size before calling PDPVerifier functions.

Recommended limits: FilOzone/pdp#224 (comment)

References

Metadata

Metadata

Labels

good first issueGood for newcomersteam/fs-wgItems being worked on or tracked by the "FS Working Group". See FilOzone/github-mgmt #10

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions