Max Radermacher
|
e81420e360
|
Remove unused iv parameter
|
2026-05-08 17:41:18 -05:00 |
|
Max Radermacher
|
cb23291721
|
Rename digestSHA256Ciphertext → ciphertextDigest
|
2026-05-02 00:28:16 -05:00 |
|
Max Radermacher
|
4617abda31
|
Rename sha256ContentHash → plaintextHash
|
2026-05-02 00:26:43 -05:00 |
|
Max Radermacher
|
8668d86a35
|
Consolidate CGDataProviderDirectCallbacks logic
|
2026-04-29 14:07:51 -05:00 |
|
Max Radermacher
|
fabd1e3753
|
Return the number of bytes written
|
2026-04-03 18:15:47 -05:00 |
|
Max Radermacher
|
ce1e123908
|
Make CipherContext ~Copyable
|
2026-04-01 12:56:12 -05:00 |
|
Max Radermacher
|
16d7f9e590
|
Add dedicated errors when plaintextLength is wrong
|
2026-03-31 16:14:07 -05:00 |
|
Max Radermacher
|
c2315a0581
|
Extract CCCrypt call sites into a shared function
|
2026-03-30 15:08:18 -05:00 |
|
Sasha Weiss
|
d267ec8305
|
Run swiftformat .
|
2025-12-30 11:34:05 -08:00 |
|
Max Radermacher
|
c953bddc91
|
Consider startOffset in Data subscripts
|
2025-10-17 11:22:58 -05:00 |
|
Max Radermacher
|
1f7c55776d
|
Add & use AttachmentKey
|
2025-10-17 11:22:16 -05:00 |
|
Max Radermacher
|
b2b4cc52e2
|
Use non-UInt32 in attachment en-/decryption
|
2025-10-17 11:21:18 -05:00 |
|
Max Radermacher
|
795c19871c
|
Handle overflow in PaddingBucket
|
2025-10-15 12:20:15 -05:00 |
|
Pete Walters
|
c639e0d75a
|
Clamp estimated attachment size to fit in UInt32
|
2025-10-14 15:21:53 -05:00 |
|
Max Radermacher
|
b38390bce3
|
Add PaddingBucket
|
2025-09-23 18:28:37 -05:00 |
|
Max Radermacher
|
a689aa21d6
|
Move around some files in SignalServiceKit
|
2025-09-15 15:24:13 -05:00 |
|
Harry
|
94e291ed16
|
Update to LibSignal v0.74.1 (Backup.LocatorInfo.integrityCheck)
Co-authored-by: Max Radermacher <max@signal.org>
|
2025-06-16 16:03:35 -07:00 |
|
Harry
|
d04c2328db
|
Refactor BackupAttachmentDownloadQueue
|
2025-06-12 15:53:45 -07:00 |
|
Harry
|
4f6041e9b2
|
Use doubly-encrypted size for media tier size estimation
|
2025-06-10 22:38:20 -07:00 |
|
Harry
|
68dc5eb9ed
|
Refactor BackupAttachmentUploadQueue
|
2025-06-06 10:18:34 -07:00 |
|
Ehren Kret
|
83b37e74a3
|
remove unused objc compat
|
2025-02-07 05:30:56 -06:00 |
|
Pete Walters
|
3a63402138
|
Migrate to new Media/Message backup auth credentials
|
2024-11-01 15:46:58 -05:00 |
|
Ehren Kret
|
f4b772a7f1
|
convert #file to #fileID by enabling concise magic file upcoming feature
|
2024-09-29 20:03:17 -05:00 |
|
Harry
|
29511cdf1a
|
Generate thumbnails for backup attachment uploads
|
2024-09-20 10:11:22 -07:00 |
|
Pete Walters
|
6f4d0fcaa7
|
Add method for re-encrypting a filehandle
|
2024-08-30 14:44:56 -05:00 |
|
Harry Sanabria
|
8dec43f72f
|
Fix broken rebase using since-deleted method
|
2024-08-07 16:01:03 -07:00 |
|
Harry
|
199a59583d
|
Add validation method for backup attachments (no digest)
|
2024-08-07 15:41:41 -07:00 |
|
Ehren Kret
|
780a131560
|
use diskPageSize constant in place of 8192 literal
|
2024-08-07 16:19:51 -05:00 |
|
Ehren Kret
|
1fe73e8a22
|
update comments on LocalFileHandle
|
2024-08-07 16:16:53 -05:00 |
|
Ehren Kret
|
99a58e93ec
|
prefer lseek for returning file offset rather than locally tracking it
|
2024-08-07 16:16:53 -05:00 |
|
Ehren Kret
|
44e0031770
|
use reusable buffers for sha256 and attachment encryption
|
2024-08-07 16:16:53 -05:00 |
|
Ehren Kret
|
3a228ba708
|
change implementation from UnsafeMutablePointer<FILE> to System/FileDescriptor
|
2024-08-07 16:16:53 -05:00 |
|
Ehren Kret
|
06000fc070
|
minor CryptoKit related cleanup
|
2024-08-06 08:38:43 -05:00 |
|
Ehren Kret
|
99b52c05b2
|
replace Cryptography.computeSHA256HMAC(_🔑) with CryptoKit
|
2024-08-05 12:29:18 -05:00 |
|
Ehren Kret
|
214683960a
|
replace Cryptography.computeSHA256HMAC(_🔑truncatedToBytes:) with CryptoKit
|
2024-08-05 12:29:18 -05:00 |
|
Ehren Kret
|
ff785f18e7
|
remove HmacContext
|
2024-08-05 12:29:18 -05:00 |
|
Ehren Kret
|
5e84ac1661
|
replace HmacContext in Cryptography with CryptoKit
|
2024-08-05 12:29:18 -05:00 |
|
Ehren Kret
|
eddffc615e
|
delete Sha256DigestContext
|
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
|
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 |
|
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 |
|