Skip to content

PCK cert not fetched if -i option not set #501

Description

@fabienpe

While trying to register a platform I used the pcsclient.py fetch command relying on default values for input and output files. After wasting time figuring out why the platform_collateral.json has an empty PCK cert list I eventually found in the code that the client fetches PCK certs only if self.has_platform_list is set:

It is defined as

self.has_platform_list = bool(args.input_file)

which means that if you just want to use the default platform_list.json file as input, PCK certs won't be fetch.

Work around is to specify -i option, but code should probably be fixed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions