tree: eb294352ee261ea93927a44b2d23bf673ceb5c9d [path history] [tgz]
  1. .gitattributes
  2. 127.0.0.1.public.pem.cbor
  3. 404.msg
  4. 404.msg.mock-http-headers
  5. README.md
  6. badmice_test.html
  7. ca.cnf
  8. fallback.html
  9. generate-test-certs.sh
  10. generate-test-sxgs.sh
  11. hello.txt
  12. no-respond-with-service-worker.html
  13. no-respond-with-service-worker.js
  14. no-respond-with-service-worker.js.mock-http-headers
  15. prefetch.html
  16. prime256v1-sha256-noext.public.pem
  17. prime256v1-sha256-valid-for-90-days.public.pem
  18. prime256v1-sha256-validity-too-long.public.pem
  19. prime256v1-sha256.csr
  20. prime256v1-sha256.public.pem
  21. prime256v1.key
  22. publisher-service-worker.html
  23. publisher-service-worker.js
  24. publisher-service-worker.js.mock-http-headers
  25. secp384r1-sha256.csr
  26. secp384r1-sha256.public.pem
  27. secp384r1.key
  28. service-worker-prefetch.html
  29. service-worker-prefetch.js
  30. service-worker.html
  31. service-worker.js
  32. sw-prefetch-scope/
  33. sw-scope-navigation-preload/
  34. sw-scope-no-respond-with/
  35. test.example.com_invalid_test.sxg
  36. test.example.com_invalid_test.sxg.mock-http-headers
  37. test.example.org-noext.public.pem.cbor
  38. test.example.org-valid-for-90-days.public.pem.cbor
  39. test.example.org-validity-too-long.public.pem.cbor
  40. test.example.org.public.pem.cbor
  41. test.example.org.public.pem.cbor.mock-http-headers
  42. test.example.org_cert_valid_for_90_days.sxg
  43. test.example.org_cert_validity_too_long.sxg
  44. test.example.org_fr_variant.sxg
  45. test.example.org_fr_variant.sxg.mock-http-headers
  46. test.example.org_hello.txt.sxg
  47. test.example.org_noext_test.sxg
  48. test.example.org_test.html.gz.sxg
  49. test.example.org_test.sxg
  50. test.example.org_test.sxg.mock-http-headers
  51. test.example.org_test_bad_mice.sxg
  52. test.example.org_test_bad_mice.sxg.mock-http-headers
  53. test.example.org_test_bad_mice_small.sxg
  54. test.example.org_test_bad_mice_small.sxg.mock-http-headers
  55. test.example.org_test_download.sxg
  56. test.example.org_test_download.sxg.mock-http-headers
  57. test.example.org_test_invalid_cbor_header.sxg
  58. test.example.org_test_invalid_cbor_header.sxg.mock-http-headers
  59. test.example.org_test_invalid_content_type.sxg
  60. test.example.org_test_invalid_content_type.sxg.mock-http-headers
  61. test.example.org_test_invalid_magic_string.sxg
  62. test.example.org_test_invalid_magic_string.sxg.mock-http-headers
  63. test.example.org_test_missing_nosniff.sxg
  64. test.example.org_test_missing_nosniff.sxg.mock-http-headers
  65. test.html
content/test/data/sxg/README.md

The key and certificate files (*.key, *.csr, *.pem) are generated by generate-test-certs.sh in this directory. It requires openssl be installed.

The certificate cbor files (*.cbor) and the signed exchange files (*.sxg) in this directory are generated using generate-test-sxgs.sh.

generate-test-sxgs.sh requires command-line tools in the webpackage repository. To install them, run:

go get -u github.com/WICG/webpackage/go/signedexchange/cmd/...

The revision of the tools used to generate the test files is 99155ec.