Commit graph

12311 commits

Author SHA1 Message Date
vaf
73d7ddf371
WIP: create encrypt with IV methods in SymmetricCipherFacade 2025-12-01 17:38:06 +01:00
sas
96c1e1d940
WIP write tests 2025-11-27 17:39:46 +01:00
sas
55c83ad722
WIP write tests 2025-11-27 16:04:06 +01:00
sas
5d4a383b84
WIP write tests 2025-11-27 12:02:54 +01:00
sas
90eca8be42
WIP fix tests
do not enforce authentication when using legacy functions

revert key to base 64 conversion
2025-11-27 12:02:54 +01:00
ivk
4f39b5bb57
[build] Enable bulk memory for wasm fallback in Argon2id and Kyber tests
(cherry picked from commit 46ee38271f)
2025-11-26 15:06:21 +01:00
sas
7709dcd824
WIP fix tests 2025-11-26 14:50:42 +01:00
sas
a0255cf73f
WIP fix building tests 2025-11-26 14:42:22 +01:00
sas
73f327be0f
WIP fix building tests 2025-11-24 14:19:00 +01:00
vaf
1286a6055a
WIP: some comments wrt to getting rid of passing the iv for encryption 2025-11-19 11:54:30 +01:00
vaf
dcf65befb3
WIP: fix build 2025-11-17 13:59:17 +01:00
sas
15f277b9f9
WIP split aes256EncryptSearchIndexEntry 2025-11-13 17:07:20 +01:00
sas
965c501ddb
WIP split aesEncrypt 2025-11-13 16:47:32 +01:00
sas
6dae0f8efd
WIP remove usePadding parameter 2025-11-13 15:37:57 +01:00
sas
39ced83a34
WIP compile errors 2025-11-13 15:35:17 +01:00
sas
79706b375f
WIP split unauthenticated decrypt 2025-11-13 14:24:16 +01:00
sas
802287748b
WIP remove ENABLE_MAC 2025-11-13 14:15:06 +01:00
sas
d6e3ed677f
WIP remove usePadding from signature 2025-11-13 12:09:07 +01:00
sas
6ee375d076
WIP remove useMac from signature 2025-11-13 11:30:39 +01:00
sas
0a76cb70ec
WIP do not pass iv to aesEncrypt if not needed 2025-11-13 11:19:17 +01:00
sas
8ae25cf58f
WIP more refactoring 2025-11-13 10:33:43 +01:00
sas
bb4d00113e
WIP remove padding from signature 2025-11-13 09:53:44 +01:00
sas
19aceffd1f
WIP: refactor more stuff 2025-11-12 17:17:48 +01:00
vaf
3dc1deabb0
WIP: implement AEAD, refactor and convert code from Java impl 2025-11-10 17:37:46 +01:00
sas
49ba59557a
Add compatibility test data for AEAD 2025-11-06 16:18:07 +01:00
vaf
53966ae402
Get rid of duplicate CompatibilityTest code for android
rename EncryptionCompatTest.kt to CompatibilityTest.kt to keep in sync with the class name
Note that the tests are not automatically executed by the ci and have to be run manually.
2025-11-06 16:17:56 +01:00
vaf
f74c5379ee
regenerate CompatibilityTestData.json
necessary to hide non-public functions from AES and use seed instead of IV to reproduce the ciphertext.
prepares for AEAD scheme
2025-11-05 17:56:50 +01:00
jenkins build server
452700a96d v314.251030.0 2025-10-30 09:30:29 +01:00
jenkins build server
6d28934f34 update translations 2025-10-30 09:28:12 +01:00
toj
efaf5cb6c4
fix: plan switcher pre-selecting current plan 2025-10-30 09:15:45 +01:00
nig
626e6167d0
use a smarter method for rate-limiting email availability
we have a rate limit on the server, but it's easy to run into and the
resulting suspension will cause a 30s wait.

This new method should limit the request rate (from one client) to just
under the limit the server has, without feeling slow for the vast
majority of users.
2025-10-30 09:15:44 +01:00
nig
c0b830069c
[android] update gradlew
ran ./gradlew wrapper in tuta sdk and android-app
2025-10-30 09:15:34 +01:00
abp
57fa6fd9e8
run clearExcludedData after entityUpdates sync is done
When mails before the cutoff were updated and a user received
entityUpdates for these mails, after prefetching, these mails were
immediately deleted from the offline storage again by the
MailOfflineCleaner. However, the MailIndex re-downloads these very same
mails afterward again. To fix this issue, we move the execution of the
MailOfflineCleaner after the MailIndexer.

