Commit Graph

308 Commits

Author SHA1 Message Date
Adam Mork
aac2f37150
[Payments] Update the MobileCoin dependency to the latest 1.2.2 release
* update MobileCoin to release v1.2.x, add new 1.2.x testNet enclave
values, migrate deprecated function calls to new alternatives.

* Add new top-level error to convertMCError

use staging for now

* Add mainnet enclave values, revert production/staging environment change from testing. Add comment about libmobilecoin static libraries needing to be built on signal build machine.

* add 2.x series enclave measurements

* Add intel hardening advisory for the new 2.x series of enclaves. This hardening advisory being added has no effect on the 1.2.x enclaves, but is required for the 2.x enclaves.

* Remove commented enclave measurements, change Logger.error to Logger.warn (some failed requests is expected for long-living connections), Add in new testNet enclave measurements

* Update to LibMobileCoin v1.2.2

Co-authored-by: Nora Trapp <nora@signal.org>
2022-08-22 13:08:40 -07:00
Evan Hahn
97322aaef8 Use libwebp on CocoaPods instead of our vendored one
This should have no direct user impact.

We recently upgraded `libwebp` in
e3fa7848e5. At the time, [the official
pod][cocoapod] was out of date, so we vendored it in. It's now there, so
we should use it.

[cocoapod]: https://cocoapods.org/pods/libwebp
2022-08-18 07:38:13 -05:00
Evan Hahn
6305cdc0e6
SignalServiceKit: no longer a separate pod
SignalServiceKit is currently a separate pod. This makes merges tedious
and error-prone. Ultimately, it slows us down. It might've made sense as
a standalone library before, but it's so tightly integrated now that it
isn't useful to have it be separate.

This changes that, and makes SignalServiceKit a "normal" target.

IMO, most of this change isn't that exciting—just a bunch of changes to
scaffolding. There's one slightly spicier change: our generated
`Acknowledgements.plist` is now a little more clever.

Co-authored-by: Max Radermacher <max@signal.org>
2022-08-05 16:14:15 -05:00
Evan Hahn
e3fa7848e5 Upgrade libwebp to v1.2.3
This upgrades `libwebp` (a subdependency of `YYImage`) from v1.0.2 to its
latest version, v1.2.3.

As of this writing, the [libwebp pod does not have v1.2.3][0], so I
modified [the v1.2.1 podspec][1] and vendored it into the project. You
may wish to [compare the v1.2.1 podspec with my version][2]. In the long
term, I will try to get this change submitted upstream.

I tested this with a variety of stickers (usually sent as WebP), [WebP's
alpha test images][2], and [a test WebP image from the Desktop app][3].

[0]: 11f1b72927/Specs/1/9/2/libwebp
[1]: b04c376a0d/Specs/1/9/2/libwebp/1.2.1/libwebp.podspec.json
[2]: https://gist.github.com/EvanHahn-Signal/c87c301d2d7359df961bb85dd531a91c
[3]: https://developers.google.com/speed/webp/gallery2#webp_links
[4]: 412f07d2a2/fixtures/512x515-thumbs-up-lincoln.webp
2022-08-01 15:55:52 -05:00
Max Radermacher
f254c83382 Remove cocoapods-binary
This was added in f1993e7c79 to support ZXing, but ZXing was removed
in 8d15ab618e & 430d7e9469, so this is no longer used.
2022-04-26 09:20:14 -07:00
Nora Trapp
05313c3725 Update to LibSignalClient v0.15.0 2022-03-24 11:55:45 -07:00
Nora Trapp
0f56118382 Update to MobileCoin v1.2.0-pre10 2022-03-04 15:07:50 -08:00
Michelle Linington
34ded18ac8 Update Pods 2022-03-04 14:17:13 -08:00
Michelle Linington
da599d4b0b Link against development RingRTC 2022-03-04 14:16:56 -08:00
Jordan Rose
be373b7ec6 Update SignalCoreKit again 2022-02-01 14:48:38 -08:00
Jordan Rose
14dab5acae Update SignalCoreKit 2022-02-01 14:48:38 -08:00
Jordan Rose
01518551eb Import SignalMetadataKit wholesale into SignalServiceKit
The only modifications are those necessary to build as part of SSK.
The follow-up commits will clean that up a bit.
2022-01-26 09:50:55 -08:00
Ehren Kret
6c37348f8a Update to iOS 12.2 deployment target 2022-01-24 12:47:21 -06:00
Nora Trapp
db115606e3 Remove ZKGroup 2022-01-03 12:00:19 -08:00
Jordan Rose
38fbb3bbc2 Copy in AFNetworking's query string encoding implementation
Matthew previously stripped this down in our fork of AFNetworking; at
this point there's no benefit to it living in a separate repo and
separate target. With this we can remove the AFNetworking target
completely.
2021-12-17 14:52:59 -08:00
Matthew Chen
c0c72ef3fb Introduce WebSocketFactory. 2021-11-03 19:48:48 -07:00
Matthew Chen
bcc693e8e7 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:04 -03:00
Matthew Chen
539dff09e4 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:03 -03:00
Matthew Chen
60593ee26f Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:02 -03:00
Matthew Chen
8472571d0a Rename NSE. 2021-10-28 11:40:26 -03:00
Michelle Linington
88ee15fb07 Update Pods for SignalCoreKit changes 2021-10-21 21:38:30 -07:00
Michelle Linington
77b7ea5c40 Fix a whole bunch of warnings 2021-10-21 21:11:26 -07:00
Matthew Chen
cf428a14a1 Add SignalUI framework target. 2021-10-19 09:40:04 -03:00
Matthew Chen
b9b66646ff Add SignalUI framework target. 2021-10-19 09:39:52 -03:00
Matthew Chen
2f595d3f12 Move Bonmot to main app. 2021-10-18 12:38:47 -03:00
Matthew Chen
d402636225 Simplify AFNetworking usage. 2021-10-15 10:50:35 -03:00
Michelle Linington
1c733c6d0a Update Pods 2021-09-20 12:47:59 -07:00
Michelle Linington
6c915fd01c Update Pods 2021-09-18 00:01:02 -07:00
Matthew Chen
201ade1b67 Fix build break. 2021-09-08 18:04:47 -03:00
Matthew Chen
a86a25bdae Fix broken tests. 2021-09-08 14:59:01 -03:00
Matthew Chen
0ca1ac29f5 Fix "no session for transient message" errors. 2021-09-08 09:53:46 -03:00
Michelle Linington
88309e7cc1 Fix various issues with TESTABLE_RELEASE
While running some perf tests on database queries, I was building
against TESTABLE_RELEASE to have things built with optimizations.

I saw some weird behavior:
- Share extension would crash
- No logs would be recorded

I went through and cleaned up some things that appeared incorrect with
how we handled TESTABLE_RELEASE
2021-09-03 16:11:19 -07:00
Nora Trapp
4100463c15 Merge SignalCoreKit changes 2021-09-03 11:42:21 -07:00
Nora Trapp
2814ab7629 Convert to new Promise library 2021-09-03 11:41:34 -07:00
Michelle Linington
4eeb4e34be Tests should be runnable in Profiling scheme 2021-08-26 20:57:06 -07:00
Nora Trapp
430d7e9469 Revert "Restore ZXing"
This reverts commit 5677ad9cfe.
2021-07-28 12:08:34 -07:00
Nora Trapp
5677ad9cfe Restore ZXing 2021-07-27 19:34:05 -07:00
Matthew Chen
8d15ab618e Remove ZXing. 2021-07-02 16:23:46 -03:00
Nora Trapp
a7c628c846 Update to ZKGroup v0.7.3 2021-06-29 16:27:27 -07:00
Matthew Chen
8a1cca9abd Update Cocoapods. 2021-06-18 09:11:44 -03:00
Matthew Chen
6a8ba272ef Update Cocoapods. 2021-06-18 09:11:28 -03:00
Matthew Chen
b953104659 Update MC SDK to v1.1.0-pre2. 2021-06-18 09:11:13 -03:00
Nora Trapp
fcd9bd83b8 Update to Signal built OpenSSL 1.1.1k with M1 and Catalyst support 2021-06-17 14:45:29 -07:00
Eugene Bistolas
476ac11622 Add YYImage/libwebp to podfile 2021-06-17 14:29:15 -07:00
Eugene Bistolas
8c41c15e80 Add post-install podfile step to fix Pods-Signal-frameworks.sh to ensure xcframework symlinks are not broken 2021-06-17 14:29:15 -07:00
Eugene Bistolas
22d67ae286 Adopt OpenSSL-Universal 1.1.1k as dependency to Signal/SignalCoreKit/SignalServiceKit 2021-06-17 14:29:14 -07:00
Eugene Bistolas
9917f0126a Update workspace settings to use modern build system. Update Podfile to strip VALID_ARCHS flag from generated target xcconfig (deprecated in Xcode 12) 2021-06-17 14:29:14 -07:00
Nora Trapp
2d76b7c6e0 Don't build for armv7 2021-04-15 10:57:17 -07:00
Nora Trapp
36015c8fb8 Fix build 2021-04-14 21:41:08 -07:00
Nora Trapp
17b265f71c Update SignalCoreKit 2021-04-14 19:55:47 -07:00