Commit a3efdc0
committed
feat: add encryption middleware.
Use WebAssembly for argon2, and Web Crypto API to decrypt.
Support modes of encryption based on paths and implement with
middleware.
* Direct key (env)
* Password supplying (uses Argon2) (env, or `config.toml`)
* Key generation
In the future we may also introduce a nice-password generator but for
now this proves out the idea.
See ENCRYPTION.md for more information on the middleware.
Closes #29931 parent 45d6058 commit a3efdc0
File tree
11 files changed
+2045
-2
lines changed- components
- config/src
- config
- site
- src
- middleware
- templates/src
- builtins
11 files changed
+2045
-2
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments