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
UVF support #274
base: develop
Are you sure you want to change the base?
UVF support #274
Conversation
# Conflicts: # backend/src/test/java/org/cryptomator/hub/api/VaultResourceTest.java
# Conflicts: # backend/src/main/java/org/cryptomator/hub/api/VaultResource.java # backend/src/main/java/org/cryptomator/hub/entities/Vault.java # backend/src/test/java/org/cryptomator/hub/api/VaultResourceIT.java # frontend/src/components/VaultDetails.vue
[ci skip]
in access token
Important Review SkippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
in `/api/vaults/{v}/users-requiring-access-grant`, allowing us to know the member's role
# Conflicts: # frontend/src/common/backend.ts
# Conflicts: # frontend/src/common/jwe.ts # frontend/src/components/GrantPermissionDialog.vue
This PR adds fundamental support for UVF-based vaults. During vault creation either format is selected. There is no migration of format 8 based vaults planned. Vault access tokens either contain a format 8 Masterkey OR a UVF member key (which is an A256KW key for the
vault.uvf
file).Notable changes:
uvf.ts
andvaultv8.ts
, leaving common crypto incrypto.ts
jwe.ts
capable of handling compact as well as json serialization with support forECDH-ES
(legacy, decrypt only),ECDH-ES+A256KW
,PBES2+A256KW
andA256KW
, allowing encryption for multiple recipientsvault.uvf
file as well as the public part of a recovery key pairTODO