Skip to content
Snippets Groups Projects
  1. Jan 06, 2022
  2. 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
  3. Nov 19, 2021
  4. Nov 17, 2021
  5. Aug 18, 2021
  6. Jul 12, 2021
  7. Jul 09, 2021
  8. Jun 23, 2021
  9. Jun 16, 2021
  10. Jun 07, 2021
  11. May 29, 2021
  12. May 24, 2021
  13. May 14, 2021
  14. May 06, 2021
  15. Apr 29, 2021
  16. Apr 28, 2021
  17. Apr 20, 2021
  18. Apr 15, 2021
  19. Apr 10, 2021
    • Bob Callaway's avatar
      Update rekor REST API to match Trillian semantics (#250) · cce6cabf
      Bob Callaway authored
      
      This patch removes the /api/v1/log/entries/{uuid}/proof endpoint. If you
      have the UUID (aka the leaf Merkle hash), you likely want proof that the
      content represented by that hash is included in the log. There's no need
      for a separate /proof endpoint to deliver the same content.
      
      This commit also ensures that the getLogEntryByIndex and
      getLogEntryByUUID endpoints return an inclusion proof as part of their
      response content. The search endpoint also now returns the inclusion
      proof of all entries returned from the query.
      
      With this patch, Rekor no longer uses the deprecated `GetLeavesByHash`
      Trillian API.
      
      Fixes #229
      
      Signed-off-by: default avatarBob Callaway <bob.callaway@gmail.com>
      Unverified
      cce6cabf
  20. Mar 24, 2021
  21. Jan 30, 2021
  22. Jan 28, 2021
  23. Jan 21, 2021
  24. Jan 19, 2021
  25. Jan 15, 2021
  26. Jan 14, 2021
  27. Jan 12, 2021
  28. Jan 08, 2021
  29. Jan 04, 2021
  30. Dec 19, 2020
    • Bob Callaway's avatar
      clean up and enhance error handling · 182adc3f
      Bob Callaway authored
      
      - adds trillian API object to context
      - improves request error logging pre and post validation
      - use consistent request context throughout all GRPC calls
      - improve validation of incoming UUID values
      - disable swagger UI endpoint
      - only print cacheable headers if response code is HTTP 2XX
      - use GetLeavesByRange instead of deprecated GetLeavesByIndex API
      
      Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
      182adc3f
  31. Dec 17, 2020
  32. Dec 07, 2020
  33. Dec 05, 2020
  34. Dec 04, 2020
  35. Dec 01, 2020
Loading