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 digest to targets metadata directly #170

Merged
merged 18 commits into from
Jan 19, 2022

Commits on Jan 19, 2022

  1. Add digest to targets metadata directly

    This commit allows users of go-tuf to sign oci images or other
    non-local targets by directly providing the hash and length of
    these artifacts.
    
    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    821edfc View commit details
    Browse the repository at this point in the history
  2. dynamically determine hash algorithm in AddDigestTarget

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    6c799bb View commit details
    Browse the repository at this point in the history
  3. Add verification of digest signatures

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    89ce497 View commit details
    Browse the repository at this point in the history
  4. Update digest delegation based on pr feedback

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    99993af View commit details
    Browse the repository at this point in the history
  5. fix formatting

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    ae412af View commit details
    Browse the repository at this point in the history
  6. add client test for VerifyDigest

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    7eb4419 View commit details
    Browse the repository at this point in the history
  7. allow verifydigest to have a path

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    6829ff4 View commit details
    Browse the repository at this point in the history
  8. Update repo.go

    Co-authored-by: Ethan Lowman <53835328+ethan-lowman-dd@users.noreply.github.com>
    mnm678 and ethan-lowman-dd committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    1db34a2 View commit details
    Browse the repository at this point in the history
  9. Add and verify non-oci digests

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    15495f4 View commit details
    Browse the repository at this point in the history
  10. fix test

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    387ed15 View commit details
    Browse the repository at this point in the history
  11. fix go vet errors

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    3e8da13 View commit details
    Browse the repository at this point in the history
  12. AddDigestTargets -> AddTargetsWithDigest

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    be54bcb View commit details
    Browse the repository at this point in the history
  13. AddDigestTargets -> AddTargetsWithDigest

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    5a8e8b7 View commit details
    Browse the repository at this point in the history
  14. fix go vet

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    685fb7c View commit details
    Browse the repository at this point in the history
  15. fix static check

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    a58a1bd View commit details
    Browse the repository at this point in the history
  16. update function signatures for VerifyDigest, AddTargetsWithDigest

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    06228a9 View commit details
    Browse the repository at this point in the history
  17. use topLevelTargets() instead of targets()

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    3088a24 View commit details
    Browse the repository at this point in the history
  18. bug fix

    Signed-off-by: Marina Moore <mnm678@gmail.com>
    mnm678 committed Jan 19, 2022
    Configuration menu
    Copy the full SHA
    7924729 View commit details
    Browse the repository at this point in the history