tree: ecbaa3948166f0c12272f5afa71300f76c5575a7 [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. fallback.html
  7. generate-test-certs.sh
  8. generate-test-sxgs.sh
  9. hello.txt
  10. no-respond-with-service-worker.html
  11. no-respond-with-service-worker.js
  12. no-respond-with-service-worker.js.mock-http-headers
  13. prefetch.html
  14. prime256v1-sha256-noext.public.pem
  15. prime256v1-sha256.csr
  16. prime256v1-sha256.public.pem
  17. prime256v1.key
  18. publisher-service-worker.html
  19. publisher-service-worker.js
  20. publisher-service-worker.js.mock-http-headers
  21. secp384r1-sha256.csr
  22. secp384r1-sha256.public.pem
  23. secp384r1.key
  24. service-worker-prefetch.html
  25. service-worker-prefetch.js
  26. service-worker.html
  27. service-worker.js
  28. sw-prefetch-scope/
  29. sw-scope-navigation-preload/
  30. sw-scope-no-respond-with/
  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.