tree: 27ed7fb83a932aeea0c77078edd4758afb4588c1 [path history] [tgz]
  1. sw-prefetch-scope/
  2. sw-scope-navigation-preload/
  3. sw-scope-no-respond-with/
  4. .gitattributes
  5. 127.0.0.1.public.pem.cbor
  6. 404.msg
  7. 404.msg.mock-http-headers
  8. badmice_test.html
  9. ca.cnf
  10. fallback.html
  11. generate-test-certs.sh
  12. generate-test-sxgs.sh
  13. hello.txt
  14. no-respond-with-service-worker.html
  15. no-respond-with-service-worker.js
  16. no-respond-with-service-worker.js.mock-http-headers
  17. prefetch.html
  18. prime256v1-sha256-noext.public.pem
  19. prime256v1-sha256-valid-for-90-days.public.pem
  20. prime256v1-sha256-validity-too-long.public.pem
  21. prime256v1-sha256.csr
  22. prime256v1-sha256.public.pem
  23. prime256v1.key
  24. publisher-service-worker.html
  25. publisher-service-worker.js
  26. publisher-service-worker.js.mock-http-headers
  27. README.md
  28. secp384r1-sha256.csr
  29. secp384r1-sha256.public.pem
  30. secp384r1.key
  31. service-worker-prefetch.html
  32. service-worker-prefetch.js
  33. service-worker.html
  34. service-worker.js
  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.