Skip to content

configure does not survive PKI keys  #678

@jhps

Description

@jhps

In 2.5 (65305af), a configuration that has privateKey, publicKey, or adminKeys causes the cli to exit with:
Aborting due to: expected bytes, str found

It seems that MessageToDict() converts bytes to base64 strings that are saved in the config yaml but when these are are later loaded into a config to be sent a setattr() of a string to a bytes field causes an exception.

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