Co-authored-by: das <das@tutao.de>
Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
2025-10-29 17:22:43 +01:00
kib
82ef72f0b7
set noCORS to true on BlobFacade uploads
avoid sending unecessary OPTIONS request due
to the "cp" header. This header is not needed
by BlobService.

Co-authored-by: sug <sug@tutao.de>
2025-10-29 12:04:48 +01:00
abp
ab7afb3669
deactivate SpamClassificationHandler when the feature is disabled
Co-authored-by: das <das@tutao.de>
Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
2025-10-29 12:03:02 +01:00
kib
4d0e3b7e24
[ci] set DBUS_SESSION_BUS_ADDRESS env variable
Co-authored-by: sug <sug@tutao.de>
2025-10-29 11:36:29 +01:00
jhm
366216cd10
fix inbox rule processing invoked from MailSetListModel
When loading mails by opening the inbox folder using the
ConversationListModel or MailListMode, we were not updating the
processingState for those mails correctly. This lead to a
re-application of the inbox rules on every inbox folder load.

Co-authored-by: abp <abp@tutao.de>
2025-10-29 11:13:46 +01:00
jenkins build server
5c1a7b08a4 v314.251028.1 2025-10-28 17:24:37 +01:00
jenkins build server
31e9dfb545 update translations 2025-10-28 17:22:23 +01:00
abp
f6fbe31443
gracefully handle all error cases when applying a patch
Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
Co-authored-by: das <das@tutao.de>
2025-10-28 17:13:47 +01:00
abp
37cfb792c6
Revert "use EntityAdapter to resolve the session key in PatchMerger"
This reverts commit 2c934d054a.
2025-10-28 17:10:22 +01:00
jenkins build server
ae0fd8c7cd v314.251028.0 2025-10-28 16:37:10 +01:00
abp
2c934d054a
use EntityAdapter to resolve the session key in PatchMerger
Co-authored-by: jomapp <17314077+jomapp@users.noreply.github.com>
Co-authored-by: das <das@tutao.de>
2025-10-28 15:03:35 +01:00
das
b15ec31607 Fix Spam button being rendered for external mailboxes. 2025-10-28 14:17:27 +01:00
bed
a79674296b Simplify event invitation banner text
In order to avoid layout issues within the event invitation preview banner
we keep the length of the text to a minimum.

The idea is that the expander should only show "x conflicts" and doesn't show a
preview of which type of conflict it is. The concrete type of the conflict (all day or simultaneous)
can seen by expanding the conflict section.
2025-10-28 13:48:44 +01:00
mup
d3fb0cad2b Fixes Android build flow
After upgrading to the new NDK/SDK/Gradle versions, our android.js
build script stopped working as expected. The shared object (.so)
files for tutasdk were only being copied during Debug builds or
when builds were triggered from Android Studio. As a result,
Release builds were missing the necessary shared libraries,
causing runtime errors when invoking code from the SDK.

This commit introduces a new Gradle task responsible for copying the
shared libraries into the jniLibs folder within the tutasdk project.
It also makes the preBuild and all merge tasks depend on copyRustLibs,
ensuring that the default jniLibs path is used and that all shared
objects are properly included in every build variant.
2025-10-28 12:43:08 +01:00
kib
5016d05bf9
new android sdk location for the mail app 2025-10-27 17:52:12 +01:00
das
0739a78691
Fix retraining right after initial training.
- The field lastTrainedTime was not set during initial training, this
led to the spamClassifier retraining on the second login.
2025-10-27 17:52:12 +01:00
kib
b6fe5d3e97
fix selecting apple MBOX format when importing emails
Co-authored-by: amm <amm@tutao.de>
Co-authored-by: map <mpfau@users.noreply.github.com>
2025-10-27 17:52:12 +01:00
jhm
4c4309139c
fix Android compileSdk version in tutasdk build.gradle.kts
The Android compileSdk version in the tutasdk build.gradle.kts has been
wrongly set to a different compileSdk version 34, instead of version 36
as with the other gradle artifacts (mail, calendar, shared). This
version discrepancy caused, when running the Android release build,
to not bundle the "libtutasdk.so" file correctly, leading to an
Android APK file without native rust code.

Co-authored-by: abp <abp@tutao.de>
Co-authored-by: das <das@tutao.de>
2025-10-27 15:51:56 +01:00