Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync dc4eu-rome with wwWallet/master #2

Merged
merged 68 commits into from
Sep 6, 2024
Merged

Sync dc4eu-rome with wwWallet/master #2

merged 68 commits into from
Sep 6, 2024

Conversation

gkatrakazas
Copy link

No description provided.

gkatrakazas and others added 30 commits June 25, 2024 13:38
Send all necessary user data after success signup
Instead of collapsing all possible errors down to just `DB_ERR`.
This helps prevent data loss if a user has two concurrent sessions and
one attempts to overwrite changes made by the other. Each client must
now keep track of the `X-Private-Data-ETag` value returned when the
client most recently updated its local copy of the private data, and
send that value as the `X-Private-Data-If-Match` header when
performing an update. If the header is missing or does not match the
current server state, the update is rejected.

These headers are meant to imitate the general-purpose `ETag` and
`If-Match` headers, but named with a prefix to indicate that they only
apply to the private data field when used in requests that also
retrieve or handle other fields.
Remove initSession and use only filterUserData
Update Login/Signup for Offline Compatibility
Support asymmetric encryption in frontend
emlun and others added 27 commits August 5, 2024 18:57
This allows TypeScript to correctly infer the success type of `userRes.val` in
the `ok` branch, so we don't need to `unwrap()` it and (seemingly) risk a
runtime error.
Add version number to token payload
Rename UserEntity.webauthnUserHandle to uuid and use it instead of DID where possible
Delete createIdToken and other unused code
@gkatrakazas gkatrakazas requested a review from kkmanos September 6, 2024 08:17
@gkatrakazas gkatrakazas merged commit 7b238a2 into dc4eu-rome Sep 6, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants