tree: ecbaa3948166f0c12272f5afa71300f76c5575a7 [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. 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.csr
  18. prime256v1-sha256.public.pem
  19. prime256v1.key
  20. publisher-service-worker.html
  21. publisher-service-worker.js
  22. publisher-service-worker.js.mock-http-headers
  23. README.md
  24. secp384r1-sha256.csr
  25. secp384r1-sha256.public.pem
  26. secp384r1.key
  27. service-worker-prefetch.html
  28. service-worker-prefetch.js
  29. service-worker.html
  30. service-worker.js
  31. test.example.com_invalid_test.sxg
  32. test.example.com_invalid_test.sxg.mock-http-headers
  33. test.example.org-noext.public.pem.cbor
  34. test.example.org.public.pem.cbor
  35. test.example.org.public.pem.cbor.mock-http-headers
  36. test.example.org_hello.txt.sxg
  37. test.example.org_noext_test.sxg
  38. test.example.org_test.sxg
  39. test.example.org_test.sxg.mock-http-headers
  40. test.example.org_test_download.sxg
  41. test.example.org_test_download.sxg.mock-http-headers
  42. test.example.org_test_invalid_cbor_header.sxg
  43. test.example.org_test_invalid_cbor_header.sxg.mock-http-headers
  44. test.example.org_test_invalid_content_type.sxg
  45. test.example.org_test_invalid_content_type.sxg.mock-http-headers
  46. test.example.org_test_invalid_magic_string.sxg
  47. test.example.org_test_invalid_magic_string.sxg.mock-http-headers
  48. test.example.org_test_missing_nosniff.sxg
  49. test.example.org_test_missing_nosniff.sxg.mock-http-headers
  50. test.html
  51. x509.ext
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.