186 Commits
Author SHA1 Message Date
Lukas Burkhalter 6882243307 feat(crypto)!: Switch to GopenPGP from maven-central.
Instead of using GopenPGP from a local sub-folder,
we now pull it directly from Maven Central with versioning.
2025-11-21 15:02:41 +00:00
Mateusz Armatys a44b79c533 chore: Update plugins and libraries.
AGP 8.9.1
Gradle 8.13
Dagger/Hilt 2.53.1
Jacoco to Cobertura 1.3.2
Room 2.7.2
Store 5.0.0
2025-09-18 17:05:30 +02:00
Yoann Goular 6c02e31703 fix(CP-10183): Filter out forwarding keys from the generated signed key list. 2025-08-18 11:24:15 +00:00
Mateusz Armatys fc7635713a fix(user-data): Use UserDao when trying to get a credential-less user from the database.
Using `UserWithKeysDao` is not needed, since a credential-less user doesn't have keys.
2025-05-29 11:49:02 +00:00
Marcin Simonides 738ba26a27 fix: Update Cache4k to improve start time.
Old Cache4k uses old Stately library with some questionable choices that
causes slow initialization of IsoMutableMap and Cache objects. The new
version should be ok.
2025-04-03 10:14:32 +02:00
Mateusz Armatys fe47a6a308 fix(user): Properly update the used space. 2025-02-26 09:54:24 +00:00
dkadrikj e086a2e140 feat(payment): Make username frame optional for guest mode. 2025-01-07 13:15:27 +00:00
Mateusz Armatys f1e5577b1c build: Build platform update.
- Gradle 8.7 -> 8.9
- AGP 8.5.2 -> 8.7.2
- Compose 1.6.8 -> 1.7.5
- Compose Material3 1.2.1 -> 1.3.1
- Dependency Analysis plugin 1.25.0 -> 2.4.2
- Kotlin 1.9.25 -> 2.0.21
- Removed explicit version of `kotlinCompilerExtensionVersion`. Now, it's managed by `compose-compiler` plugin.
- Remove deprecated `android.defaults.buildfeatures.buildconfig` setting from `gradle.properties`. Use `buildFeatures.buildConfig = true` for any module that needs to generate `BuildConfig` class.
2024-12-02 10:08:26 +00:00
Neil Marietta 3541f48e4b fix(user): Don't fetch CredentialLess User Address. 2024-11-12 13:17:31 +00:00
Neil Marietta 7678668319 fix: Refresh/replace all UserAddresses on EventLoop onResetAll. 2024-11-01 10:44:07 +01:00
Neil Marietta c01343b7e7 fix(user): Refresh KeySalts after changePassword (to be able to derive passphrase from password). 2024-10-24 11:31:48 +00:00
Neil Marietta 9bed1db76d feat!(auth): Added Global SSO Change Password support.
MIGRATIONS:
- UserDatabase.MIGRATION_6
- AccountDatabase.MIGRATION_9
2024-10-22 18:35:08 +02:00
Neil Marietta 468f2ca7c6 feat(auth): Added DeviceSecret Activity/NavHost/ViewModel basic logic. 2024-09-24 15:41:10 +02:00
dkadrikj 9c3b15e59f feat(auth, key, user): Add unprivatization use cases. 2024-09-18 18:11:21 +02:00
Neil Marietta 2e4cb420da fix(user): Filter non-migrated User Address Keys from reactivation. 2024-09-16 15:08:55 +02:00
Neil Marietta c102c36c6d fix(user): Refresh User Addresses after reactivateKey/resetPassword. 2024-08-26 13:00:29 +02:00
Mateusz Armatys 005682451a build: Update Kover (0.7.1 -> 0.8.2). 2024-07-09 10:23:13 +00:00
dkadrikj 2f46ce65ed chore: Remove binary compatibility validator. 2024-07-05 15:08:05 +02:00
Mateusz Armatys d6e61bcd18 refactor(user-settings, auth, observability): Refactor to use SecondFactorProof instead of the duplicate SecondFactorFido.kt. 2024-06-28 14:50:42 +02:00
dkadrikj 028b00c322 feat(user-settings, auth): Integrate Fido2 when changing password. Update password change UI. 2024-06-26 17:06:33 +02:00
Mateusz Armatys 8c5da0a048 feat(auth, observability): Observability for FIDO2 security keys usage. 2024-06-25 11:02:31 +00:00
Mateusz Armatys bf5a84eb86 feat(auth, user): Support for second factor FIDO2 when obtaining password scope. 2024-06-21 11:49:33 +00:00
Neil Marietta f3495d65c2 fix(account-manager): AccountManager remove/disable Account must not be cancelled by caller. 2024-05-15 16:37:13 +02:00
Mateusz Armatys 8fafd3f500 fix(user-recovery)!: Remove RecoverySecret from DB.
MIGRATION:
- Add `UserKeyDatabase.MIGRATION_1`.
2024-05-15 16:37:13 +02:00
Mateusz Armatys 3df23cfea1 feat!: Added Device Recovery Handler.
- If user has no recovery secret, create it and upload to BE.
- If there is no recovery file, create it and store locally.

