Skip to content
Snippets Groups Projects
  1. Mar 31, 2022
  2. Mar 29, 2022
  3. Mar 26, 2022
  4. Mar 21, 2022
  5. Mar 16, 2022
  6. Mar 11, 2022
  7. Mar 10, 2022
  8. Mar 09, 2022
  9. Mar 05, 2022
  10. Feb 10, 2022
  11. Jan 25, 2022
  12. Dec 29, 2021
  13. Dec 27, 2021
    • Morten Linderud's avatar
      Implement /api/v1/version for rekor-server (#569) · 3f4129bc
      Morten Linderud authored
      
      * rekor-server: Implement /api/v1/version
      
      This implements a version endpoint for rekor. This helps figure out the
      version the server is currently running. It could later be used to
      implement version compatibility with CLI utilities.
      
      Example:
         λ rekor main» curl -s localhost:3000/api/v1/version | jq
         {
           "builddate": "'2021-12-27T13:20:32Z'",
           "commit": "12d1a47c",
           "treestate": "dirty",
           "version": "v0.4.0-15-g12d1a47-dirty"
         }
      
      This removes some duplication of the build flags and inserts them into
      /pkg/api which is then reused across the utilities.
      
      Signed-off-by: default avatarMorten Linderud <morten@linderud.pw>
      
      Signed-off-by: default avatarMorten Linderud <morten@linderud.pw>
      
      * Generated files
      
      Signed-off-by: default avatarMorten Linderud <morten@linderud.pw>
      Unverified
      3f4129bc
    • dlorenc's avatar
      Remove the attestation media type field. (#565) · 12d1a47c
      dlorenc authored
      
      This was never actually correct - these are technically "payloadTypes", which are
      not actually mediaTypes. Some implementations mistakenly sent incorrect media types, so
      it appeared to work. The GCS storage layer rejected correct implementations that sent the
      payloadType, because these are not valid mediaTypes.
      
      We never used this field anyway, so let's drop it. I verified that the API correctly ignores
      unknown fields, so removing this will not break clients that send it.
      
      Signed-off-by: default avatarDan Lorenc <lorenc.d@gmail.com>
      Unverified
      12d1a47c
  14. Dec 20, 2021
  15. Dec 16, 2021
  16. Nov 22, 2021
  17. Nov 04, 2021
  18. Oct 06, 2021
    • Bob Callaway's avatar
      Canonicalize JSON before inserting into trillian (#445) · 070f83e9
      Bob Callaway authored
      
      Each of the supported types has a Canonicalize() method that generates a
      JSON representation of the entry. If the golang library were to make a
      change to the order of keys when marshalling an object, it would cause
      a duplicate entry in the log for a semantically equivalent object.
      
      This change simply transforms the JSON into RFC8785-compliant
      canonicalized JSON protecting against any changes in JSON libraries
      going forward.
      
      Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
      Unverified
      070f83e9
  19. Sep 14, 2021
  20. Aug 18, 2021
  21. Jul 30, 2021
  22. Jul 20, 2021
  23. Jul 17, 2021
    • Bob Callaway's avatar
      Improve error messages for invalid content (#377) · 5e005eb1
      Bob Callaway authored
      
      Previously we returned an HTTP 500 "error canonicalizing entry" error if
      Rekor was unable to parse or verify the proposed content of a new log
      entry. This adds a new error type ValidationError that allows
      implementers of the Canonicalize method to delineate between internal,
      transient errors and errors that clients can rectify.
      
      With this patch, errors parsing or validating (provided or referenced)
      artifacts will return an HTTP 400 message to the client with a message
      about the issue.
      
      Fixes: #362
      
      Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
      Unverified
      5e005eb1
  24. Jul 14, 2021
  25. Jul 13, 2021
  26. Jul 12, 2021
  27. Jul 08, 2021
  28. Jun 24, 2021
  29. Jun 23, 2021
  30. Jun 16, 2021
  31. Jun 07, 2021
  32. May 27, 2021
  33. May 24, 2021
  34. May 06, 2021
  35. May 05, 2021
Loading