Signal-iOS/SignalServiceKit
Michael Kirk 033505afd7 Remove slow file protection updates from launch path
To avoid blocking launch, file protection is now updated async for most
moved files. Out of paranoia, the database files are also update
redundantly on a sync code path.

It's still critical that we update permissions recursively for two
reasons:

1. Updating a containing directories FileProtection does not affect
   existing files in that directory.

2. Because we've changed the containers default file protection level
   (from unspecified to NSFileProtectionComplete), some existing files
   will have there file protection updated upon launching Signal 2.20.
   It's not clear to me which files this affects, and I haven't found
   any relevant documentation, but from observation, it seems to affect
   any top-level files in the container. Regardless, we're now doing the
   right thing: after launching 2.20, ensure all file permissions are
   what we expect.

Also removed no-op file protection on legacy db files. They've already
been moved by the time this method runs in AppSetup.

// FREEBIE
2018-02-18 16:24:29 -05:00
..
Example Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
fastlane Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
protobuf Updates service proto schema to latest. 2018-02-02 10:42:56 -05:00
Resources/Certificates Share a photo from photos app 2017-12-07 10:13:06 -05:00
src Remove slow file protection updates from launch path 2018-02-18 16:24:29 -05:00
tests fix desktop linking for some users 2017-09-25 17:00:50 -04:00
Utilities Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
.clang-format Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.gitignore Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
.travis.yml Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
CONTRIBUTING.md Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
LICENSE Import SSK (and history) into Signal-iOS 2017-07-21 13:55:01 -04:00
Makefile Avatar API integration / WIP crypto scheme 2017-08-14 12:45:37 -04:00
README.md Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00

SignalServiceKit

SignalServiceKit is an Objective-C library for communicating with the Signal messaging service for iOS & OS X

To use SignalServiceKit via Cocoapods add the following to your Podfile

pod 'SignalServiceKit', git: 'https://github.com/signalapp/Signal-iOS.git'