Commit graph

28 commits

Author SHA1 Message Date
qaz741wsd856
84067f41f0 refactor: offload cpu heavy endpoint to durable object and enhance password hashing with per-user iterations 2025-12-26 15:22:50 +00:00
qaz741wsd856
4f61077ca9 fix: add R2 cleanup to every delete route 2025-12-07 16:24:48 +00:00
qaz741wsd856
38b978ca6e chore: format code 2025-12-06 17:52:31 +00:00
qaz741wsd856
3ba2f09ea3 feat: add validation for key rotation metadata 2025-12-06 15:51:42 +00:00
qaz741wsd856
84e35ec032 feat: support for changing user name and avatar color 2025-12-06 15:42:52 +00:00
qaz741wsd856
3408ccb555 feat: implement two-factor authentication (2FA) support with TOTP and recovery codes 2025-12-06 15:01:14 +00:00
qaz741wsd856
40f07dcd58 feat: add purge vault endpoint for deleting all ciphers and folders 2025-12-05 03:38:44 +00:00
qaz741wsd856
a724719f4b refactor: replace js wrapper with rust binding 2025-12-04 17:54:16 +00:00
qaz741wsd856
eef8ab5acc fix: clear unexpected KDF parameters in registration and key rotation 2025-12-04 17:18:53 +00:00
qaz741wsd856
a1fd81c1a9 feat: implement backward compatibility for KDF settings in accounts handler
- Added support for both simple and complex KDF request formats in the post_kdf handler.
- Enhanced KDF validation to ensure compatibility with legacy formats.
- Updated data structures to reflect changes in KDF parameters and request handling.
- Introduced methods to extract KDF parameters and new password hash from either format.
2025-12-04 15:32:47 +00:00
qaz741wsd856
b519226cd6 feat: implement Argon2 KDF support in user authentication and registration
- Added new fields for Argon2 parameters (kdf_memory, kdf_parallelism) in the users table and related SQL migration.
- Updated API routes and handlers to support changing KDF settings.
- Enhanced KDF validation logic to accommodate both PBKDF2 and Argon2.
- Modified user registration and prelogin responses to include Argon2 parameters.
- Updated relevant data structures to reflect new KDF settings.
2025-12-04 14:44:40 +00:00
Copilot
cdcae96d52
Add glob pattern support for ALLOWED_EMAILS (#2)
* Initial plan

* Add glob pattern support for ALLOWED_EMAILS environment variable

Co-authored-by: SunsetMkt <26019675+SunsetMkt@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: SunsetMkt <26019675+SunsetMkt@users.noreply.github.com>
2025-12-04 12:12:28 +08:00
qaz741wsd856
238573f299 feat: add profile retrieval endpoint and refactor profile creation logic 2025-12-04 03:26:30 +00:00
qaz741wsd856
8b22bf9fc1 fix: update KDF type and iterations during key rotation 2025-12-03 18:22:08 +00:00
qaz741wsd856
25c16cf03a refactor: unify cipher data definition 2025-12-01 05:11:50 +00:00
qaz741wsd856
ae6d52a638 fix: handle null folder IDs in account data to prevent errors during updates 2025-11-30 10:44:16 +00:00
qaz741wsd856
43ccd71504 fix: add master password hint to user registration process 2025-11-30 08:46:40 +00:00
qaz741wsd856
d17d524842 feat: implement data integrity validation for key rotation requests 2025-11-30 08:46:13 +00:00
qaz741wsd856
9a028169b7 feat: add password change and key rotation endpoints for user accounts 2025-11-30 08:00:05 +00:00
qaz741wsd856
8015ceb37d fix: update send_verification_email endpoint to return a json type 2025-11-29 16:29:59 +00:00
qaz741wsd856
16a2a7421b feat: implement password salting and PBKDF2 hashing for user registration and authentication 2025-11-29 14:42:40 +00:00
qaz741wsd856
744a05906c fix: update delete account request format 2025-11-28 14:57:57 +00:00
qaz741wsd856
2ecc13bf02 feat: add delete account support 2025-11-28 15:47:25 +08:00
qaz741wsd856
ce0b1a39f8 fix: add revision date endpoint 2025-11-28 14:02:47 +08:00
Deep
892036f65e Cargo fix 2025-09-21 16:02:07 +05:30
Deep
5ad6a1986d Cleanup 2025-09-21 16:01:16 +05:30
Deep
2cb2004840 Vault + registration 2025-09-21 15:39:41 +05:30
Deep
0112286623 Login to vault 2025-09-21 11:35:13 +05:30