Skip to content
This repository was archived by the owner on Mar 29, 2022. It is now read-only.

Primary client directory structure building fails when METADATA_FORMAT is changed to 'json' from 'der' tuf.conf.METADATA_FORMAT = 'json'  #202

@mahmo136

Description

@mahmo136

Problem Summary

Primary client directory structure building process fails when METADATA_FORMAT is changed to 'json' from 'der' in the uptane/init.py (tuf.conf.METADATA_FORMAT = 'json' )

Reading the documentation and source code, it seems like demo directory is expected to contain "pinned_primary_template.json" file, which does not exist.

When try to initialize the Primary client by using $ dp.clean_slate(), the following error message is displayed:

Unable to create Primary client directory structure. Does the Director Repo for the vehicle exist yet?

Expected Behavior

Both Primary and Secondary clients should be able to create the required directory structure.

Actual Behavior

Directory structure cannot be created on the Primary client.

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