Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Key.from_securesystemslib_key #1520

Merged
merged 1 commit into from
Aug 31, 2021

Commits on Aug 26, 2021

  1. Add Key.from_securesystemslib_key

    The securesystemslib key dictionary representation includes
    the private key in keyval. TUF key doesn't handle it in any way,
    but considering that we allow unrecognized symbols in the format,
    we should exclude the private key otherwise this could lead to
    misuse.
    A call to securesystemslib.keys.format_keyval_to_metadata
    with the default private=False would do exactly that.
    
    Signed-off-by: Velichka Atanasova <avelichka@vmware.com>
    avelichka committed Aug 26, 2021
    Configuration menu
    Copy the full SHA
    c875b7e View commit details
    Browse the repository at this point in the history