Skip to content

Commit 35f306c

Browse files
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 th emiddleware.
1 parent 98027c8 commit 35f306c

File tree

11 files changed

+2045
-2
lines changed

11 files changed

+2045
-2
lines changed

Cargo.lock

Lines changed: 152 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)