-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Encrypted device sync #1373
Merged
Merged
Encrypted device sync #1373
Commits on Sep 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 44604bc - Browse repository at this point
Copy the full SHA 44604bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 071a67a - Browse repository at this point
Copy the full SHA 071a67aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cfbbca - Browse repository at this point
Copy the full SHA 0cfbbcaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f3fbee - Browse repository at this point
Copy the full SHA 4f3fbeeView commit details
Commits on Sep 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 33128cf - Browse repository at this point
Copy the full SHA 33128cfView commit details
Commits on Sep 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f23f750 - Browse repository at this point
Copy the full SHA f23f750View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99db743 - Browse repository at this point
Copy the full SHA 99db743View commit details -
Configuration menu - View commit details
-
Copy full SHA for aded982 - Browse repository at this point
Copy the full SHA aded982View commit details -
Configuration menu - View commit details
-
Copy full SHA for f17cb6c - Browse repository at this point
Copy the full SHA f17cb6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 730ce9e - Browse repository at this point
Copy the full SHA 730ce9eView commit details
Commits on Sep 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6ed9cfa - Browse repository at this point
Copy the full SHA 6ed9cfaView commit details
Commits on Sep 13, 2024
-
Configuration menu - View commit details
-
Copy full SHA for efbcac3 - Browse repository at this point
Copy the full SHA efbcac3View commit details
Commits on Sep 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 93e6bd4 - Browse repository at this point
Copy the full SHA 93e6bd4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41a0c6b - Browse repository at this point
Copy the full SHA 41a0c6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d9b7277 - Browse repository at this point
Copy the full SHA d9b7277View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9213770 - Browse repository at this point
Copy the full SHA 9213770View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8031bc3 - Browse repository at this point
Copy the full SHA 8031bc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 49b4a71 - Browse repository at this point
Copy the full SHA 49b4a71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b73171 - Browse repository at this point
Copy the full SHA 4b73171View commit details
Commits on Sep 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8fcc7c5 - Browse repository at this point
Copy the full SHA 8fcc7c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ed8c2a - Browse repository at this point
Copy the full SHA 1ed8c2aView commit details
Commits on Sep 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8327269 - Browse repository at this point
Copy the full SHA 8327269View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79e1821 - Browse repository at this point
Copy the full SHA 79e1821View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d8272 - Browse repository at this point
Copy the full SHA 51d8272View commit details -
Refactor local<>vault storage interface
I've changed quite some things here. Attempt of a summary: * storageKey is now only controlled by useVaultStorageState I've noticed that dealing with how storage keys are generated (to apply user scope) was handled in two places: the existing wallet code and in the new vault code. This was confusing and error-prone. I've fixed that by completely relying on the new vault code to generate correct storage keys. * refactored migration Migration now simply encrypts any existing local wallets and sends them to the server. On success, the local unencrypted version is deleted. The previous code seemed to unnecessarily generate new local entries prefixed by 'vault:'. However, since we either use unencrypted local state OR use the encrypted vault on the server for the data, I didn't see any need for these. Migration seems to work just as well as before. * removed unnecessary state In the <DeviceSync> component, enabled & connected were using a unnecessary combo of useState+useEffect. They were only using variables that are always available during render so simple assignments were enough. * other minor changes include: * early returns * remove unnecessary SSR checks in useEffect or useCallback * formatting, comments * remove unnecessary me? to expose possible bugs
Configuration menu - View commit details
-
Copy full SHA for d03fda2 - Browse repository at this point
Copy the full SHA d03fda2View commit details -
Fix missing dependency for useZap
This didn't cause any bugs because useWallet returns everything we need on first render. This caused a bug with E2EE device sync branch though since there the wallet is loaded async. This meant that during payment, the wallet config was undefined.
Configuration menu - View commit details
-
Copy full SHA for d2450e9 - Browse repository at this point
Copy the full SHA d2450e9View commit details
Commits on Sep 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for afad3e4 - Browse repository at this point
Copy the full SHA afad3e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cf0466 - Browse repository at this point
Copy the full SHA 7cf0466View commit details -
This adds 'perDevice' as a new wallet field to force local storage. For example, WebLN should not be synced across devices.
Configuration menu - View commit details
-
Copy full SHA for bc0fde5 - Browse repository at this point
Copy the full SHA bc0fde5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 330b7a6 - Browse repository at this point
Copy the full SHA 330b7a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3015e8e - Browse repository at this point
Copy the full SHA 3015e8eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c492d - Browse repository at this point
Copy the full SHA 34c492dView commit details -
revert some of the migration and key handling changes. restore debug …
…buttons for testing
Configuration menu - View commit details
-
Copy full SHA for d982c96 - Browse repository at this point
Copy the full SHA d982c96View commit details
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 253373f - Browse repository at this point
Copy the full SHA 253373fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c737845 - Browse repository at this point
Copy the full SHA c737845View commit details -
Configuration menu - View commit details
-
Copy full SHA for 59c8f1c - Browse repository at this point
Copy the full SHA 59c8f1cView commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8631bc2 - Browse repository at this point
Copy the full SHA 8631bc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a283f5 - Browse repository at this point
Copy the full SHA 2a283f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f437ac - Browse repository at this point
Copy the full SHA 7f437acView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc5bc8c - Browse repository at this point
Copy the full SHA bc5bc8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6361e93 - Browse repository at this point
Copy the full SHA 6361e93View commit details -
Configuration menu - View commit details
-
Copy full SHA for 92b987d - Browse repository at this point
Copy the full SHA 92b987dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 213f652 - Browse repository at this point
Copy the full SHA 213f652View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa0c066 - Browse repository at this point
Copy the full SHA fa0c066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9653ec0 - Browse repository at this point
Copy the full SHA 9653ec0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8ce344 - Browse repository at this point
Copy the full SHA f8ce344View commit details -
Configuration menu - View commit details
-
Copy full SHA for 472c559 - Browse repository at this point
Copy the full SHA 472c559View commit details -
Configuration menu - View commit details
-
Copy full SHA for d40d997 - Browse repository at this point
Copy the full SHA d40d997View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a880fa - Browse repository at this point
Copy the full SHA 2a880faView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a6981f - Browse repository at this point
Copy the full SHA 6a6981fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7907cdf - Browse repository at this point
Copy the full SHA 7907cdfView commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f0a27f7 - Browse repository at this point
Copy the full SHA f0a27f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dbcde3 - Browse repository at this point
Copy the full SHA 4dbcde3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a1c24b - Browse repository at this point
Copy the full SHA 2a1c24bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 418bd0c - Browse repository at this point
Copy the full SHA 418bd0cView commit details
Commits on Sep 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a922010 - Browse repository at this point
Copy the full SHA a922010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 614a1cc - Browse repository at this point
Copy the full SHA 614a1ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for e56e530 - Browse repository at this point
Copy the full SHA e56e530View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b0fbf2 - Browse repository at this point
Copy the full SHA 7b0fbf2View commit details
Commits on Sep 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 07ba619 - Browse repository at this point
Copy the full SHA 07ba619View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0688b07 - Browse repository at this point
Copy the full SHA 0688b07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f1efe4 - Browse repository at this point
Copy the full SHA 7f1efe4View commit details
Commits on Oct 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b019e69 - Browse repository at this point
Copy the full SHA b019e69View commit details -
Configuration menu - View commit details
-
Copy full SHA for b26c578 - Browse repository at this point
Copy the full SHA b26c578View commit details -
Configuration menu - View commit details
-
Copy full SHA for 98089bd - Browse repository at this point
Copy the full SHA 98089bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b181916 - Browse repository at this point
Copy the full SHA b181916View commit details -
do not show passphrase even if hardened storage is disabled (ie. inde…
…xeddb not supported)
Configuration menu - View commit details
-
Copy full SHA for 08c8996 - Browse repository at this point
Copy the full SHA 08c8996View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf5ff2 - Browse repository at this point
Copy the full SHA 6bf5ff2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fb3a5b - Browse repository at this point
Copy the full SHA 7fb3a5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ada65bc - Browse repository at this point
Copy the full SHA ada65bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3908547 - Browse repository at this point
Copy the full SHA 3908547View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e5ca82 - Browse repository at this point
Copy the full SHA 1e5ca82View commit details
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.