94 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
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
dkadrikj 9c3b15e59f feat(auth, key, user): Add unprivatization use cases. 2024-09-18 18:11:21 +02:00
Damir Mihaljinec 707884f691 fix(key): Disable memory cache for public address info store. 2024-07-22 18:11:13 +02:00
Mateusz Armatys 005682451a build: Update Kover (0.7.1 -> 0.8.2). 2024-07-09 10:23:13 +00:00
dkadrikjandMateusz Armatys 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
dkadrikjandMateusz Armatys 028b00c322 feat(user-settings, auth): Integrate Fido2 when changing password. Update password change UI. 2024-06-26 17:06:33 +02:00
Mateusz ArmatysandMargeBot ac49ea5d88 fix(key): The internalOnly parameter was not honored when calling getPublicAddressInfo method. 2024-06-24 13:53:55 +00:00
Mateusz ArmatysandMargeBot 3ce91147f1 feat(key)!: Store info about active public keys for a given email address.
MIGRATION:
New DB entities: PublicAddressInfoEntity, PublicAddressKeyDataEntity
DB migration: PublicAddressDatabase.MIGRATION_3
2024-06-12 10:07:39 +00:00
Mateusz ArmatysandMargeBot e5ebf2361c feat(key): Deprecate old core/v4/keys endpoint, and add a new one (/core/v4/keys/all). 2024-05-22 13:51:48 +00:00
Neil MariettaandMargeBot bbcc15eb6c fix(user): Removed Organization Keys support (deprecated). 2024-04-22 09:55:22 +00:00
dkadrikj 9817522ff1 feat(user,key): Add key reactivation. 2024-04-05 14:17:08 +02:00
Neil MariettaandMargeBot 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
Mateusz ArmatysandNeil Marietta b7c77cbcc7 fix(plugins-coverage): Exclude classes that end with $DefaultImpls.
Those classes are generated by Kotlin, e.g. when an interface method uses default values.
2024-02-01 12:16:56 +00:00
Neil MariettaandMargeBot 82be3754e6 feat: Added Custom Tabs support for LoginSso Activity. 2024-01-29 14:36:16 +00: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
dkadrikjandDino Kadrikj 43aa11269a test(key-domain): Coverage for Key Domain module. 2023-10-10 13:57:00 +00:00
dkadrikjandDino Kadrikj 1dcad3787f test(key-data): Coverage for Key Data module. 2023-10-10 13:57:00 +00: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
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
Mateusz Armatys 02cf8cb7b3 feat(notification): Observe Push objects to display notifications. 2023-06-27 17:39:14 +02:00
Neil Marietta 54b7552351 feat(user)!: Added User recovery property (UserDatabase.MIGRATION_2). 2023-06-14 14:26:26 +02:00
Neil Marietta 0d80434f7e build(coverage): Added Coverage verification to GitLab Job (koverVerify). 2023-05-11 10:22:24 +02:00
Mateusz ArmatysandNeil Marietta 0eca3ff276 build: Rename proton extension name to protonBuild. 2023-05-09 12:10:17 +00:00
Mateusz Armatys 1b0ca7454a build: Add minimum branch and line coverages for existing modules. 2023-05-04 11:07:23 +00:00
M. Thiercelin 997418b87b feat(key): Verify public addresses in key transparency. 2023-04-13 10:41:31 +00:00
M. Thiercelin a424cbec02 feat(key): Add key transparency values to model. 2023-04-13 10:41:31 +00:00
Niccolò Forlini f7d23113cf test: Update existing unit tests. 2023-03-10 17:23:31 +00:00
Niccolò Forlini db035d7c24 refactor: Make ServerProof validation an usecase. 2023-03-10 17:23:31 +00:00
Neil Marietta ce6d8ee44a refactor: Added prefix and version to Proton endpoints (auth, keys, users, addresses, organizations, settings). 2023-02-21 09:06:53 +00:00
Mateusz Armatys b1c4e41746 test: Migrate tests to the new coroutines-test APIs. 2022-12-05 13:33:57 +00:00
Mateusz Armatys ae89fc06cf refactor: Add explicit coroutine scope for repositories for easier testing. 2022-12-05 13:33:57 +00:00
M. ThiercelinandMargeBot 84262fbf33 fix(key-data): Remove old public keys when refreshing.
When fetching public keys from the backend, we need to
remove old keys that were previously stored in the
local db and are no longer in the API response.
2022-11-22 18:37:55 +00:00
M. ThiercelinandNeil Marietta a63d00ca5b fix(key): Throw when nested private key can't be decrypted
Instead of returning an inactive nested private key if the passphrase
can't be decrypted or verified,
`KeyHolderContext.decryptAndVerifyNestedPrivateKey()` will throw, and
let the caller handle errors.
2022-10-25 08:26:33 +00:00
Marino Meneghel 34a6c9219b fix: Pass test dispatcher to runTest method.
This is to solve test failures which started happening after updating
AGP to 7.1.3 (error `Detected use of different schedulers..`)
2022-09-28 17:50:17 +02:00
Mateusz Armatys dcd0f72313 build: Add core-platform module for aligning dependencies. 2022-07-28 16:07:58 +02:00
Mateusz Armatys c5071d7815 build: Optimize dependencies. 2022-07-28 16:07:58 +02:00
Mateusz Armatys 9730dc01a6 test: Use TestDispatcherProvider when creating ApiProvider. 2022-07-27 18:41:21 +02:00
Mateusz Armatys d444094979 refactor: Use @Binds whenever possible (instead of @Provide). 2022-07-25 19:55:43 +02:00
Mateusz Armatys 749b6b488c Revert "Create Dagger module for all Core modules"
This reverts commit 94ca12a41e.
2022-07-25 19:53:13 +02:00
Jorge MartinandMargeBot 94ca12a41e Create Dagger module for all Core modules 2022-07-25 16:47:31 +00:00
Neil Marietta 6f02637607 fix(user-settings): Fixed Non-admin Organization Member cannot change password. 2022-06-02 16:23:17 +02:00
M. Thiercelin a585c1d243 Crypto: Add functions to get a verified timestamp from a signature.
Add functions getVerifiedTimestampOfText() and getVerifiedTimestampOfData()
to verify a signature against some data and get
the timestamp of the signature if it's verified correctly.
2022-03-28 10:44:53 +02:00