MIGRATION:
- Add `DeviceRecoveryDatabase.MIGRATION_0`.
- Provide `DeviceRecoveryDatabase` via dagger.
- Add `RecoveryFileEntity` to your `@Database.entities`.
2024-05-15 16:37:12 +02:00
Neil Marietta bbcc15eb6c fix(user): Removed Organization Keys support (deprecated). 2024-04-22 09:55:22 +00:00
dkadrikj 14570e364a fix(auth): Fix credless HV duplicate invocation. 2024-04-19 17:10:49 +02:00
dkadrikj 9817522ff1 feat(user,key): Add key reactivation. 2024-04-05 14:17:08 +02:00
dkadrikj c59081321c feat(user-settings, key): Add reset user password. 2024-03-11 12:08:20 +01:00
Mateusz Armatys 90e5cf3f9f refactor(user): Add local and remote data sources for user repository. 2024-03-08 16:02:18 +00:00
Mateusz Armatys 8b6cf5e597 fix(user-settings, user): Avoid calling some API endpoints for credential-less users. 2024-03-08 16:02:18 +00:00
Mateusz Armatys b94fb01493 fix(auth, user): Pass sessionId of credential-less user when creating a regular account. 2024-03-07 13:03:16 +01:00
Neil Marietta c517bba3ee chore: Upgraded Kotlin to 1.9.22 (and needed dependencies). 2024-02-28 18:09:18 +00:00
Neil Marietta 1c72136a24 feat!: Added CredentialLess Support.
DB Migrations:
- UserDatabase.MIGRATION_5: Added User.type.
- AccountDatabase.MIGRATION_7: Account.username nullable.
2024-02-13 15:08:04 +01:00
Neil Marietta 82be3754e6 feat: Added Custom Tabs support for LoginSso Activity. 2024-01-29 14:36:16 +00:00
Mateusz Armatys b0dc94313a feat(user-data): Add support for storage split in UserSpaceEventListener. 2024-01-15 16:07:30 +01:00
Mateusz Armatys ce89e608cb feat!: Add new fields into User (for storage split).
MIGRATION: UserDatabase.MIGRATION_4
2024-01-15 16:07:30 +01:00
dkadrikj 20d70b0e41 feat(user, key): Add recovery secret and recovery secret signature. 2024-01-15 12:41:13 +01:00
Mateusz Armatys cde18282f2 build(coverage): Set up min and max bounds for coverage. 2023-12-19 19:45:50 +01:00
Neil Marietta 27c3efe40f test(user): Added User Data tests. 2023-09-08 14:56:54 +02:00
Neil Marietta 018a6cbdfc refactor(user)!: Removed deprecated User API. 2023-09-08 14:56:54 +02:00
Marcin Simonides c1ebf4bdb6 feat(user)!: Added User creation time.
Migrations: UserDatabase.MIGRATION_3, AccountDatabase.MIGRATION_6.
2023-08-21 10:01:12 +00:00
Nicolas Mouchel 327e14a5cd feat(key): Decrypt and returns unverified key. 2023-07-17 09:26:28 +00:00
Mateusz Armatys 13dec4a3ee refactor(auth): Migrate sign-up metrics to Result API. 2023-07-10 11:48:59 +00:00
Neil Marietta 2e047f3009 refactor(auth): Migrated SignUp metrics to Result API. 2023-07-10 11:48:59 +00:00
Mateusz Armatys 1af8ab6815 refactor(auth, user): Migrate sign-up metrics to Result API. 2023-07-10 11:48:59 +00:00
Carlos Quintana 101aad39cb chore(user): allow to configure refreshKeySalts on UserManager.unlock 2023-07-10 11:44:58 +02:00
Neil Marietta ebfa017f37 chore!: Upgraded AGP to 8.0.2 (+Java 17). 2023-07-04 16:22:38 +02:00
Neil Marietta 144ff648bd chore: Upgraded Kotlin to 1.8.10 (+Dagger 2.46.1, +Compose to 1.4.3, +AppCompat 1.6.1, +Lifecycle 2.6.1, +Robolectric 4.10.3). 2023-07-04 15:13:07 +02:00
Neil Marietta 935597e324 refactor: SessionManager now hold a Mutex for any session write (centralized).
Session is now separated into Authenticated and Unauthenticated.
2023-07-03 17:35:58 +02:00