Skip to content

PDP public service: relax pdptool requirements #558

@ZenGround0

Description

@ZenGround0

Checklist

  • This is not a question or a support request. If you have any Curio related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release candidate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to curio.

Curio component

  • PoRep Pipeline
  • Snap Deals
  • Market
  • IPNI provider
  • Curio UI
  • Other

Curio Version

synapse branch

Describe the Bug

pdptool currently needs a service secret even if using the public service which does not have one. We should check for service == public and not bother JWT auth in that case

Logging Information

pdptool upload-file --service-url https://randomtech.app --service-name public --chunk-file chunks.list /Users/lanzafame/Downloads/PDP.mp4
error: failed to open pdpservice.json: open pdpservice.json: no such file or directory

Repo Steps

  1. Run '...'
  2. Do '...'
  3. See error '...'
    ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions