-
Notifications
You must be signed in to change notification settings - Fork 25
chore: bump core crypto to v9.1.2 - WPB-20920 #4030
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from 4 commits
99d31a5
cd12ce0
bfc3443
2a5786f
20d1096
199279c
dc751ae
8e611be
dd00673
49f6b9b
cc13ba5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ | |
| import Foundation | ||
| import WireCoreCrypto | ||
| import WireDataModel | ||
| import WireLogging | ||
|
Check warning on line 23 in WireDomain/Sources/WireDomain/Synchronization/IncrementalSyncV2.swift
|
||
| import WireNetwork | ||
|
|
||
| public typealias CreatePushChannelStateClosure = () -> PushChannelStateProtocol | ||
|
|
@@ -154,14 +154,14 @@ | |
| // because we might be interrupted when in background, we wrap the sync in an expiringActivity that will | ||
| // cancel the task (not keeping any file lock in suspend mode) | ||
| try await withExpiringActivity(reason: "processLiveStream IncrementalSyncV2") { | ||
| await processLiveStream( | ||
|
Check warning on line 157 in WireDomain/Sources/WireDomain/Synchronization/IncrementalSyncV2.swift
|
||
| liveEventStream, | ||
| pushChannel: pushChannel, | ||
| syncMarker: syncMarker | ||
| ) | ||
|
|
||
| WireLogger.sync.debug("Live stream ended, close push channel", attributes: logAttributes) | ||
| await pushChannel.close() | ||
|
Check warning on line 164 in WireDomain/Sources/WireDomain/Synchronization/IncrementalSyncV2.swift
|
||
| await pushChannelState.markAsClosed() | ||
| } | ||
| } catch { | ||
|
|
@@ -318,7 +318,7 @@ | |
| var storedEnvelopes: [(UpdateEventEnvelope, Int64)] = [] | ||
|
|
||
| // decrypt | ||
| try await coreCryptoProvider.coreCrypto().perform { coreCryptoContext in | ||
| try await coreCryptoProvider.coreCrypto().transaction { coreCryptoContext in | ||
| for envelope in envelopes { | ||
| var envelope = envelope | ||
| envelope.events = await decryptEnvelope(envelope, in: coreCryptoContext) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.