Ehren Kret
eddffc615e
delete Sha256DigestContext
2024-08-05 12:29:18 -05:00
Ehren Kret
d708761bbc
replace Sha256DigestContext with SHA256 from CryptoKit
2024-08-05 12:29:18 -05:00
Ehren Kret
0ddbc9e5bc
replace use of Sha256DigestContext in Cryptography with CryptoKit
2024-08-05 12:29:18 -05:00
Ehren Kret
8487781856
rewrite MetadataStreamTransform to use CryptoKit
2024-08-05 12:29:18 -05:00
Ehren Kret
ba3ae61d5c
fix potential bug if .read(upToCount:) had read less than requested
2024-08-05 12:29:18 -05:00
Ehren Kret
3f04087244
replace Cryptography.computeSHA256Digest with CryptoKit.SHA256.hash(data:)
2024-08-05 12:29:18 -05:00
Ehren Kret
897d2441f5
continue splitting apart Cryptography.swift
2024-08-05 12:29:18 -05:00
Ehren Kret
c083decbc9
remove CommonCrypto from Cryptography.swift
2024-08-05 12:29:18 -05:00
Adam Sharp
d8d7d4292e
Fix "Filter by Unread" not working when split view is expanded
2024-08-05 11:38:10 -04:00
Elaine
329796b0cc
Fix internal crash when call members change in keyframe animations
2024-08-05 11:32:07 -04:00
Pete Walters
a1f88295b6
Add support for showing remote mute indicator for 1:1 calls
2024-08-05 10:18:11 -05:00
Adam Sharp
2e0c9127ed
Work around deprecation warning for unused UIWindow.screen setter
2024-08-05 10:30:46 -04:00
Adam Sharp
5dcc249825
Work around Sendable requirement of AVSpeechSynthesizerDelegate
2024-08-05 10:30:24 -04:00
Adam Sharp
5d5f1d23fd
Use explicit closures to avoid warnings about sendable values
2024-08-05 10:30:00 -04:00
Adam Sharp
b9a72a000e
Update CaptchaView to use async delegate methods
2024-08-05 10:29:39 -04:00
Adam Sharp
01cb6a541c
Implement non-deprecated Logging method
2024-08-05 10:29:14 -04:00
Jim Gustafson
14f59b5828
Update to RingRTC v2.46.0
2024-08-02 17:00:43 -05:00
Harry
5a3dbdaaaa
Fix download getting stuck if received in NSE
2024-08-02 16:51:04 -05:00
Harry
a48353d658
Drop duplicate TSAttachments on a single TSMessage in the migration
2024-08-02 14:49:47 -07:00
Marissa Le Coz
8d1fd71a5e
[Call drawer] do not let local pip dip below drawer in 1:1 calls
2024-08-02 17:06:05 -04:00
Ehren Kret
db49fc1fe4
migrate Sha256DigestContext from CommonCrypto to CryptoKit
2024-08-02 11:15:19 -05:00
Ehren Kret
657e7d25df
add unit test for Sha256DigestContext
2024-08-02 11:15:19 -05:00
Ehren Kret
6a06a9ec53
replace CommonCrypto with CryptoKit in HmacContext
2024-08-02 11:14:29 -05:00
Ehren Kret
dad6e14cf9
add unit test for HmacContext using RFC 4231 test vectors
2024-08-02 11:14:29 -05:00
Ehren Kret
12ae11c728
use let for CipherContext now that it correctly uses reference semantics
2024-08-02 09:29:55 -05:00
Ehren Kret
4bfde67015
reduce visibility of enumerateInBlocks extension func
2024-08-02 09:29:55 -05:00
Ehren Kret
2048c1161a
stop memory leak if CipherContext is not used all the way to finalize
2024-08-02 09:29:55 -05:00
Ehren Kret
4a0617a62d
use new let syntax
2024-08-02 09:29:55 -05:00
Ehren Kret
715b76e153
remove unused cipher algorithms
2024-08-02 09:29:55 -05:00
Ehren Kret
6d79450518
move CipherContext into its own file
2024-08-02 09:29:55 -05:00
Ehren Kret
48149f0b5e
move HmacContext into its own file
2024-08-02 09:29:55 -05:00
Ehren Kret
829b9cac7e
rename SHA256DigestContext to Sha256DigestContext
2024-08-02 09:29:55 -05:00
Ehren Kret
e4147c9e4d
split SHA256DigestContext out to its own file
2024-08-02 09:29:55 -05:00
Ehren Kret
e1cfd116a2
rename OWSAES256Key in swift to Aes256Key
2024-08-02 09:29:55 -05:00
Ehren Kret
7320874263
move OWSAES256Key to its own file
2024-08-02 09:29:55 -05:00
Sasha Weiss
79d5ff9340
Remove MBInteractionArchiver protocol in favor of direct archiver access
2024-08-01 14:55:33 -07:00
Harry
c3db84f39a
Don't download v2 attachments in the NSE
2024-08-01 14:51:19 -07:00
Ehren Kret
462a24d88f
restrict visibility of Data extension method to same file
2024-08-01 16:21:16 -05:00
Ehren Kret
8db47c5f62
inline Cryptography.generateRandomBytes
2024-08-01 15:33:26 -05:00
Ehren Kret
557d6a67cc
migrate Cryptography over to swift
...
`srand` is not accessible in swift. Remove `srand` anyhow as anything
using `rand` for any actual randomness should be considered a bug in
need of fixing rather than viewing `srand` as an acceptable workaround.
2024-08-01 14:43:34 -05:00
Ehren Kret
3c32cbb978
fix test comment
2024-08-01 14:43:34 -05:00
Sasha Weiss
ca6758421c
Add doc comments for timestamp interaction properties
2024-08-01 12:39:59 -07:00
Harry
546ae94e7e
Drop legacy attachment files that are too big
2024-08-01 11:57:05 -07:00
Ehren Kret
fa1cef674c
migrate Randomness to swift
2024-08-01 13:26:07 -05:00
Elaine
ec9b5172c4
Assert that call drawer snapshot updates are on the main thread
2024-08-01 12:03:21 -06:00
Harry
82862885c3
Add BackupAttachmentDownloadStore
2024-08-01 10:25:36 -07:00
Harry
5a7d154d16
Add BackupAttachmentDownloadQueue table
2024-08-01 10:24:27 -07:00
Max Radermacher
4d9d555941
Clean up link preview rendering code
2024-08-01 12:21:48 -05:00
Max Radermacher
f11f7833df
Swiftify reuploadLocalProfile(…)
2024-08-01 12:18:51 -05:00
Max Radermacher
2659c6abc2
Wrap some OWSProfileManager methods in an #ifdef
2024-08-01 12:18:51 -05:00