├── .gitattributes ├── .github ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .npmrc ├── LICENSE ├── README.md ├── eslint.config.js ├── examples └── simple │ ├── example-key │ └── example.js ├── genkey.js ├── index.js ├── package.json ├── test ├── access.test.js ├── anti-reuse.test.js ├── cookie-name.test.js ├── decorators.test.js ├── delete.test.js ├── dynamic-cookie-options.test.js ├── fastify-cookie.test.js ├── fieldName.test.js ├── http-only.test.js ├── key-base64.test.js ├── key-rotation.test.js ├── key.test.js ├── malformed-cookie.test.js ├── multi.test.js ├── nonce-bad-length.test.js ├── path.test.js ├── regenerate.test.js ├── salt.test.js ├── schema.test.js ├── secret.test.js ├── signed.test.js └── touch.test.js └── types ├── index.d.ts └── index.test-d.ts /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | ignore-scripts=true 2 | package-lock=false 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/eslint.config.js -------------------------------------------------------------------------------- /examples/simple/example-key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/examples/simple/example-key -------------------------------------------------------------------------------- /examples/simple/example.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/examples/simple/example.js -------------------------------------------------------------------------------- /genkey.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/genkey.js -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/package.json -------------------------------------------------------------------------------- /test/access.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/access.test.js -------------------------------------------------------------------------------- /test/anti-reuse.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/anti-reuse.test.js -------------------------------------------------------------------------------- /test/cookie-name.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/cookie-name.test.js -------------------------------------------------------------------------------- /test/decorators.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/decorators.test.js -------------------------------------------------------------------------------- /test/delete.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/delete.test.js -------------------------------------------------------------------------------- /test/dynamic-cookie-options.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/dynamic-cookie-options.test.js -------------------------------------------------------------------------------- /test/fastify-cookie.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/fastify-cookie.test.js -------------------------------------------------------------------------------- /test/fieldName.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/fieldName.test.js -------------------------------------------------------------------------------- /test/http-only.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/http-only.test.js -------------------------------------------------------------------------------- /test/key-base64.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/key-base64.test.js -------------------------------------------------------------------------------- /test/key-rotation.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/key-rotation.test.js -------------------------------------------------------------------------------- /test/key.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/key.test.js -------------------------------------------------------------------------------- /test/malformed-cookie.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/malformed-cookie.test.js -------------------------------------------------------------------------------- /test/multi.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/multi.test.js -------------------------------------------------------------------------------- /test/nonce-bad-length.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/nonce-bad-length.test.js -------------------------------------------------------------------------------- /test/path.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/path.test.js -------------------------------------------------------------------------------- /test/regenerate.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/regenerate.test.js -------------------------------------------------------------------------------- /test/salt.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/salt.test.js -------------------------------------------------------------------------------- /test/schema.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/schema.test.js -------------------------------------------------------------------------------- /test/secret.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/secret.test.js -------------------------------------------------------------------------------- /test/signed.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/signed.test.js -------------------------------------------------------------------------------- /test/touch.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/test/touch.test.js -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/types/index.d.ts -------------------------------------------------------------------------------- /types/index.test-d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fastify/fastify-secure-session/HEAD/types/index.test-d.ts --------------------------------------------------------------------------------