Repository navigation
UVF support #274
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
Merged
Merged
UVF support #274
Changes from all commits
Commits
Show all changes
177 commits
Select commit
Hold shift + click to select a range
2d080ea
add `"alg": "A256KW"` support for JWEs
overheadhunter d109cff
uvf metadata (WiP).
chenkins 55633f1
remove dead code from `backend.ts` for now
overheadhunter fe7ff3d
disentangle v8 and uvf based vaults
overheadhunter be8803c
move vault format 8 code to separate file
overheadhunter b51cc59
move UVF code to separate file
overheadhunter a9f12d4
adjust UVF payload to latest spec
overheadhunter cdf5571
Merge branch 'develop' into feature/uvf
overheadhunter 3f77d16
new JWE API supporting compact and JSON format
overheadhunter 3646379
use correct `AlgorithmID` for Concat KDF
overheadhunter f1c14fd
added tests
overheadhunter e0a7ab1
Merge branch 'develop' into feature/uvf
overheadhunter aa1690f
type cleanup
overheadhunter e6e028a
include recovery key in UVF metadata
overheadhunter a85cf3c
create UVF-based vault
overheadhunter 32f2743
store uvf metadata and recovery key in vault table
overheadhunter a63ef34
adjusted to DTO model
overheadhunter 6ce1569
Merge branch 'develop' into feature/uvf
overheadhunter 01c8a06
grant permission to UVF vault
overheadhunter 36eb79c
fix autocompletion mistake
overheadhunter 3cf9c8e
use common interfaces for VF8 and UVF
overheadhunter 69f0360
fix linter errors
overheadhunter 7bddc62
experimental implementation of `serializePrivateKey()`
overheadhunter ba05d8b
make config.ts usable during tests
overheadhunter 3d1db01
deduplicate "encrypt for user"
overheadhunter 6b46862
store recovery key among vault key in access token
overheadhunter cb4e53a
reordered fields
overheadhunter b294f55
store recovery key as PKCS8 instead of words
overheadhunter a3fc184
adjusted parameter order
overheadhunter aeafffe
fix mocha test explorer: `document is not defined`
overheadhunter 17c7099
fix method signature
overheadhunter f3f3e02
relax linter
overheadhunter aa49371
add tests
overheadhunter eda2621
add tests
overheadhunter 815199f
reduce public API surface
overheadhunter 037157f
add tests
overheadhunter 2a40d01
speed up tests by reducing KDF iteration count
overheadhunter 5118876
Merge branch 'develop' into feature/uvf
overheadhunter e4f9865
renamed files
overheadhunter e27d20a
clean up tests
overheadhunter 657598a
fix uneffective test
overheadhunter 88a95eb
clean up test
overheadhunter c229fdd
remove outdated TODOs
overheadhunter b46f55e
restore recovery key from human-readable form
overheadhunter b0790aa
store JWK Set in backend
overheadhunter 98cd173
expose `jwks.json` and `vault.uvf` endpoints
overheadhunter 00641e4
switch to MemberDto
overheadhunter 4f3e969
cleanup
overheadhunter 8320786
include role-depending data in access token
overheadhunter 458e98a
Merge branch 'develop' into feature/uvf
overheadhunter 8cb9af6
add `UniversalVaultFormat.recover(...)`
overheadhunter aad13fa
Merge branch 'develop' into feature/uvf
overheadhunter 686713b
Merge branch 'develop' into feature/uvf
overheadhunter 994d7b3
Merge branch 'develop' into feature/uvf
overheadhunter 155d640
remove unnecessary guard
overheadhunter 9b4f5ba
fix weird error message in unit tests
overheadhunter 388426f
pass in URL during vault template generation
overheadhunter 52b97b5
improve test
overheadhunter 7224b46
add root directory to vault template
overheadhunter 81e9ab4
split up `computeDirId` and `computeDirIdHash`
overheadhunter 9c3ab12
add `dir.uvf` file to vault template
overheadhunter ec4415d
refine test
overheadhunter 2947b80
show also uvf recovery key in vault details
infeo 2d03e39
fix linter hints
infeo bf85c2a
(unfinished) rework recover Vault dialog
infeo 8d86446
Do not erase uploaded file on failed upload
infeo 57cfd0a
improve error handling
infeo b1f9fc4
define event listeners as functions
infeo a667e0d
remove unused Error class
infeo 871b6de
set vault type during recovery
infeo 3368768
minor adjustments
infeo b43a946
add additional verification to vaultformat 8 module
infeo ea77daf
Add negative test for vaultFormat8 verfiy and recover
infeo c2fe768
reduce diff
infeo b2cb75d
add doc string
infeo 64d8ff6
add tests for simple jwt parsing
infeo eaaad24
improve error handling
infeo 597b2cc
add error translations
infeo b7a0687
more wording/translations
infeo afd370f
fix display bug
infeo 0de22c9
Merge branch 'develop' into feature/uvf
overheadhunter 917fedc
use new JWE parser in `userdata.ts`
overheadhunter 847ecc4
dedup
overheadhunter 26369a5
adjust DTO to carry both EC keys
overheadhunter e77ca7a
Merge branch 'develop' into feature/uvf
overheadhunter 3e30a00
Merge branch 'develop' into feature/uvf
overheadhunter fd0add4
fixed test
overheadhunter 68eb5d9
fixed linter warnings
overheadhunter ebd5f7d
Merge branch 'develop' into feature/uvf
overheadhunter 4268484
make tests run from IDE again
overheadhunter 3ca8f78
linter error
overheadhunter a0ce488
spec is final now
overheadhunter da7fe40
encode keys with base64url; values with base64
overheadhunter 3cc7d27
use corrected test vectors confirmed in java
overheadhunter f684a58
fix incorrect hkdf output size
overheadhunter 12106cc
Merge branch 'develop' into feature/uvf
overheadhunter c1d6c29
reordered flyway migrations
overheadhunter 5a38a4d
Merge branch 'develop' into feature/uvf
overheadhunter fd6db88
reordered migrations
overheadhunter 1f0b7c6
Merge branch 'develop' into feature/uvf
overheadhunter cd68e29
Merge branch 'develop' into feature/uvf
overheadhunter 3a65446
Merge branch 'develop' into feature/uvf
overheadhunter b5a94a9
use base64url in `vault.uvf`
overheadhunter 7e285ea
fix base64url encoding and tests
overheadhunter 6efd702
fix test broken during merge cd68e29
overheadhunter ce36aa1
run linter
overheadhunter 928b613
Merge branch 'develop' into feature/uvf
overheadhunter 9fb01db
Merge branch 'develop' into feature/uvf
overheadhunter 27a944d
use 512 bit keys for HMAC-SHA256 as per spec
overheadhunter b882d6b
Merge branch 'develop' into feature/uvf
tobihagemann 6318fb6
Merge branch 'develop' into feature/uvf
overheadhunter 85f4d30
force big-endian seed IDs
overheadhunter e7dceec
use `Uint8Array<ArrayBuffer>` (TS 5.7 adjustments)
overheadhunter 703d092
use `Uint8Array<ArrayBuffer>` (TS 5.7 adjustments)
overheadhunter ce24d91
add missing protected header params
overheadhunter 6bac061
Merge branch 'develop' into feature/uvf
overheadhunter 008b3cd
Merge branch 'develop' into feature/uvf
overheadhunter 7272005
Merge branch 'develop' into feature/uvf
overheadhunter 5ac0762
Merge branch 'develop' into feature/uvf
overheadhunter 04a88c2
Merge branch 'develop' into feature/uvf
overheadhunter b92e7d3
fix build
overheadhunter 236e9cf
Merge branch 'develop' into feature/uvf
overheadhunter 7e7bd3c
fix frontend build
overheadhunter e2e0561
fix test
overheadhunter 15f79b5
Merge branch 'develop' into feature/uvf
overheadhunter 9a0f8df
fix test
overheadhunter 4b86f36
Merge branch 'develop' into feature/uvf
overheadhunter a8135f1
Read `maxWotDepth` from `/api/settings`
overheadhunter f5acdcc
Adjust wotMaxDepth constraint: allow -1 to Integer.MAX_VALUE
Copilot 66d326f
Restore @Max(9) on wotMaxDepth, keep @Min(-1)
Copilot aae0e59
Merge pull request #447 from cryptomator/copilot/adjust-settings-dto-…
overheadhunter e7a210d
undo #447
overheadhunter d0f40df
add `automatic access grant` settings
overheadhunter c4ae29f
add `GET /vaults/users-requiring-access-grant`
overheadhunter 5b7a148
fix test
overheadhunter 431fa68
Merge branch 'develop' into feature/uvf
overheadhunter 87cf1c7
Merge branch 'uvf' into `automatic-access-grant`
overheadhunter 29aaa77
change migration order
overheadhunter 705f2de
add "automatic" to audit log event
overheadhunter da97a13
add `POST /{vaultId}/access-tokens/auto`
overheadhunter b7461b3
refine settings UI
overheadhunter cd1bf5c
Implement client-side automatic access grant agent
overheadhunter 8a761db
simplify backoff strategy
overheadhunter 3c26751
Merge branch 'develop' into feature/uvf
overheadhunter 6f7b109
Apply suggestions from code review
overheadhunter 8daa49b
renamed event to avoid confusion
overheadhunter cebef13
update event DTOs
overheadhunter 555a192
remove support for `maxWotDepth: -1`
overheadhunter fc820fa
Merge pull request #457 from cryptomator/feature/automatic-access-grant
overheadhunter b27700c
Merge branch 'develop' into feature/uvf
overheadhunter bf8b70e
Merge branch 'develop' into feature/uvf
overheadhunter 6c8835d
Merge branch 'develop' into feature/uvf
overheadhunter b81da19
constructor injection
overheadhunter 35b6dcd
Merge branch 'develop' into feature/uvf
overheadhunter 030d106
Merge branch 'develop' into feature/uvf
overheadhunter 92a19a1
Merge branch 'develop' into feature/uvf
overheadhunter 8c011cf
rename: `automaticAccessGrant.trustThreshold`
overheadhunter ca67755
Merge branch 'develop' into feature/uvf
overheadhunter 81eb2b8
null → undefined
overheadhunter 02c9d81
adjust tests
overheadhunter 24a3ef7
Merge branch 'develop' into feature/uvf
overheadhunter f867369
remove duplicate import
overheadhunter 45b258e
Merge branch 'develop' into feature/uvf
overheadhunter 2fb7114
drop unnecessary async
overheadhunter bfde5f1
uvf spec compliance
overheadhunter 0ee5a35
refactored JWE API
overheadhunter 2b561f5
remove downstream reference in upstream code
overheadhunter ba52098
add "secret" `?uvf=1` param
overheadhunter 570ac2c
fix error 400 during vault creation
overheadhunter c43c40c
address sonar findings
overheadhunter f431254
increase api level
overheadhunter 689dab8
address findings from code review
overheadhunter 0a1745f
make sonar happy
overheadhunter b2c7a2d
owner-preserving uvf vault access recovery
overheadhunter c1529cd
fix double slash in `/api//vaults/...`
overheadhunter eef21c7
code cleanup
overheadhunter 83114de
check for `onCreateError` instead of `onRecoverError`
overheadhunter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.