Skip to content
Snippets Groups Projects
  1. Oct 19, 2021
  2. Oct 07, 2021
  3. 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
  4. Oct 03, 2021
  5. Sep 14, 2021
  6. Aug 30, 2021
  7. Aug 20, 2021
  8. Aug 18, 2021
  9. Aug 10, 2021
  10. Jul 30, 2021
  11. Jul 29, 2021
  12. Jul 28, 2021
  13. Jul 26, 2021
  14. Jul 20, 2021
  15. Jul 19, 2021
  16. 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
  17. Jul 14, 2021
  18. Jul 13, 2021
  19. Jul 12, 2021
  20. Jul 09, 2021
  21. Jul 08, 2021
  22. Jul 01, 2021
  23. Jun 28, 2021
  24. Jun 24, 2021
  25. Jun 23, 2021
  26. Jun 16, 2021
  27. Jun 15, 2021
  28. Jun 07, 2021
  29. Jun 02, 2021
  30. May 29, 2021
  31. May 27, 2021
  32. May 24, 2021
  33. May 14, 2021
  34. May 06, 2021
Loading