diff --git a/bsmZadanie.xcodeproj/project.pbxproj b/Friendvatars.xcodeproj/project.pbxproj similarity index 94% rename from bsmZadanie.xcodeproj/project.pbxproj rename to Friendvatars.xcodeproj/project.pbxproj index 14e2adc..76736f9 100644 --- a/bsmZadanie.xcodeproj/project.pbxproj +++ b/Friendvatars.xcodeproj/project.pbxproj @@ -7,7 +7,6 @@ objects = { /* Begin PBXBuildFile section */ - 1271B2B6219AE272008108A5 /* BiometricTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1271B2B5219AE272008108A5 /* BiometricTest.swift */; }; 18F5657D204DD7AF00F128ED /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 18F5657C204DD7AF00F128ED /* LaunchScreen.storyboard */; }; 48DC83E42012A5D600F82C5D /* FriendCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48DC83E22012A5D600F82C5D /* FriendCell.swift */; }; 48DC83E52012A5D600F82C5D /* FriendCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 48DC83E32012A5D600F82C5D /* FriendCell.xib */; }; @@ -29,11 +28,10 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ - 1271B2B5219AE272008108A5 /* BiometricTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BiometricTest.swift; sourceTree = ""; }; 18F5657C204DD7AF00F128ED /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = ""; }; 48DC83E22012A5D600F82C5D /* FriendCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FriendCell.swift; sourceTree = ""; }; 48DC83E32012A5D600F82C5D /* FriendCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = FriendCell.xib; sourceTree = ""; }; - 48EA9ABD200FC22200146CF7 /* bsmZadanie.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = bsmZadanie.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 48EA9ABD200FC22200146CF7 /* Friendvatars.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Friendvatars.app; sourceTree = BUILT_PRODUCTS_DIR; }; 48EA9AC0200FC22200146CF7 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 48EA9AC7200FC22200146CF7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 48EA9ACC200FC22200146CF7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -98,7 +96,7 @@ 48EA9ABE200FC22200146CF7 /* Products */ = { isa = PBXGroup; children = ( - 48EA9ABD200FC22200146CF7 /* bsmZadanie.app */, + 48EA9ABD200FC22200146CF7 /* Friendvatars.app */, ); name = Products; sourceTree = ""; @@ -131,7 +129,6 @@ isa = PBXGroup; children = ( 48EA9AE5201116B600146CF7 /* AuthViewController.swift */, - 1271B2B5219AE272008108A5 /* BiometricTest.swift */, 48EA9AE6201116B600146CF7 /* AuthViewController.xib */, 48EA9AEE20117C6000146CF7 /* FriendsViewController.swift */, 48EA9AF020117C9000146CF7 /* NavigationController.swift */, @@ -188,23 +185,24 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 48EA9ABC200FC22200146CF7 /* bsmZadanie */ = { + 48EA9ABC200FC22200146CF7 /* Friendvatars */ = { isa = PBXNativeTarget; - buildConfigurationList = 48EA9ACF200FC22200146CF7 /* Build configuration list for PBXNativeTarget "bsmZadanie" */; + buildConfigurationList = 48EA9ACF200FC22200146CF7 /* Build configuration list for PBXNativeTarget "Friendvatars" */; buildPhases = ( BD297E65C87DF0CC9A83FD57 /* [CP] Check Pods Manifest.lock */, 48EA9AB9200FC22200146CF7 /* Sources */, 48EA9ABA200FC22200146CF7 /* Frameworks */, 48EA9ABB200FC22200146CF7 /* Resources */, 52B361095004F9533772F347 /* [CP] Embed Pods Frameworks */, + CCE08048E2F58DCDD1B52E7E /* [CP] Copy Pods Resources */, ); buildRules = ( ); dependencies = ( ); - name = bsmZadanie; + name = Friendvatars; productName = Friendvatars; - productReference = 48EA9ABD200FC22200146CF7 /* bsmZadanie.app */; + productReference = 48EA9ABD200FC22200146CF7 /* Friendvatars.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -223,7 +221,7 @@ }; }; }; - buildConfigurationList = 48EA9AB8200FC22200146CF7 /* Build configuration list for PBXProject "bsmZadanie" */; + buildConfigurationList = 48EA9AB8200FC22200146CF7 /* Build configuration list for PBXProject "Friendvatars" */; compatibilityVersion = "Xcode 8.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -236,7 +234,7 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 48EA9ABC200FC22200146CF7 /* bsmZadanie */, + 48EA9ABC200FC22200146CF7 /* Friendvatars */, ); }; /* End PBXProject section */ @@ -264,12 +262,10 @@ inputPaths = ( "${SRCROOT}/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-frameworks.sh", "${BUILT_PRODUCTS_DIR}/CryptoSwift/CryptoSwift.framework", - "${BUILT_PRODUCTS_DIR}/KeychainAccess/KeychainAccess.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/CryptoSwift.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KeychainAccess.framework", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -294,6 +290,21 @@ shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; showEnvVarsInLog = 0; }; + CCE08048E2F58DCDD1B52E7E /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -303,7 +314,6 @@ files = ( 48EA9ADD20110EEE00146CF7 /* KeychainPasswordItem.swift in Sources */, 48EA9AF120117C9000146CF7 /* NavigationController.swift in Sources */, - 1271B2B6219AE272008108A5 /* BiometricTest.swift in Sources */, 48EA9AED20117BFC00146CF7 /* UIColor+Additions.swift in Sources */, 48EA9AD4200FC48100146CF7 /* SplashViewController.swift in Sources */, 48EA9AE020110F2800146CF7 /* User.swift in Sources */, @@ -437,7 +447,7 @@ DEVELOPMENT_TEAM = WGZDF6CP4P; INFOPLIST_FILE = Friendvatars/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.zadanie.bsm; + PRODUCT_BUNDLE_IDENTIFIER = com.dawidkubicki.Friendvatars; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -453,7 +463,7 @@ DEVELOPMENT_TEAM = WGZDF6CP4P; INFOPLIST_FILE = Friendvatars/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.zadanie.bsm; + PRODUCT_BUNDLE_IDENTIFIER = com.dawidkubicki.Friendvatars; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -463,7 +473,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 48EA9AB8200FC22200146CF7 /* Build configuration list for PBXProject "bsmZadanie" */ = { + 48EA9AB8200FC22200146CF7 /* Build configuration list for PBXProject "Friendvatars" */ = { isa = XCConfigurationList; buildConfigurations = ( 48EA9ACD200FC22200146CF7 /* Debug */, @@ -472,7 +482,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 48EA9ACF200FC22200146CF7 /* Build configuration list for PBXNativeTarget "bsmZadanie" */ = { + 48EA9ACF200FC22200146CF7 /* Build configuration list for PBXNativeTarget "Friendvatars" */ = { isa = XCConfigurationList; buildConfigurations = ( 48EA9AD0200FC22200146CF7 /* Debug */, diff --git a/bsmZadanie.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Friendvatars.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from bsmZadanie.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Friendvatars.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/bsmZadanie.xcodeproj/xcuserdata/critz.xcuserdatad/xcschemes/xcschememanagement.plist b/Friendvatars.xcodeproj/xcuserdata/critz.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 100% rename from bsmZadanie.xcodeproj/xcuserdata/critz.xcuserdatad/xcschemes/xcschememanagement.plist rename to Friendvatars.xcodeproj/xcuserdata/critz.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/bsmZadanie.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist b/Friendvatars.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 70% rename from bsmZadanie.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist rename to Friendvatars.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist index 893f39f..cce748e 100644 --- a/bsmZadanie.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Friendvatars.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,12 +7,7 @@ Friendvatars.xcscheme_^#shared#^_ orderHint - 3 - - bsmZadanie.xcscheme_^#shared#^_ - - orderHint - 3 + 0 diff --git a/bsmZadanie.xcodeproj/xcuserdata/jeffro.xcuserdatad/xcschemes/xcschememanagement.plist b/Friendvatars.xcodeproj/xcuserdata/jeffro.xcuserdatad/xcschemes/xcschememanagement.plist similarity index 100% rename from bsmZadanie.xcodeproj/xcuserdata/jeffro.xcuserdatad/xcschemes/xcschememanagement.plist rename to Friendvatars.xcodeproj/xcuserdata/jeffro.xcuserdatad/xcschemes/xcschememanagement.plist diff --git a/Friendvatars.xcworkspace/contents.xcworkspacedata b/Friendvatars.xcworkspace/contents.xcworkspacedata index e3bdb02..257df4a 100644 --- a/Friendvatars.xcworkspace/contents.xcworkspacedata +++ b/Friendvatars.xcworkspace/contents.xcworkspacedata @@ -2,9 +2,9 @@ + location = "group:Friendvatars.xcodeproj"> + location = "group:Pods/Pods.xcodeproj"> diff --git a/Friendvatars.xcworkspace/xcuserdata/dawidkubicki.xcuserdatad/UserInterfaceState.xcuserstate b/Friendvatars.xcworkspace/xcuserdata/dawidkubicki.xcuserdatad/UserInterfaceState.xcuserstate index 29deaa4..838bf8f 100644 Binary files a/Friendvatars.xcworkspace/xcuserdata/dawidkubicki.xcuserdatad/UserInterfaceState.xcuserstate and b/Friendvatars.xcworkspace/xcuserdata/dawidkubicki.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/Friendvatars/AppController.swift b/Friendvatars/AppController.swift index b7fa07f..072b1bb 100644 --- a/Friendvatars/AppController.swift +++ b/Friendvatars/AppController.swift @@ -1,4 +1,3 @@ - import UIKit final class AppController { diff --git a/Friendvatars/AppDelegate.swift b/Friendvatars/AppDelegate.swift index be0357a..bfe6068 100644 --- a/Friendvatars/AppDelegate.swift +++ b/Friendvatars/AppDelegate.swift @@ -1,5 +1,3 @@ - - import UIKit @UIApplicationMain diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Contents.json b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Contents.json old mode 100755 new mode 100644 index 98be84a..bae4655 --- a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,182 +1,116 @@ { - "images":[ - { - "idiom":"iphone", - "size":"20x20", - "scale":"2x", - "filename":"Icon-App-20x20@2x.png" - }, - { - "idiom":"iphone", - "size":"20x20", - "scale":"3x", - "filename":"Icon-App-20x20@3x.png" - }, - { - "idiom":"iphone", - "size":"29x29", - "scale":"1x", - "filename":"Icon-App-29x29@1x.png" - }, - { - "idiom":"iphone", - "size":"29x29", - "scale":"2x", - "filename":"Icon-App-29x29@2x.png" - }, - { - "idiom":"iphone", - "size":"29x29", - "scale":"3x", - "filename":"Icon-App-29x29@3x.png" - }, - { - "idiom":"iphone", - "size":"40x40", - "scale":"1x", - "filename":"Icon-App-40x40@1x.png" - }, - { - "idiom":"iphone", - "size":"40x40", - "scale":"2x", - "filename":"Icon-App-40x40@2x.png" - }, - { - "idiom":"iphone", - "size":"40x40", - "scale":"3x", - "filename":"Icon-App-40x40@3x.png" - }, - { - "idiom":"iphone", - "size":"57x57", - "scale":"1x", - "filename":"Icon-App-57x57@1x.png" - }, - { - "idiom":"iphone", - "size":"57x57", - "scale":"2x", - "filename":"Icon-App-57x57@2x.png" - }, - { - "idiom":"iphone", - "size":"60x60", - "scale":"1x", - "filename":"Icon-App-60x60@1x.png" - }, - { - "idiom":"iphone", - "size":"60x60", - "scale":"2x", - "filename":"Icon-App-60x60@2x.png" - }, - { - "idiom":"iphone", - "size":"60x60", - "scale":"3x", - "filename":"Icon-App-60x60@3x.png" - }, - { - "idiom":"iphone", - "size":"76x76", - "scale":"1x", - "filename":"Icon-App-76x76@1x.png" - }, - { - "idiom":"ipad", - "size":"20x20", - "scale":"1x", - "filename":"Icon-App-20x20@1x.png" - }, - { - "idiom":"ipad", - "size":"20x20", - "scale":"2x", - "filename":"Icon-App-20x20@2x.png" - }, - { - "idiom":"ipad", - "size":"29x29", - "scale":"1x", - "filename":"Icon-App-29x29@1x.png" - }, - { - "idiom":"ipad", - "size":"29x29", - "scale":"2x", - "filename":"Icon-App-29x29@2x.png" - }, - { - "idiom":"ipad", - "size":"40x40", - "scale":"1x", - "filename":"Icon-App-40x40@1x.png" - }, - { - "idiom":"ipad", - "size":"40x40", - "scale":"2x", - "filename":"Icon-App-40x40@2x.png" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "Icon-Small-50x50@1x.png", - "scale" : "1x" - }, - { - "size" : "50x50", - "idiom" : "ipad", - "filename" : "Icon-Small-50x50@2x.png", - "scale" : "2x" - }, - { - "idiom":"ipad", - "size":"72x72", - "scale":"1x", - "filename":"Icon-App-72x72@1x.png" - }, - { - "idiom":"ipad", - "size":"72x72", - "scale":"2x", - "filename":"Icon-App-72x72@2x.png" - }, - { - "idiom":"ipad", - "size":"76x76", - "scale":"1x", - "filename":"Icon-App-76x76@1x.png" - }, - { - "idiom":"ipad", - "size":"76x76", - "scale":"2x", - "filename":"Icon-App-76x76@2x.png" - }, - { - "idiom":"ipad", - "size":"76x76", - "scale":"3x", - "filename":"Icon-App-76x76@3x.png" - }, - { - "idiom":"ipad", - "size":"83.5x83.5", - "scale":"2x", - "filename":"Icon-App-83.5x83.5@2x.png" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "ItunesArtwork@2x.png", - "scale" : "1x" - } - ], - "info":{ - "version":1, - "author":"makeappicon" + "images" : [ + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "icon-app-20@2x.png", + "scale" : "2x" + }, + { + "size" : "20x20", + "idiom" : "iphone", + "filename" : "icon-app-20@3x.png", + "scale" : "3x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "icon-app-29@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "iphone", + "filename" : "icon-app-29@3x copy.png", + "scale" : "3x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "icon-app-40@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "iphone", + "filename" : "icon-app-40@3x.png", + "scale" : "3x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "icon-app-60@2x.png", + "scale" : "2x" + }, + { + "size" : "60x60", + "idiom" : "iphone", + "filename" : "icon-app-60@3x.png", + "scale" : "3x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon20.png", + "scale" : "1x" + }, + { + "size" : "20x20", + "idiom" : "ipad", + "filename" : "Icon20@2x.png", + "scale" : "2x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon29.png", + "scale" : "1x" + }, + { + "size" : "29x29", + "idiom" : "ipad", + "filename" : "Icon29@2x.png", + "scale" : "2x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon40.png", + "scale" : "1x" + }, + { + "size" : "40x40", + "idiom" : "ipad", + "filename" : "Icon40@2x.png", + "scale" : "2x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon76.png", + "scale" : "1x" + }, + { + "size" : "76x76", + "idiom" : "ipad", + "filename" : "Icon76@2x.png", + "scale" : "2x" + }, + { + "size" : "83.5x83.5", + "idiom" : "ipad", + "filename" : "Icon83.5@2x.png", + "scale" : "2x" + }, + { + "size" : "1024x1024", + "idiom" : "ios-marketing", + "filename" : "Icon1024.png", + "scale" : "1x" } -} + ], + "info" : { + "version" : 1, + "author" : "xcode" + } +} \ No newline at end of file diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png index e8964f8..ca57885 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png index 920370b..bde2abb 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png index f5931ca..2a1932d 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index a7f9bcc..0000000 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png index 7218df2..6db3099 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png index 0482229..0b4a8d5 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png index 920370b..bde2abb 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png index acd9bbd..fce6510 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png deleted file mode 100644 index df3cc1b..0000000 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png index ae08a28..92fed57 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png index 47656c8..d8a1fed 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png index f5931ca..2a1932d 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@1x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png index df3cc1b..7af784f 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index bea6407..0000000 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png index 5e97003..44a2966 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png index 9e3173d..c23f638 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png index e874549..c172aa1 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png index 53aca6b..b18961e 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png deleted file mode 100644 index 5721eb3..0000000 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@3x.png and /dev/null differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png index 94a153e..720f330 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png index da634fb..e39b024 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@1x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png index 3afb4a8..8574068 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/Icon-Small-50x50@2x.png differ diff --git a/Friendvatars/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png b/Friendvatars/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png index fca025b..d0743ef 100644 Binary files a/Friendvatars/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png and b/Friendvatars/Assets.xcassets/AppIcon.appiconset/ItunesArtwork@2x.png differ diff --git a/Friendvatars/Assets.xcassets/Contents.json b/Friendvatars/Assets.xcassets/Contents.json deleted file mode 100644 index da4a164..0000000 --- a/Friendvatars/Assets.xcassets/Contents.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Friendvatars/Assets.xcassets/FaceID.imageset/Contents.json b/Friendvatars/Assets.xcassets/FaceID.imageset/Contents.json deleted file mode 100644 index 28451a0..0000000 --- a/Friendvatars/Assets.xcassets/FaceID.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "FaceID.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Friendvatars/Assets.xcassets/FaceID.imageset/FaceID.png b/Friendvatars/Assets.xcassets/FaceID.imageset/FaceID.png deleted file mode 100644 index bc95ace..0000000 Binary files a/Friendvatars/Assets.xcassets/FaceID.imageset/FaceID.png and /dev/null differ diff --git a/Friendvatars/Assets.xcassets/TouchID.imageset/Contents.json b/Friendvatars/Assets.xcassets/TouchID.imageset/Contents.json deleted file mode 100644 index 8bef4cf..0000000 --- a/Friendvatars/Assets.xcassets/TouchID.imageset/Contents.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "TouchID.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "scale" : "2x" - }, - { - "idiom" : "universal", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/Friendvatars/Assets.xcassets/TouchID.imageset/TouchID.png b/Friendvatars/Assets.xcassets/TouchID.imageset/TouchID.png deleted file mode 100644 index de43579..0000000 Binary files a/Friendvatars/Assets.xcassets/TouchID.imageset/TouchID.png and /dev/null differ diff --git a/Friendvatars/Assets.xcassets/rw-logo.imageset/Razewarelogo_1024.png b/Friendvatars/Assets.xcassets/rw-logo.imageset/Razewarelogo_1024.png index e7e8b03..c50fae9 100644 Binary files a/Friendvatars/Assets.xcassets/rw-logo.imageset/Razewarelogo_1024.png and b/Friendvatars/Assets.xcassets/rw-logo.imageset/Razewarelogo_1024.png differ diff --git a/Friendvatars/Assets.xcassets/rwdevcon-bg.imageset/rwdevcon-bg.png b/Friendvatars/Assets.xcassets/rwdevcon-bg.imageset/rwdevcon-bg.png index 87dfa98..6c6c9a7 100644 Binary files a/Friendvatars/Assets.xcassets/rwdevcon-bg.imageset/rwdevcon-bg.png and b/Friendvatars/Assets.xcassets/rwdevcon-bg.imageset/rwdevcon-bg.png differ diff --git a/Friendvatars/AuthController.swift b/Friendvatars/AuthController.swift index 165bc7e..cb01de9 100644 --- a/Friendvatars/AuthController.swift +++ b/Friendvatars/AuthController.swift @@ -1,4 +1,3 @@ - import Foundation import CryptoSwift diff --git a/Friendvatars/AuthViewController.swift b/Friendvatars/AuthViewController.swift index a08bbf2..ad944f6 100644 --- a/Friendvatars/AuthViewController.swift +++ b/Friendvatars/AuthViewController.swift @@ -1,6 +1,4 @@ - import UIKit -import KeychainAccess final class AuthViewController: UIViewController { @@ -13,9 +11,6 @@ final class AuthViewController: UIViewController { case password } - @IBOutlet weak var txtSecret: UITextField! - @IBOutlet weak var imgBio: UIImageView! - @IBOutlet weak var lblSecret: UILabel! @IBOutlet weak var containerView: UIView! @IBOutlet weak var emailField: UITextField! @IBOutlet weak var passwordField: UITextField! @@ -23,19 +18,9 @@ final class AuthViewController: UIViewController { @IBOutlet weak var signInButton: UIButton! @IBOutlet weak var bottomConstraint: NSLayoutConstraint! - let keychain = Keychain(service: "com.zadanie.bsm") - override func viewDidLoad() { super.viewDidLoad() - if(biometricType == .touchID) { - imgBio.image = UIImage(named: "TouchID") - } else if(biometricType == .faceID) { - imgBio.image = UIImage(named: "FaceID") - } else if(biometricType == .none) { - print("Nie ma biometrycznego czytnika") - } - containerView.transform = CGAffineTransform(scaleX: 0, y: 0) containerView.backgroundColor = .rwGreen containerView.layer.cornerRadius = 7 @@ -60,32 +45,6 @@ final class AuthViewController: UIViewController { registerForKeyboardNotifications() } - - @IBAction func storeSecret(_ sender: Any) { - DispatchQueue.global().async { - do { - try self.keychain - .accessibility(.whenPasscodeSetThisDeviceOnly, authenticationPolicy: .userPresence) - .set(self.txtSecret.text!, key: "secret") - } catch let error { - print(error) - } - } - } - - @IBAction func getSecret(_ sender: Any) { - DispatchQueue.global().async { - do { - let secret = try self.keychain - .authenticationPrompt("Użyj czynnika biometrycznego, żeby zobaczyć sekret") - .get("secret") - self.lblSecret.text = "Sekret to \(secret!)" - } catch let error { - print(error) - } - } - } - override func viewDidAppear(_ animated: Bool) { super.viewDidAppear(animated) diff --git a/Friendvatars/AuthViewController.xib b/Friendvatars/AuthViewController.xib index 4269c40..4c9e837 100644 --- a/Friendvatars/AuthViewController.xib +++ b/Friendvatars/AuthViewController.xib @@ -15,12 +15,9 @@ - - - @@ -32,39 +29,19 @@ - - - - - - - - - - - - + - - + @@ -91,7 +68,7 @@ - - - - - - - - - - + diff --git a/Friendvatars/BiometricTest.swift b/Friendvatars/BiometricTest.swift deleted file mode 100644 index de022f0..0000000 --- a/Friendvatars/BiometricTest.swift +++ /dev/null @@ -1,9 +0,0 @@ - - -import Foundation -import LocalAuthentication - -var biometricType: LABiometryType { - let authContext = LAContext() - return authContext.biometryType -} diff --git a/Friendvatars/DispatchQueue+Delay.swift b/Friendvatars/DispatchQueue+Delay.swift index 37dc5ee..25cb2da 100644 --- a/Friendvatars/DispatchQueue+Delay.swift +++ b/Friendvatars/DispatchQueue+Delay.swift @@ -1,4 +1,3 @@ - import Foundation extension DispatchQueue { diff --git a/Friendvatars/FriendCell.swift b/Friendvatars/FriendCell.swift index dafee6b..3b163ed 100644 --- a/Friendvatars/FriendCell.swift +++ b/Friendvatars/FriendCell.swift @@ -1,4 +1,3 @@ - import UIKit class FriendCell: UITableViewCell { diff --git a/Friendvatars/FriendsViewController.swift b/Friendvatars/FriendsViewController.swift index 8d23a08..6307834 100644 --- a/Friendvatars/FriendsViewController.swift +++ b/Friendvatars/FriendsViewController.swift @@ -1,4 +1,3 @@ - import UIKit import CryptoSwift @@ -18,7 +17,7 @@ final class FriendsViewController: UITableViewController { override func viewDidLoad() { super.viewDidLoad() - title = "Zabezpieczona wiadomość" + title = "BSM ZADANIE" let reuseIdentifier = String(describing: FriendCell.self) tableView.register( @@ -34,10 +33,7 @@ final class FriendsViewController: UITableViewController { ) friends = [ - User(name: "Zakodowana1", email: "ukryty tekst1"), - User(name: "Zakodowana2", email: "ukryty tekst2"), - User(name: "Zakodowana3", email: "ukryty tekst3"), - User(name: "Zakodowana4", email: "ukryty tekst4") + User(name: "Bob Appleseed", email: "ryha26+bob@gmail.com") ] } @@ -60,7 +56,7 @@ final class FriendsViewController: UITableViewController { } override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? { - return section == 0 ? "Ja" : "Ukryte wiadomości" + return section == 0 ? "Me" : "Friends" } override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { @@ -76,7 +72,7 @@ final class FriendsViewController: UITableViewController { } else { let emailHash = user.email.trimmingCharacters(in: .whitespacesAndNewlines) .lowercased() - .sha1() + .md5() if let url = URL(string: "https://www.gravatar.com/avatar/" + emailHash) { URLSession.shared.dataTask(with: url) { data, response, error in diff --git a/Friendvatars/NavigationController.swift b/Friendvatars/NavigationController.swift index 0320dd4..d0e5aaa 100644 --- a/Friendvatars/NavigationController.swift +++ b/Friendvatars/NavigationController.swift @@ -1,4 +1,3 @@ - import UIKit final class NavigationController: UINavigationController { diff --git a/Friendvatars/Settings.swift b/Friendvatars/Settings.swift index d6ef9cb..d43454e 100644 --- a/Friendvatars/Settings.swift +++ b/Friendvatars/Settings.swift @@ -1,5 +1,3 @@ - - import Foundation final class Settings { diff --git a/Friendvatars/SplashViewController.swift b/Friendvatars/SplashViewController.swift index 377664f..a5aca21 100644 --- a/Friendvatars/SplashViewController.swift +++ b/Friendvatars/SplashViewController.swift @@ -1,4 +1,3 @@ - import UIKit final class SplashViewController: UIViewController { diff --git a/Friendvatars/UIColor+Additions.swift b/Friendvatars/UIColor+Additions.swift index f7f738d..129acfb 100644 --- a/Friendvatars/UIColor+Additions.swift +++ b/Friendvatars/UIColor+Additions.swift @@ -1,8 +1,7 @@ - import UIKit extension UIColor { - static let rwGreen = UIColor(red: 0.0/255.0, green: 104.0/255.0, blue: 55.0/255.0, alpha: 1.0) + static let rwGreen = UIColor(red: 13.0/255.0, green: 12.0/255.0, blue: 29.0/255.0, alpha: 1.0) } diff --git a/Friendvatars/User.swift b/Friendvatars/User.swift index 1e6884f..e190851 100644 --- a/Friendvatars/User.swift +++ b/Friendvatars/User.swift @@ -1,4 +1,3 @@ - import Foundation struct User: Codable { diff --git a/Podfile b/Podfile index b62ad0b..9f06147 100644 --- a/Podfile +++ b/Podfile @@ -3,5 +3,4 @@ use_frameworks! target 'Friendvatars' do pod 'CryptoSwift' - pod 'KeychainAccess' end diff --git a/Podfile.lock b/Podfile.lock index 843b910..5e4b8be 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,20 +1,12 @@ PODS: - CryptoSwift (0.8.1) - - KeychainAccess (3.1.2) DEPENDENCIES: - CryptoSwift - - KeychainAccess - -SPEC REPOS: - https://github.com/cocoapods/specs.git: - - CryptoSwift - - KeychainAccess SPEC CHECKSUMS: CryptoSwift: 4b07d5b508c1eb67bfa314a727b705f8048a85de - KeychainAccess: b3816fddcf28aa29d94b10ec305cd52be14c472b -PODFILE CHECKSUM: 2ccd80ba9984103c7eb7f1175a88d0a90df6c731 +PODFILE CHECKSUM: bbf4ad9f3f2f1429ecda282ecb446c084363a23f -COCOAPODS: 1.5.3 +COCOAPODS: 1.3.1 diff --git a/Pods/KeychainAccess/LICENSE b/Pods/KeychainAccess/LICENSE deleted file mode 100644 index 7ab2a8e..0000000 --- a/Pods/KeychainAccess/LICENSE +++ /dev/null @@ -1,22 +0,0 @@ -The MIT License (MIT) - -Copyright (c) 2014 kishikawa katsumi - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - diff --git a/Pods/KeychainAccess/Lib/KeychainAccess/Keychain.swift b/Pods/KeychainAccess/Lib/KeychainAccess/Keychain.swift deleted file mode 100644 index 8d1721e..0000000 --- a/Pods/KeychainAccess/Lib/KeychainAccess/Keychain.swift +++ /dev/null @@ -1,2921 +0,0 @@ -// -// Keychain.swift -// KeychainAccess -// -// Created by kishikawa katsumi on 2014/12/24. -// Copyright (c) 2014 kishikawa katsumi. All rights reserved. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. - -import Foundation -import Security -#if os(iOS) || os(OSX) -import LocalAuthentication -#endif - -public let KeychainAccessErrorDomain = "com.kishikawakatsumi.KeychainAccess.error" - -public enum ItemClass { - case genericPassword - case internetPassword -} - -public enum ProtocolType { - case ftp - case ftpAccount - case http - case irc - case nntp - case pop3 - case smtp - case socks - case imap - case ldap - case appleTalk - case afp - case telnet - case ssh - case ftps - case https - case httpProxy - case httpsProxy - case ftpProxy - case smb - case rtsp - case rtspProxy - case daap - case eppc - case ipp - case nntps - case ldaps - case telnetS - case imaps - case ircs - case pop3S -} - -public enum AuthenticationType { - case ntlm - case msn - case dpa - case rpa - case httpBasic - case httpDigest - case htmlForm - case `default` -} - -public enum Accessibility { - /** - Item data can only be accessed - while the device is unlocked. This is recommended for items that only - need be accesible while the application is in the foreground. Items - with this attribute will migrate to a new device when using encrypted - backups. - */ - case whenUnlocked - - /** - Item data can only be - accessed once the device has been unlocked after a restart. This is - recommended for items that need to be accesible by background - applications. Items with this attribute will migrate to a new device - when using encrypted backups. - */ - case afterFirstUnlock - - /** - Item data can always be accessed - regardless of the lock state of the device. This is not recommended - for anything except system use. Items with this attribute will migrate - to a new device when using encrypted backups. - */ - case always - - /** - Item data can - only be accessed while the device is unlocked. This class is only - available if a passcode is set on the device. This is recommended for - items that only need to be accessible while the application is in the - foreground. Items with this attribute will never migrate to a new - device, so after a backup is restored to a new device, these items - will be missing. No items can be stored in this class on devices - without a passcode. Disabling the device passcode will cause all - items in this class to be deleted. - */ - @available(iOS 8.0, OSX 10.10, *) - case whenPasscodeSetThisDeviceOnly - - /** - Item data can only - be accessed while the device is unlocked. This is recommended for items - that only need be accesible while the application is in the foreground. - Items with this attribute will never migrate to a new device, so after - a backup is restored to a new device, these items will be missing. - */ - case whenUnlockedThisDeviceOnly - - /** - Item data can - only be accessed once the device has been unlocked after a restart. - This is recommended for items that need to be accessible by background - applications. Items with this attribute will never migrate to a new - device, so after a backup is restored to a new device these items will - be missing. - */ - case afterFirstUnlockThisDeviceOnly - - /** - Item data can always - be accessed regardless of the lock state of the device. This option - is not recommended for anything except system use. Items with this - attribute will never migrate to a new device, so after a backup is - restored to a new device, these items will be missing. - */ - case alwaysThisDeviceOnly -} - -public struct AuthenticationPolicy: OptionSet { - /** - User presence policy using Touch ID or Passcode. Touch ID does not - have to be available or enrolled. Item is still accessible by Touch ID - even if fingers are added or removed. - */ - @available(iOS 8.0, OSX 10.10, *) - @available(watchOS, unavailable) - public static let userPresence = AuthenticationPolicy(rawValue: 1 << 0) - - /** - Constraint: Touch ID (any finger). Touch ID must be available and - at least one finger must be enrolled. Item is still accessible by - Touch ID even if fingers are added or removed. - */ - @available(iOS 9.0, *) - @available(OSX, unavailable) - @available(watchOS, unavailable) - public static let touchIDAny = AuthenticationPolicy(rawValue: 1 << 1) - - /** - Constraint: Touch ID from the set of currently enrolled fingers. - Touch ID must be available and at least one finger must be enrolled. - When fingers are added or removed, the item is invalidated. - */ - @available(iOS 9.0, *) - @available(OSX, unavailable) - @available(watchOS, unavailable) - public static let touchIDCurrentSet = AuthenticationPolicy(rawValue: 1 << 3) - - /** - Constraint: Device passcode - */ - @available(iOS 9.0, OSX 10.11, *) - @available(watchOS, unavailable) - public static let devicePasscode = AuthenticationPolicy(rawValue: 1 << 4) - - /** - Constraint logic operation: when using more than one constraint, - at least one of them must be satisfied. - */ - @available(iOS 9.0, *) - @available(OSX, unavailable) - @available(watchOS, unavailable) - public static let or = AuthenticationPolicy(rawValue: 1 << 14) - - /** - Constraint logic operation: when using more than one constraint, - all must be satisfied. - */ - @available(iOS 9.0, *) - @available(OSX, unavailable) - @available(watchOS, unavailable) - public static let and = AuthenticationPolicy(rawValue: 1 << 15) - - /** - Create access control for private key operations (i.e. sign operation) - */ - @available(iOS 9.0, *) - @available(OSX, unavailable) - @available(watchOS, unavailable) - public static let privateKeyUsage = AuthenticationPolicy(rawValue: 1 << 30) - - /** - Security: Application provided password for data encryption key generation. - This is not a constraint but additional item encryption mechanism. - */ - @available(iOS 9.0, *) - @available(OSX, unavailable) - @available(watchOS, unavailable) - public static let applicationPassword = AuthenticationPolicy(rawValue: 1 << 31) - - #if swift(>=2.3) - public let rawValue: UInt - - public init(rawValue: UInt) { - self.rawValue = rawValue - } - #else - public let rawValue: Int - - public init(rawValue: Int) { - self.rawValue = rawValue - } - #endif -} - -public struct Attributes { - public var `class`: String? { - return attributes[Class] as? String - } - public var data: Data? { - return attributes[ValueData] as? Data - } - public var ref: Data? { - return attributes[ValueRef] as? Data - } - public var persistentRef: Data? { - return attributes[ValuePersistentRef] as? Data - } - - public var accessible: String? { - return attributes[AttributeAccessible] as? String - } - public var accessControl: SecAccessControl? { - if #available(OSX 10.10, *) { - if let accessControl = attributes[AttributeAccessControl] { - return (accessControl as! SecAccessControl) - } - return nil - } else { - return nil - } - } - public var accessGroup: String? { - return attributes[AttributeAccessGroup] as? String - } - public var synchronizable: Bool? { - return attributes[AttributeSynchronizable] as? Bool - } - public var creationDate: Date? { - return attributes[AttributeCreationDate] as? Date - } - public var modificationDate: Date? { - return attributes[AttributeModificationDate] as? Date - } - public var attributeDescription: String? { - return attributes[AttributeDescription] as? String - } - public var comment: String? { - return attributes[AttributeComment] as? String - } - public var creator: String? { - return attributes[AttributeCreator] as? String - } - public var type: String? { - return attributes[AttributeType] as? String - } - public var label: String? { - return attributes[AttributeLabel] as? String - } - public var isInvisible: Bool? { - return attributes[AttributeIsInvisible] as? Bool - } - public var isNegative: Bool? { - return attributes[AttributeIsNegative] as? Bool - } - public var account: String? { - return attributes[AttributeAccount] as? String - } - public var service: String? { - return attributes[AttributeService] as? String - } - public var generic: Data? { - return attributes[AttributeGeneric] as? Data - } - public var securityDomain: String? { - return attributes[AttributeSecurityDomain] as? String - } - public var server: String? { - return attributes[AttributeServer] as? String - } - public var `protocol`: String? { - return attributes[AttributeProtocol] as? String - } - public var authenticationType: String? { - return attributes[AttributeAuthenticationType] as? String - } - public var port: Int? { - return attributes[AttributePort] as? Int - } - public var path: String? { - return attributes[AttributePath] as? String - } - - fileprivate let attributes: [String: Any] - - init(attributes: [String: Any]) { - self.attributes = attributes - } - - public subscript(key: String) -> Any? { - get { - return attributes[key] - } - } -} - -public final class Keychain { - public var itemClass: ItemClass { - return options.itemClass - } - - public var service: String { - return options.service - } - - public var accessGroup: String? { - return options.accessGroup - } - - public var server: URL { - return options.server - } - - public var protocolType: ProtocolType { - return options.protocolType - } - - public var authenticationType: AuthenticationType { - return options.authenticationType - } - - public var accessibility: Accessibility { - return options.accessibility - } - - @available(iOS 8.0, OSX 10.10, *) - @available(watchOS, unavailable) - public var authenticationPolicy: AuthenticationPolicy? { - return options.authenticationPolicy - } - - public var synchronizable: Bool { - return options.synchronizable - } - - public var label: String? { - return options.label - } - - public var comment: String? { - return options.comment - } - - @available(iOS 8.0, OSX 10.10, *) - @available(watchOS, unavailable) - public var authenticationPrompt: String? { - return options.authenticationPrompt - } - - #if os(iOS) || os(OSX) - @available(iOS 9.0, OSX 10.11, *) - public var authenticationContext: LAContext? { - return options.authenticationContext as? LAContext - } - #endif - - fileprivate let options: Options - - // MARK: - - public convenience init() { - var options = Options() - if let bundleIdentifier = Bundle.main.bundleIdentifier { - options.service = bundleIdentifier - } - self.init(options) - } - - public convenience init(service: String) { - var options = Options() - options.service = service - self.init(options) - } - - public convenience init(accessGroup: String) { - var options = Options() - if let bundleIdentifier = Bundle.main.bundleIdentifier { - options.service = bundleIdentifier - } - options.accessGroup = accessGroup - self.init(options) - } - - public convenience init(service: String, accessGroup: String) { - var options = Options() - options.service = service - options.accessGroup = accessGroup - self.init(options) - } - - public convenience init(server: String, protocolType: ProtocolType, authenticationType: AuthenticationType = .default) { - self.init(server: URL(string: server)!, protocolType: protocolType, authenticationType: authenticationType) - } - - public convenience init(server: URL, protocolType: ProtocolType, authenticationType: AuthenticationType = .default) { - var options = Options() - options.itemClass = .internetPassword - options.server = server - options.protocolType = protocolType - options.authenticationType = authenticationType - self.init(options) - } - - fileprivate init(_ opts: Options) { - options = opts - } - - // MARK: - - public func accessibility(_ accessibility: Accessibility) -> Keychain { - var options = self.options - options.accessibility = accessibility - return Keychain(options) - } - - @available(iOS 8.0, OSX 10.10, *) - @available(watchOS, unavailable) - public func accessibility(_ accessibility: Accessibility, authenticationPolicy: AuthenticationPolicy) -> Keychain { - var options = self.options - options.accessibility = accessibility - options.authenticationPolicy = authenticationPolicy - return Keychain(options) - } - - public func synchronizable(_ synchronizable: Bool) -> Keychain { - var options = self.options - options.synchronizable = synchronizable - return Keychain(options) - } - - public func label(_ label: String) -> Keychain { - var options = self.options - options.label = label - return Keychain(options) - } - - public func comment(_ comment: String) -> Keychain { - var options = self.options - options.comment = comment - return Keychain(options) - } - - public func attributes(_ attributes: [String: Any]) -> Keychain { - var options = self.options - attributes.forEach { options.attributes.updateValue($1, forKey: $0) } - return Keychain(options) - } - - @available(iOS 8.0, OSX 10.10, *) - @available(watchOS, unavailable) - public func authenticationPrompt(_ authenticationPrompt: String) -> Keychain { - var options = self.options - options.authenticationPrompt = authenticationPrompt - return Keychain(options) - } - - #if os(iOS) || os(OSX) - @available(iOS 9.0, OSX 10.11, *) - public func authenticationContext(_ authenticationContext: LAContext) -> Keychain { - var options = self.options - options.authenticationContext = authenticationContext - return Keychain(options) - } - #endif - - // MARK: - - public func get(_ key: String) throws -> String? { - return try getString(key) - } - - public func getString(_ key: String) throws -> String? { - guard let data = try getData(key) else { - return nil - } - guard let string = String(data: data, encoding: .utf8) else { - print("failed to convert data to string") - throw Status.conversionError - } - return string - } - - public func getData(_ key: String) throws -> Data? { - var query = options.query() - - query[MatchLimit] = MatchLimitOne - query[ReturnData] = kCFBooleanTrue - - query[AttributeAccount] = key - - var result: AnyObject? - let status = SecItemCopyMatching(query as CFDictionary, &result) - - switch status { - case errSecSuccess: - guard let data = result as? Data else { - throw Status.unexpectedError - } - return data - case errSecItemNotFound: - return nil - default: - throw securityError(status: status) - } - } - - public func get(_ key: String, handler: (Attributes?) -> T) throws -> T { - var query = options.query() - - query[MatchLimit] = MatchLimitOne - - query[ReturnData] = kCFBooleanTrue - query[ReturnAttributes] = kCFBooleanTrue - query[ReturnRef] = kCFBooleanTrue - query[ReturnPersistentRef] = kCFBooleanTrue - - query[AttributeAccount] = key - - var result: AnyObject? - let status = SecItemCopyMatching(query as CFDictionary, &result) - - switch status { - case errSecSuccess: - guard let attributes = result as? [String: Any] else { - throw Status.unexpectedError - } - return handler(Attributes(attributes: attributes)) - case errSecItemNotFound: - return handler(nil) - default: - throw securityError(status: status) - } - } - - // MARK: - - public func set(_ value: String, key: String) throws { - guard let data = value.data(using: .utf8, allowLossyConversion: false) else { - print("failed to convert string to data") - throw Status.conversionError - } - try set(data, key: key) - } - - public func set(_ value: Data, key: String) throws { - var query = options.query() - query[AttributeAccount] = key - #if os(iOS) - if #available(iOS 9.0, *) { - query[UseAuthenticationUI] = UseAuthenticationUIFail - } else { - query[UseNoAuthenticationUI] = kCFBooleanTrue - } - #elseif os(OSX) - query[ReturnData] = kCFBooleanTrue - if #available(OSX 10.11, *) { - query[UseAuthenticationUI] = UseAuthenticationUIFail - } - #endif - - var status = SecItemCopyMatching(query as CFDictionary, nil) - switch status { - case errSecSuccess, errSecInteractionNotAllowed: - var query = options.query() - query[AttributeAccount] = key - - var (attributes, error) = options.attributes(key: nil, value: value) - if let error = error { - print(error.localizedDescription) - throw error - } - - options.attributes.forEach { attributes.updateValue($1, forKey: $0) } - - #if os(iOS) - if status == errSecInteractionNotAllowed && floor(NSFoundationVersionNumber) <= floor(NSFoundationVersionNumber_iOS_8_0) { - try remove(key) - try set(value, key: key) - } else { - status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary) - if status != errSecSuccess { - throw securityError(status: status) - } - } - #else - status = SecItemUpdate(query as CFDictionary, attributes as CFDictionary) - if status != errSecSuccess { - throw securityError(status: status) - } - #endif - case errSecItemNotFound: - var (attributes, error) = options.attributes(key: key, value: value) - if let error = error { - print(error.localizedDescription) - throw error - } - - options.attributes.forEach { attributes.updateValue($1, forKey: $0) } - - status = SecItemAdd(attributes as CFDictionary, nil) - if status != errSecSuccess { - throw securityError(status: status) - } - default: - throw securityError(status: status) - } - } - - public subscript(key: String) -> String? { - get { - return (try? get(key)).flatMap { $0 } - } - - set { - if let value = newValue { - do { - try set(value, key: key) - } catch {} - } else { - do { - try remove(key) - } catch {} - } - } - } - - public subscript(string key: String) -> String? { - get { - return self[key] - } - - set { - self[key] = newValue - } - } - - public subscript(data key: String) -> Data? { - get { - return (try? getData(key)).flatMap { $0 } - } - - set { - if let value = newValue { - do { - try set(value, key: key) - } catch {} - } else { - do { - try remove(key) - } catch {} - } - } - } - - public subscript(attributes key: String) -> Attributes? { - get { - return (try? get(key) { $0 }).flatMap { $0 } - } - } - - // MARK: - - public func remove(_ key: String) throws { - var query = options.query() - query[AttributeAccount] = key - - let status = SecItemDelete(query as CFDictionary) - if status != errSecSuccess && status != errSecItemNotFound { - throw securityError(status: status) - } - } - - public func removeAll() throws { - var query = options.query() - #if !os(iOS) && !os(watchOS) && !os(tvOS) - query[MatchLimit] = MatchLimitAll - #endif - - let status = SecItemDelete(query as CFDictionary) - if status != errSecSuccess && status != errSecItemNotFound { - throw securityError(status: status) - } - } - - // MARK: - - public func contains(_ key: String) throws -> Bool { - var query = options.query() - query[AttributeAccount] = key - - let status = SecItemCopyMatching(query as CFDictionary, nil) - switch status { - case errSecSuccess: - return true - case errSecItemNotFound: - return false - default: - throw securityError(status: status) - } - } - - // MARK: - - public class func allKeys(_ itemClass: ItemClass) -> [(String, String)] { - var query = [String: Any]() - query[Class] = itemClass.rawValue - query[AttributeSynchronizable] = SynchronizableAny - query[MatchLimit] = MatchLimitAll - query[ReturnAttributes] = kCFBooleanTrue - - var result: AnyObject? - let status = SecItemCopyMatching(query as CFDictionary, &result) - - switch status { - case errSecSuccess: - if let items = result as? [[String: Any]] { - return prettify(itemClass: itemClass, items: items).map { - switch itemClass { - case .genericPassword: - return (($0["service"] ?? "") as! String, ($0["key"] ?? "") as! String) - case .internetPassword: - return (($0["server"] ?? "") as! String, ($0["key"] ?? "") as! String) - } - } - } - case errSecItemNotFound: - return [] - default: () - } - - securityError(status: status) - return [] - } - - public func allKeys() -> [String] { - let allItems = type(of: self).prettify(itemClass: itemClass, items: items()) - let filter: ([String: Any]) -> String? = { $0["key"] as? String } - - #if swift(>=4.1) - return allItems.compactMap(filter) - #else - return allItems.flatMap(filter) - #endif - } - - public class func allItems(_ itemClass: ItemClass) -> [[String: Any]] { - var query = [String: Any]() - query[Class] = itemClass.rawValue - query[MatchLimit] = MatchLimitAll - query[ReturnAttributes] = kCFBooleanTrue - #if os(iOS) || os(watchOS) || os(tvOS) - query[ReturnData] = kCFBooleanTrue - #endif - - var result: AnyObject? - let status = SecItemCopyMatching(query as CFDictionary, &result) - - switch status { - case errSecSuccess: - if let items = result as? [[String: Any]] { - return prettify(itemClass: itemClass, items: items) - } - case errSecItemNotFound: - return [] - default: () - } - - securityError(status: status) - return [] - } - - public func allItems() -> [[String: Any]] { - return type(of: self).prettify(itemClass: itemClass, items: items()) - } - - #if os(iOS) - @available(iOS 8.0, *) - public func getSharedPassword(_ completion: @escaping (_ account: String?, _ password: String?, _ error: Error?) -> () = { account, password, error -> () in }) { - if let domain = server.host { - type(of: self).requestSharedWebCredential(domain: domain, account: nil) { (credentials, error) -> () in - if let credential = credentials.first { - let account = credential["account"] - let password = credential["password"] - completion(account, password, error) - } else { - completion(nil, nil, error) - } - } - } else { - let error = securityError(status: Status.param.rawValue) - completion(nil, nil, error) - } - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - public func getSharedPassword(_ account: String, completion: @escaping (_ password: String?, _ error: Error?) -> () = { password, error -> () in }) { - if let domain = server.host { - type(of: self).requestSharedWebCredential(domain: domain, account: account) { (credentials, error) -> () in - if let credential = credentials.first { - if let password = credential["password"] { - completion(password, error) - } else { - completion(nil, error) - } - } else { - completion(nil, error) - } - } - } else { - let error = securityError(status: Status.param.rawValue) - completion(nil, error) - } - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - public func setSharedPassword(_ password: String, account: String, completion: @escaping (_ error: Error?) -> () = { e -> () in }) { - setSharedPassword(password as String?, account: account, completion: completion) - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - fileprivate func setSharedPassword(_ password: String?, account: String, completion: @escaping (_ error: Error?) -> () = { e -> () in }) { - if let domain = server.host { - SecAddSharedWebCredential(domain as CFString, account as CFString, password as CFString?) { error -> () in - if let error = error { - completion(error.error) - } else { - completion(nil) - } - } - } else { - let error = securityError(status: Status.param.rawValue) - completion(error) - } - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - public func removeSharedPassword(_ account: String, completion: @escaping (_ error: Error?) -> () = { e -> () in }) { - setSharedPassword(nil, account: account, completion: completion) - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - public class func requestSharedWebCredential(_ completion: @escaping (_ credentials: [[String: String]], _ error: Error?) -> () = { credentials, error -> () in }) { - requestSharedWebCredential(domain: nil, account: nil, completion: completion) - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - public class func requestSharedWebCredential(domain: String, completion: @escaping (_ credentials: [[String: String]], _ error: Error?) -> () = { credentials, error -> () in }) { - requestSharedWebCredential(domain: domain, account: nil, completion: completion) - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - public class func requestSharedWebCredential(domain: String, account: String, completion: @escaping (_ credentials: [[String: String]], _ error: Error?) -> () = { credentials, error -> () in }) { - requestSharedWebCredential(domain: Optional(domain), account: Optional(account)!, completion: completion) - } - #endif - - #if os(iOS) - @available(iOS 8.0, *) - fileprivate class func requestSharedWebCredential(domain: String?, account: String?, completion: @escaping (_ credentials: [[String: String]], _ error: Error?) -> ()) { - SecRequestSharedWebCredential(domain as CFString?, account as CFString?) { (credentials, error) -> () in - var remoteError: NSError? - if let error = error { - remoteError = error.error - if remoteError?.code != Int(errSecItemNotFound) { - print("error:[\(remoteError!.code)] \(remoteError!.localizedDescription)") - } - } - if let credentials = credentials { - let credentials = (credentials as NSArray).map { credentials -> [String: String] in - var credential = [String: String]() - if let credentials = credentials as? [String: String] { - if let server = credentials[AttributeServer] { - credential["server"] = server - } - if let account = credentials[AttributeAccount] { - credential["account"] = account - } - if let password = credentials[SharedPassword] { - credential["password"] = password - } - } - return credential - } - completion(credentials, remoteError) - } else { - completion([], remoteError) - } - } - } - #endif - - #if os(iOS) - /** - @abstract Returns a randomly generated password. - @return String password in the form xxx-xxx-xxx-xxx where x is taken from the sets "abcdefghkmnopqrstuvwxy", "ABCDEFGHJKLMNPQRSTUVWXYZ", "3456789" with at least one character from each set being present. - */ - @available(iOS 8.0, *) - public class func generatePassword() -> String { - return SecCreateSharedWebCredentialPassword()! as String - } - #endif - - // MARK: - - fileprivate func items() -> [[String: Any]] { - var query = options.query() - query[MatchLimit] = MatchLimitAll - query[ReturnAttributes] = kCFBooleanTrue - #if os(iOS) || os(watchOS) || os(tvOS) - query[ReturnData] = kCFBooleanTrue - #endif - - var result: AnyObject? - let status = SecItemCopyMatching(query as CFDictionary, &result) - - switch status { - case errSecSuccess: - if let items = result as? [[String: Any]] { - return items - } - case errSecItemNotFound: - return [] - default: () - } - - securityError(status: status) - return [] - } - - fileprivate class func prettify(itemClass: ItemClass, items: [[String: Any]]) -> [[String: Any]] { - let items = items.map { attributes -> [String: Any] in - var item = [String: Any]() - - item["class"] = itemClass.description - - switch itemClass { - case .genericPassword: - if let service = attributes[AttributeService] as? String { - item["service"] = service - } - if let accessGroup = attributes[AttributeAccessGroup] as? String { - item["accessGroup"] = accessGroup - } - case .internetPassword: - if let server = attributes[AttributeServer] as? String { - item["server"] = server - } - if let proto = attributes[AttributeProtocol] as? String { - if let protocolType = ProtocolType(rawValue: proto) { - item["protocol"] = protocolType.description - } - } - if let auth = attributes[AttributeAuthenticationType] as? String { - if let authenticationType = AuthenticationType(rawValue: auth) { - item["authenticationType"] = authenticationType.description - } - } - } - - if let key = attributes[AttributeAccount] as? String { - item["key"] = key - } - if let data = attributes[ValueData] as? Data { - if let text = String(data: data, encoding: .utf8) { - item["value"] = text - } else { - item["value"] = data - } - } - - if let accessible = attributes[AttributeAccessible] as? String { - if let accessibility = Accessibility(rawValue: accessible) { - item["accessibility"] = accessibility.description - } - } - if let synchronizable = attributes[AttributeSynchronizable] as? Bool { - item["synchronizable"] = synchronizable ? "true" : "false" - } - - return item - } - return items - } - - // MARK: - - @discardableResult - fileprivate class func securityError(status: OSStatus) -> Error { - let error = Status(status: status) - print("OSStatus error:[\(error.errorCode)] \(error.description)") - - return error - } - - @discardableResult - fileprivate func securityError(status: OSStatus) -> Error { - return type(of: self).securityError(status: status) - } -} - -struct Options { - var itemClass: ItemClass = .genericPassword - - var service: String = "" - var accessGroup: String? = nil - - var server: URL! - var protocolType: ProtocolType! - var authenticationType: AuthenticationType = .default - - var accessibility: Accessibility = .afterFirstUnlock - var authenticationPolicy: AuthenticationPolicy? - - var synchronizable: Bool = false - - var label: String? - var comment: String? - - var authenticationPrompt: String? - var authenticationContext: AnyObject? - - var attributes = [String: Any]() -} - -/** Class Key Constant */ -private let Class = String(kSecClass) - -/** Attribute Key Constants */ -private let AttributeAccessible = String(kSecAttrAccessible) - -@available(iOS 8.0, OSX 10.10, *) -private let AttributeAccessControl = String(kSecAttrAccessControl) - -private let AttributeAccessGroup = String(kSecAttrAccessGroup) -private let AttributeSynchronizable = String(kSecAttrSynchronizable) -private let AttributeCreationDate = String(kSecAttrCreationDate) -private let AttributeModificationDate = String(kSecAttrModificationDate) -private let AttributeDescription = String(kSecAttrDescription) -private let AttributeComment = String(kSecAttrComment) -private let AttributeCreator = String(kSecAttrCreator) -private let AttributeType = String(kSecAttrType) -private let AttributeLabel = String(kSecAttrLabel) -private let AttributeIsInvisible = String(kSecAttrIsInvisible) -private let AttributeIsNegative = String(kSecAttrIsNegative) -private let AttributeAccount = String(kSecAttrAccount) -private let AttributeService = String(kSecAttrService) -private let AttributeGeneric = String(kSecAttrGeneric) -private let AttributeSecurityDomain = String(kSecAttrSecurityDomain) -private let AttributeServer = String(kSecAttrServer) -private let AttributeProtocol = String(kSecAttrProtocol) -private let AttributeAuthenticationType = String(kSecAttrAuthenticationType) -private let AttributePort = String(kSecAttrPort) -private let AttributePath = String(kSecAttrPath) - -private let SynchronizableAny = kSecAttrSynchronizableAny - -/** Search Constants */ -private let MatchLimit = String(kSecMatchLimit) -private let MatchLimitOne = kSecMatchLimitOne -private let MatchLimitAll = kSecMatchLimitAll - -/** Return Type Key Constants */ -private let ReturnData = String(kSecReturnData) -private let ReturnAttributes = String(kSecReturnAttributes) -private let ReturnRef = String(kSecReturnRef) -private let ReturnPersistentRef = String(kSecReturnPersistentRef) - -/** Value Type Key Constants */ -private let ValueData = String(kSecValueData) -private let ValueRef = String(kSecValueRef) -private let ValuePersistentRef = String(kSecValuePersistentRef) - -/** Other Constants */ -@available(iOS 8.0, OSX 10.10, *) -private let UseOperationPrompt = String(kSecUseOperationPrompt) - -#if os(iOS) -@available(iOS, introduced: 8.0, deprecated: 9.0, message: "Use a UseAuthenticationUI instead.") -private let UseNoAuthenticationUI = String(kSecUseNoAuthenticationUI) -#endif - -@available(iOS 9.0, OSX 10.11, *) -@available(watchOS, unavailable) -private let UseAuthenticationUI = String(kSecUseAuthenticationUI) - -@available(iOS 9.0, OSX 10.11, *) -@available(watchOS, unavailable) -private let UseAuthenticationContext = String(kSecUseAuthenticationContext) - -@available(iOS 9.0, OSX 10.11, *) -@available(watchOS, unavailable) -private let UseAuthenticationUIAllow = String(kSecUseAuthenticationUIAllow) - -@available(iOS 9.0, OSX 10.11, *) -@available(watchOS, unavailable) -private let UseAuthenticationUIFail = String(kSecUseAuthenticationUIFail) - -@available(iOS 9.0, OSX 10.11, *) -@available(watchOS, unavailable) -private let UseAuthenticationUISkip = String(kSecUseAuthenticationUISkip) - -#if os(iOS) -/** Credential Key Constants */ -private let SharedPassword = String(kSecSharedPassword) -#endif - -extension Keychain: CustomStringConvertible, CustomDebugStringConvertible { - public var description: String { - let items = allItems() - if items.isEmpty { - return "[]" - } - var description = "[\n" - for item in items { - description += " " - description += "\(item)\n" - } - description += "]" - return description - } - - public var debugDescription: String { - return "\(items())" - } -} - -extension Options { - - func query() -> [String: Any] { - var query = [String: Any]() - - query[Class] = itemClass.rawValue - query[AttributeSynchronizable] = SynchronizableAny - - switch itemClass { - case .genericPassword: - query[AttributeService] = service - // Access group is not supported on any simulators. - #if (!arch(i386) && !arch(x86_64)) || (!os(iOS) && !os(watchOS) && !os(tvOS)) - if let accessGroup = self.accessGroup { - query[AttributeAccessGroup] = accessGroup - } - #endif - case .internetPassword: - query[AttributeServer] = server.host - query[AttributePort] = server.port - query[AttributeProtocol] = protocolType.rawValue - query[AttributeAuthenticationType] = authenticationType.rawValue - } - - if #available(OSX 10.10, *) { - if authenticationPrompt != nil { - query[UseOperationPrompt] = authenticationPrompt - } - } - - #if !os(watchOS) - if #available(iOS 9.0, OSX 10.11, *) { - if authenticationContext != nil { - query[UseAuthenticationContext] = authenticationContext - } - } - #endif - - return query - } - - func attributes(key: String?, value: Data) -> ([String: Any], Error?) { - var attributes: [String: Any] - - if key != nil { - attributes = query() - attributes[AttributeAccount] = key - } else { - attributes = [String: Any]() - } - - attributes[ValueData] = value - - if label != nil { - attributes[AttributeLabel] = label - } - if comment != nil { - attributes[AttributeComment] = comment - } - - if let policy = authenticationPolicy { - if #available(OSX 10.10, *) { - var error: Unmanaged? - guard let accessControl = SecAccessControlCreateWithFlags(kCFAllocatorDefault, accessibility.rawValue as CFTypeRef, SecAccessControlCreateFlags(rawValue: CFOptionFlags(policy.rawValue)), &error) else { - if let error = error?.takeUnretainedValue() { - return (attributes, error.error) - } - - return (attributes, Status.unexpectedError) - } - attributes[AttributeAccessControl] = accessControl - } else { - print("Unavailable 'Touch ID integration' on OS X versions prior to 10.10.") - } - } else { - attributes[AttributeAccessible] = accessibility.rawValue - } - - attributes[AttributeSynchronizable] = synchronizable ? kCFBooleanTrue : kCFBooleanFalse - - return (attributes, nil) - } -} - -// MARK: - -extension Attributes: CustomStringConvertible, CustomDebugStringConvertible { - public var description: String { - return "\(attributes)" - } - - public var debugDescription: String { - return description - } -} - -extension ItemClass: RawRepresentable, CustomStringConvertible { - - public init?(rawValue: String) { - switch rawValue { - case String(kSecClassGenericPassword): - self = .genericPassword - case String(kSecClassInternetPassword): - self = .internetPassword - default: - return nil - } - } - - public var rawValue: String { - switch self { - case .genericPassword: - return String(kSecClassGenericPassword) - case .internetPassword: - return String(kSecClassInternetPassword) - } - } - - public var description: String { - switch self { - case .genericPassword: - return "GenericPassword" - case .internetPassword: - return "InternetPassword" - } - } -} - -extension ProtocolType: RawRepresentable, CustomStringConvertible { - - public init?(rawValue: String) { - switch rawValue { - case String(kSecAttrProtocolFTP): - self = .ftp - case String(kSecAttrProtocolFTPAccount): - self = .ftpAccount - case String(kSecAttrProtocolHTTP): - self = .http - case String(kSecAttrProtocolIRC): - self = .irc - case String(kSecAttrProtocolNNTP): - self = .nntp - case String(kSecAttrProtocolPOP3): - self = .pop3 - case String(kSecAttrProtocolSMTP): - self = .smtp - case String(kSecAttrProtocolSOCKS): - self = .socks - case String(kSecAttrProtocolIMAP): - self = .imap - case String(kSecAttrProtocolLDAP): - self = .ldap - case String(kSecAttrProtocolAppleTalk): - self = .appleTalk - case String(kSecAttrProtocolAFP): - self = .afp - case String(kSecAttrProtocolTelnet): - self = .telnet - case String(kSecAttrProtocolSSH): - self = .ssh - case String(kSecAttrProtocolFTPS): - self = .ftps - case String(kSecAttrProtocolHTTPS): - self = .https - case String(kSecAttrProtocolHTTPProxy): - self = .httpProxy - case String(kSecAttrProtocolHTTPSProxy): - self = .httpsProxy - case String(kSecAttrProtocolFTPProxy): - self = .ftpProxy - case String(kSecAttrProtocolSMB): - self = .smb - case String(kSecAttrProtocolRTSP): - self = .rtsp - case String(kSecAttrProtocolRTSPProxy): - self = .rtspProxy - case String(kSecAttrProtocolDAAP): - self = .daap - case String(kSecAttrProtocolEPPC): - self = .eppc - case String(kSecAttrProtocolIPP): - self = .ipp - case String(kSecAttrProtocolNNTPS): - self = .nntps - case String(kSecAttrProtocolLDAPS): - self = .ldaps - case String(kSecAttrProtocolTelnetS): - self = .telnetS - case String(kSecAttrProtocolIMAPS): - self = .imaps - case String(kSecAttrProtocolIRCS): - self = .ircs - case String(kSecAttrProtocolPOP3S): - self = .pop3S - default: - return nil - } - } - - public var rawValue: String { - switch self { - case .ftp: - return String(kSecAttrProtocolFTP) - case .ftpAccount: - return String(kSecAttrProtocolFTPAccount) - case .http: - return String(kSecAttrProtocolHTTP) - case .irc: - return String(kSecAttrProtocolIRC) - case .nntp: - return String(kSecAttrProtocolNNTP) - case .pop3: - return String(kSecAttrProtocolPOP3) - case .smtp: - return String(kSecAttrProtocolSMTP) - case .socks: - return String(kSecAttrProtocolSOCKS) - case .imap: - return String(kSecAttrProtocolIMAP) - case .ldap: - return String(kSecAttrProtocolLDAP) - case .appleTalk: - return String(kSecAttrProtocolAppleTalk) - case .afp: - return String(kSecAttrProtocolAFP) - case .telnet: - return String(kSecAttrProtocolTelnet) - case .ssh: - return String(kSecAttrProtocolSSH) - case .ftps: - return String(kSecAttrProtocolFTPS) - case .https: - return String(kSecAttrProtocolHTTPS) - case .httpProxy: - return String(kSecAttrProtocolHTTPProxy) - case .httpsProxy: - return String(kSecAttrProtocolHTTPSProxy) - case .ftpProxy: - return String(kSecAttrProtocolFTPProxy) - case .smb: - return String(kSecAttrProtocolSMB) - case .rtsp: - return String(kSecAttrProtocolRTSP) - case .rtspProxy: - return String(kSecAttrProtocolRTSPProxy) - case .daap: - return String(kSecAttrProtocolDAAP) - case .eppc: - return String(kSecAttrProtocolEPPC) - case .ipp: - return String(kSecAttrProtocolIPP) - case .nntps: - return String(kSecAttrProtocolNNTPS) - case .ldaps: - return String(kSecAttrProtocolLDAPS) - case .telnetS: - return String(kSecAttrProtocolTelnetS) - case .imaps: - return String(kSecAttrProtocolIMAPS) - case .ircs: - return String(kSecAttrProtocolIRCS) - case .pop3S: - return String(kSecAttrProtocolPOP3S) - } - } - - public var description: String { - switch self { - case .ftp: - return "FTP" - case .ftpAccount: - return "FTPAccount" - case .http: - return "HTTP" - case .irc: - return "IRC" - case .nntp: - return "NNTP" - case .pop3: - return "POP3" - case .smtp: - return "SMTP" - case .socks: - return "SOCKS" - case .imap: - return "IMAP" - case .ldap: - return "LDAP" - case .appleTalk: - return "AppleTalk" - case .afp: - return "AFP" - case .telnet: - return "Telnet" - case .ssh: - return "SSH" - case .ftps: - return "FTPS" - case .https: - return "HTTPS" - case .httpProxy: - return "HTTPProxy" - case .httpsProxy: - return "HTTPSProxy" - case .ftpProxy: - return "FTPProxy" - case .smb: - return "SMB" - case .rtsp: - return "RTSP" - case .rtspProxy: - return "RTSPProxy" - case .daap: - return "DAAP" - case .eppc: - return "EPPC" - case .ipp: - return "IPP" - case .nntps: - return "NNTPS" - case .ldaps: - return "LDAPS" - case .telnetS: - return "TelnetS" - case .imaps: - return "IMAPS" - case .ircs: - return "IRCS" - case .pop3S: - return "POP3S" - } - } -} - -extension AuthenticationType: RawRepresentable, CustomStringConvertible { - - public init?(rawValue: String) { - switch rawValue { - case String(kSecAttrAuthenticationTypeNTLM): - self = .ntlm - case String(kSecAttrAuthenticationTypeMSN): - self = .msn - case String(kSecAttrAuthenticationTypeDPA): - self = .dpa - case String(kSecAttrAuthenticationTypeRPA): - self = .rpa - case String(kSecAttrAuthenticationTypeHTTPBasic): - self = .httpBasic - case String(kSecAttrAuthenticationTypeHTTPDigest): - self = .httpDigest - case String(kSecAttrAuthenticationTypeHTMLForm): - self = .htmlForm - case String(kSecAttrAuthenticationTypeDefault): - self = .`default` - default: - return nil - } - } - - public var rawValue: String { - switch self { - case .ntlm: - return String(kSecAttrAuthenticationTypeNTLM) - case .msn: - return String(kSecAttrAuthenticationTypeMSN) - case .dpa: - return String(kSecAttrAuthenticationTypeDPA) - case .rpa: - return String(kSecAttrAuthenticationTypeRPA) - case .httpBasic: - return String(kSecAttrAuthenticationTypeHTTPBasic) - case .httpDigest: - return String(kSecAttrAuthenticationTypeHTTPDigest) - case .htmlForm: - return String(kSecAttrAuthenticationTypeHTMLForm) - case .`default`: - return String(kSecAttrAuthenticationTypeDefault) - } - } - - public var description: String { - switch self { - case .ntlm: - return "NTLM" - case .msn: - return "MSN" - case .dpa: - return "DPA" - case .rpa: - return "RPA" - case .httpBasic: - return "HTTPBasic" - case .httpDigest: - return "HTTPDigest" - case .htmlForm: - return "HTMLForm" - case .`default`: - return "Default" - } - } -} - -extension Accessibility: RawRepresentable, CustomStringConvertible { - - public init?(rawValue: String) { - if #available(OSX 10.10, *) { - switch rawValue { - case String(kSecAttrAccessibleWhenUnlocked): - self = .whenUnlocked - case String(kSecAttrAccessibleAfterFirstUnlock): - self = .afterFirstUnlock - case String(kSecAttrAccessibleAlways): - self = .always - case String(kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly): - self = .whenPasscodeSetThisDeviceOnly - case String(kSecAttrAccessibleWhenUnlockedThisDeviceOnly): - self = .whenUnlockedThisDeviceOnly - case String(kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly): - self = .afterFirstUnlockThisDeviceOnly - case String(kSecAttrAccessibleAlwaysThisDeviceOnly): - self = .alwaysThisDeviceOnly - default: - return nil - } - } else { - switch rawValue { - case String(kSecAttrAccessibleWhenUnlocked): - self = .whenUnlocked - case String(kSecAttrAccessibleAfterFirstUnlock): - self = .afterFirstUnlock - case String(kSecAttrAccessibleAlways): - self = .always - case String(kSecAttrAccessibleWhenUnlockedThisDeviceOnly): - self = .whenUnlockedThisDeviceOnly - case String(kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly): - self = .afterFirstUnlockThisDeviceOnly - case String(kSecAttrAccessibleAlwaysThisDeviceOnly): - self = .alwaysThisDeviceOnly - default: - return nil - } - } - } - - public var rawValue: String { - switch self { - case .whenUnlocked: - return String(kSecAttrAccessibleWhenUnlocked) - case .afterFirstUnlock: - return String(kSecAttrAccessibleAfterFirstUnlock) - case .always: - return String(kSecAttrAccessibleAlways) - case .whenPasscodeSetThisDeviceOnly: - if #available(OSX 10.10, *) { - return String(kSecAttrAccessibleWhenPasscodeSetThisDeviceOnly) - } else { - fatalError("'Accessibility.WhenPasscodeSetThisDeviceOnly' is not available on this version of OS.") - } - case .whenUnlockedThisDeviceOnly: - return String(kSecAttrAccessibleWhenUnlockedThisDeviceOnly) - case .afterFirstUnlockThisDeviceOnly: - return String(kSecAttrAccessibleAfterFirstUnlockThisDeviceOnly) - case .alwaysThisDeviceOnly: - return String(kSecAttrAccessibleAlwaysThisDeviceOnly) - } - } - - public var description: String { - switch self { - case .whenUnlocked: - return "WhenUnlocked" - case .afterFirstUnlock: - return "AfterFirstUnlock" - case .always: - return "Always" - case .whenPasscodeSetThisDeviceOnly: - return "WhenPasscodeSetThisDeviceOnly" - case .whenUnlockedThisDeviceOnly: - return "WhenUnlockedThisDeviceOnly" - case .afterFirstUnlockThisDeviceOnly: - return "AfterFirstUnlockThisDeviceOnly" - case .alwaysThisDeviceOnly: - return "AlwaysThisDeviceOnly" - } - } -} - -extension CFError { - var error: NSError { - let domain = CFErrorGetDomain(self) as String - let code = CFErrorGetCode(self) - let userInfo = CFErrorCopyUserInfo(self) as! [String: Any] - - return NSError(domain: domain, code: code, userInfo: userInfo) - } -} - -public enum Status: OSStatus, Error { - case success = 0 - case unimplemented = -4 - case diskFull = -34 - case io = -36 - case opWr = -49 - case param = -50 - case wrPerm = -61 - case allocate = -108 - case userCanceled = -128 - case badReq = -909 - case internalComponent = -2070 - case notAvailable = -25291 - case readOnly = -25292 - case authFailed = -25293 - case noSuchKeychain = -25294 - case invalidKeychain = -25295 - case duplicateKeychain = -25296 - case duplicateCallback = -25297 - case invalidCallback = -25298 - case duplicateItem = -25299 - case itemNotFound = -25300 - case bufferTooSmall = -25301 - case dataTooLarge = -25302 - case noSuchAttr = -25303 - case invalidItemRef = -25304 - case invalidSearchRef = -25305 - case noSuchClass = -25306 - case noDefaultKeychain = -25307 - case interactionNotAllowed = -25308 - case readOnlyAttr = -25309 - case wrongSecVersion = -25310 - case keySizeNotAllowed = -25311 - case noStorageModule = -25312 - case noCertificateModule = -25313 - case noPolicyModule = -25314 - case interactionRequired = -25315 - case dataNotAvailable = -25316 - case dataNotModifiable = -25317 - case createChainFailed = -25318 - case invalidPrefsDomain = -25319 - case inDarkWake = -25320 - case aclNotSimple = -25240 - case policyNotFound = -25241 - case invalidTrustSetting = -25242 - case noAccessForItem = -25243 - case invalidOwnerEdit = -25244 - case trustNotAvailable = -25245 - case unsupportedFormat = -25256 - case unknownFormat = -25257 - case keyIsSensitive = -25258 - case multiplePrivKeys = -25259 - case passphraseRequired = -25260 - case invalidPasswordRef = -25261 - case invalidTrustSettings = -25262 - case noTrustSettings = -25263 - case pkcs12VerifyFailure = -25264 - case invalidCertificate = -26265 - case notSigner = -26267 - case policyDenied = -26270 - case invalidKey = -26274 - case decode = -26275 - case `internal` = -26276 - case unsupportedAlgorithm = -26268 - case unsupportedOperation = -26271 - case unsupportedPadding = -26273 - case itemInvalidKey = -34000 - case itemInvalidKeyType = -34001 - case itemInvalidValue = -34002 - case itemClassMissing = -34003 - case itemMatchUnsupported = -34004 - case useItemListUnsupported = -34005 - case useKeychainUnsupported = -34006 - case useKeychainListUnsupported = -34007 - case returnDataUnsupported = -34008 - case returnAttributesUnsupported = -34009 - case returnRefUnsupported = -34010 - case returnPersitentRefUnsupported = -34011 - case valueRefUnsupported = -34012 - case valuePersistentRefUnsupported = -34013 - case returnMissingPointer = -34014 - case matchLimitUnsupported = -34015 - case itemIllegalQuery = -34016 - case waitForCallback = -34017 - case missingEntitlement = -34018 - case upgradePending = -34019 - case mpSignatureInvalid = -25327 - case otrTooOld = -25328 - case otrIDTooNew = -25329 - case serviceNotAvailable = -67585 - case insufficientClientID = -67586 - case deviceReset = -67587 - case deviceFailed = -67588 - case appleAddAppACLSubject = -67589 - case applePublicKeyIncomplete = -67590 - case appleSignatureMismatch = -67591 - case appleInvalidKeyStartDate = -67592 - case appleInvalidKeyEndDate = -67593 - case conversionError = -67594 - case appleSSLv2Rollback = -67595 - case quotaExceeded = -67596 - case fileTooBig = -67597 - case invalidDatabaseBlob = -67598 - case invalidKeyBlob = -67599 - case incompatibleDatabaseBlob = -67600 - case incompatibleKeyBlob = -67601 - case hostNameMismatch = -67602 - case unknownCriticalExtensionFlag = -67603 - case noBasicConstraints = -67604 - case noBasicConstraintsCA = -67605 - case invalidAuthorityKeyID = -67606 - case invalidSubjectKeyID = -67607 - case invalidKeyUsageForPolicy = -67608 - case invalidExtendedKeyUsage = -67609 - case invalidIDLinkage = -67610 - case pathLengthConstraintExceeded = -67611 - case invalidRoot = -67612 - case crlExpired = -67613 - case crlNotValidYet = -67614 - case crlNotFound = -67615 - case crlServerDown = -67616 - case crlBadURI = -67617 - case unknownCertExtension = -67618 - case unknownCRLExtension = -67619 - case crlNotTrusted = -67620 - case crlPolicyFailed = -67621 - case idpFailure = -67622 - case smimeEmailAddressesNotFound = -67623 - case smimeBadExtendedKeyUsage = -67624 - case smimeBadKeyUsage = -67625 - case smimeKeyUsageNotCritical = -67626 - case smimeNoEmailAddress = -67627 - case smimeSubjAltNameNotCritical = -67628 - case sslBadExtendedKeyUsage = -67629 - case ocspBadResponse = -67630 - case ocspBadRequest = -67631 - case ocspUnavailable = -67632 - case ocspStatusUnrecognized = -67633 - case endOfData = -67634 - case incompleteCertRevocationCheck = -67635 - case networkFailure = -67636 - case ocspNotTrustedToAnchor = -67637 - case recordModified = -67638 - case ocspSignatureError = -67639 - case ocspNoSigner = -67640 - case ocspResponderMalformedReq = -67641 - case ocspResponderInternalError = -67642 - case ocspResponderTryLater = -67643 - case ocspResponderSignatureRequired = -67644 - case ocspResponderUnauthorized = -67645 - case ocspResponseNonceMismatch = -67646 - case codeSigningBadCertChainLength = -67647 - case codeSigningNoBasicConstraints = -67648 - case codeSigningBadPathLengthConstraint = -67649 - case codeSigningNoExtendedKeyUsage = -67650 - case codeSigningDevelopment = -67651 - case resourceSignBadCertChainLength = -67652 - case resourceSignBadExtKeyUsage = -67653 - case trustSettingDeny = -67654 - case invalidSubjectName = -67655 - case unknownQualifiedCertStatement = -67656 - case mobileMeRequestQueued = -67657 - case mobileMeRequestRedirected = -67658 - case mobileMeServerError = -67659 - case mobileMeServerNotAvailable = -67660 - case mobileMeServerAlreadyExists = -67661 - case mobileMeServerServiceErr = -67662 - case mobileMeRequestAlreadyPending = -67663 - case mobileMeNoRequestPending = -67664 - case mobileMeCSRVerifyFailure = -67665 - case mobileMeFailedConsistencyCheck = -67666 - case notInitialized = -67667 - case invalidHandleUsage = -67668 - case pvcReferentNotFound = -67669 - case functionIntegrityFail = -67670 - case internalError = -67671 - case memoryError = -67672 - case invalidData = -67673 - case mdsError = -67674 - case invalidPointer = -67675 - case selfCheckFailed = -67676 - case functionFailed = -67677 - case moduleManifestVerifyFailed = -67678 - case invalidGUID = -67679 - case invalidHandle = -67680 - case invalidDBList = -67681 - case invalidPassthroughID = -67682 - case invalidNetworkAddress = -67683 - case crlAlreadySigned = -67684 - case invalidNumberOfFields = -67685 - case verificationFailure = -67686 - case unknownTag = -67687 - case invalidSignature = -67688 - case invalidName = -67689 - case invalidCertificateRef = -67690 - case invalidCertificateGroup = -67691 - case tagNotFound = -67692 - case invalidQuery = -67693 - case invalidValue = -67694 - case callbackFailed = -67695 - case aclDeleteFailed = -67696 - case aclReplaceFailed = -67697 - case aclAddFailed = -67698 - case aclChangeFailed = -67699 - case invalidAccessCredentials = -67700 - case invalidRecord = -67701 - case invalidACL = -67702 - case invalidSampleValue = -67703 - case incompatibleVersion = -67704 - case privilegeNotGranted = -67705 - case invalidScope = -67706 - case pvcAlreadyConfigured = -67707 - case invalidPVC = -67708 - case emmLoadFailed = -67709 - case emmUnloadFailed = -67710 - case addinLoadFailed = -67711 - case invalidKeyRef = -67712 - case invalidKeyHierarchy = -67713 - case addinUnloadFailed = -67714 - case libraryReferenceNotFound = -67715 - case invalidAddinFunctionTable = -67716 - case invalidServiceMask = -67717 - case moduleNotLoaded = -67718 - case invalidSubServiceID = -67719 - case attributeNotInContext = -67720 - case moduleManagerInitializeFailed = -67721 - case moduleManagerNotFound = -67722 - case eventNotificationCallbackNotFound = -67723 - case inputLengthError = -67724 - case outputLengthError = -67725 - case privilegeNotSupported = -67726 - case deviceError = -67727 - case attachHandleBusy = -67728 - case notLoggedIn = -67729 - case algorithmMismatch = -67730 - case keyUsageIncorrect = -67731 - case keyBlobTypeIncorrect = -67732 - case keyHeaderInconsistent = -67733 - case unsupportedKeyFormat = -67734 - case unsupportedKeySize = -67735 - case invalidKeyUsageMask = -67736 - case unsupportedKeyUsageMask = -67737 - case invalidKeyAttributeMask = -67738 - case unsupportedKeyAttributeMask = -67739 - case invalidKeyLabel = -67740 - case unsupportedKeyLabel = -67741 - case invalidKeyFormat = -67742 - case unsupportedVectorOfBuffers = -67743 - case invalidInputVector = -67744 - case invalidOutputVector = -67745 - case invalidContext = -67746 - case invalidAlgorithm = -67747 - case invalidAttributeKey = -67748 - case missingAttributeKey = -67749 - case invalidAttributeInitVector = -67750 - case missingAttributeInitVector = -67751 - case invalidAttributeSalt = -67752 - case missingAttributeSalt = -67753 - case invalidAttributePadding = -67754 - case missingAttributePadding = -67755 - case invalidAttributeRandom = -67756 - case missingAttributeRandom = -67757 - case invalidAttributeSeed = -67758 - case missingAttributeSeed = -67759 - case invalidAttributePassphrase = -67760 - case missingAttributePassphrase = -67761 - case invalidAttributeKeyLength = -67762 - case missingAttributeKeyLength = -67763 - case invalidAttributeBlockSize = -67764 - case missingAttributeBlockSize = -67765 - case invalidAttributeOutputSize = -67766 - case missingAttributeOutputSize = -67767 - case invalidAttributeRounds = -67768 - case missingAttributeRounds = -67769 - case invalidAlgorithmParms = -67770 - case missingAlgorithmParms = -67771 - case invalidAttributeLabel = -67772 - case missingAttributeLabel = -67773 - case invalidAttributeKeyType = -67774 - case missingAttributeKeyType = -67775 - case invalidAttributeMode = -67776 - case missingAttributeMode = -67777 - case invalidAttributeEffectiveBits = -67778 - case missingAttributeEffectiveBits = -67779 - case invalidAttributeStartDate = -67780 - case missingAttributeStartDate = -67781 - case invalidAttributeEndDate = -67782 - case missingAttributeEndDate = -67783 - case invalidAttributeVersion = -67784 - case missingAttributeVersion = -67785 - case invalidAttributePrime = -67786 - case missingAttributePrime = -67787 - case invalidAttributeBase = -67788 - case missingAttributeBase = -67789 - case invalidAttributeSubprime = -67790 - case missingAttributeSubprime = -67791 - case invalidAttributeIterationCount = -67792 - case missingAttributeIterationCount = -67793 - case invalidAttributeDLDBHandle = -67794 - case missingAttributeDLDBHandle = -67795 - case invalidAttributeAccessCredentials = -67796 - case missingAttributeAccessCredentials = -67797 - case invalidAttributePublicKeyFormat = -67798 - case missingAttributePublicKeyFormat = -67799 - case invalidAttributePrivateKeyFormat = -67800 - case missingAttributePrivateKeyFormat = -67801 - case invalidAttributeSymmetricKeyFormat = -67802 - case missingAttributeSymmetricKeyFormat = -67803 - case invalidAttributeWrappedKeyFormat = -67804 - case missingAttributeWrappedKeyFormat = -67805 - case stagedOperationInProgress = -67806 - case stagedOperationNotStarted = -67807 - case verifyFailed = -67808 - case querySizeUnknown = -67809 - case blockSizeMismatch = -67810 - case publicKeyInconsistent = -67811 - case deviceVerifyFailed = -67812 - case invalidLoginName = -67813 - case alreadyLoggedIn = -67814 - case invalidDigestAlgorithm = -67815 - case invalidCRLGroup = -67816 - case certificateCannotOperate = -67817 - case certificateExpired = -67818 - case certificateNotValidYet = -67819 - case certificateRevoked = -67820 - case certificateSuspended = -67821 - case insufficientCredentials = -67822 - case invalidAction = -67823 - case invalidAuthority = -67824 - case verifyActionFailed = -67825 - case invalidCertAuthority = -67826 - case invaldCRLAuthority = -67827 - case invalidCRLEncoding = -67828 - case invalidCRLType = -67829 - case invalidCRL = -67830 - case invalidFormType = -67831 - case invalidID = -67832 - case invalidIdentifier = -67833 - case invalidIndex = -67834 - case invalidPolicyIdentifiers = -67835 - case invalidTimeString = -67836 - case invalidReason = -67837 - case invalidRequestInputs = -67838 - case invalidResponseVector = -67839 - case invalidStopOnPolicy = -67840 - case invalidTuple = -67841 - case multipleValuesUnsupported = -67842 - case notTrusted = -67843 - case noDefaultAuthority = -67844 - case rejectedForm = -67845 - case requestLost = -67846 - case requestRejected = -67847 - case unsupportedAddressType = -67848 - case unsupportedService = -67849 - case invalidTupleGroup = -67850 - case invalidBaseACLs = -67851 - case invalidTupleCredendtials = -67852 - case invalidEncoding = -67853 - case invalidValidityPeriod = -67854 - case invalidRequestor = -67855 - case requestDescriptor = -67856 - case invalidBundleInfo = -67857 - case invalidCRLIndex = -67858 - case noFieldValues = -67859 - case unsupportedFieldFormat = -67860 - case unsupportedIndexInfo = -67861 - case unsupportedLocality = -67862 - case unsupportedNumAttributes = -67863 - case unsupportedNumIndexes = -67864 - case unsupportedNumRecordTypes = -67865 - case fieldSpecifiedMultiple = -67866 - case incompatibleFieldFormat = -67867 - case invalidParsingModule = -67868 - case databaseLocked = -67869 - case datastoreIsOpen = -67870 - case missingValue = -67871 - case unsupportedQueryLimits = -67872 - case unsupportedNumSelectionPreds = -67873 - case unsupportedOperator = -67874 - case invalidDBLocation = -67875 - case invalidAccessRequest = -67876 - case invalidIndexInfo = -67877 - case invalidNewOwner = -67878 - case invalidModifyMode = -67879 - case missingRequiredExtension = -67880 - case extendedKeyUsageNotCritical = -67881 - case timestampMissing = -67882 - case timestampInvalid = -67883 - case timestampNotTrusted = -67884 - case timestampServiceNotAvailable = -67885 - case timestampBadAlg = -67886 - case timestampBadRequest = -67887 - case timestampBadDataFormat = -67888 - case timestampTimeNotAvailable = -67889 - case timestampUnacceptedPolicy = -67890 - case timestampUnacceptedExtension = -67891 - case timestampAddInfoNotAvailable = -67892 - case timestampSystemFailure = -67893 - case signingTimeMissing = -67894 - case timestampRejection = -67895 - case timestampWaiting = -67896 - case timestampRevocationWarning = -67897 - case timestampRevocationNotification = -67898 - case unexpectedError = -99999 -} - -extension Status: RawRepresentable, CustomStringConvertible { - - public init(status: OSStatus) { - if let mappedStatus = Status(rawValue: status) { - self = mappedStatus - } else { - self = .unexpectedError - } - } - - public var description: String { - switch self { - case .success: - return "No error." - case .unimplemented: - return "Function or operation not implemented." - case .diskFull: - return "The disk is full." - case .io: - return "I/O error (bummers)" - case .opWr: - return "file already open with with write permission" - case .param: - return "One or more parameters passed to a function were not valid." - case .wrPerm: - return "write permissions error" - case .allocate: - return "Failed to allocate memory." - case .userCanceled: - return "User canceled the operation." - case .badReq: - return "Bad parameter or invalid state for operation." - case .internalComponent: - return "" - case .notAvailable: - return "No keychain is available. You may need to restart your computer." - case .readOnly: - return "This keychain cannot be modified." - case .authFailed: - return "The user name or passphrase you entered is not correct." - case .noSuchKeychain: - return "The specified keychain could not be found." - case .invalidKeychain: - return "The specified keychain is not a valid keychain file." - case .duplicateKeychain: - return "A keychain with the same name already exists." - case .duplicateCallback: - return "The specified callback function is already installed." - case .invalidCallback: - return "The specified callback function is not valid." - case .duplicateItem: - return "The specified item already exists in the keychain." - case .itemNotFound: - return "The specified item could not be found in the keychain." - case .bufferTooSmall: - return "There is not enough memory available to use the specified item." - case .dataTooLarge: - return "This item contains information which is too large or in a format that cannot be displayed." - case .noSuchAttr: - return "The specified attribute does not exist." - case .invalidItemRef: - return "The specified item is no longer valid. It may have been deleted from the keychain." - case .invalidSearchRef: - return "Unable to search the current keychain." - case .noSuchClass: - return "The specified item does not appear to be a valid keychain item." - case .noDefaultKeychain: - return "A default keychain could not be found." - case .interactionNotAllowed: - return "User interaction is not allowed." - case .readOnlyAttr: - return "The specified attribute could not be modified." - case .wrongSecVersion: - return "This keychain was created by a different version of the system software and cannot be opened." - case .keySizeNotAllowed: - return "This item specifies a key size which is too large." - case .noStorageModule: - return "A required component (data storage module) could not be loaded. You may need to restart your computer." - case .noCertificateModule: - return "A required component (certificate module) could not be loaded. You may need to restart your computer." - case .noPolicyModule: - return "A required component (policy module) could not be loaded. You may need to restart your computer." - case .interactionRequired: - return "User interaction is required, but is currently not allowed." - case .dataNotAvailable: - return "The contents of this item cannot be retrieved." - case .dataNotModifiable: - return "The contents of this item cannot be modified." - case .createChainFailed: - return "One or more certificates required to validate this certificate cannot be found." - case .invalidPrefsDomain: - return "The specified preferences domain is not valid." - case .inDarkWake: - return "In dark wake, no UI possible" - case .aclNotSimple: - return "The specified access control list is not in standard (simple) form." - case .policyNotFound: - return "The specified policy cannot be found." - case .invalidTrustSetting: - return "The specified trust setting is invalid." - case .noAccessForItem: - return "The specified item has no access control." - case .invalidOwnerEdit: - return "Invalid attempt to change the owner of this item." - case .trustNotAvailable: - return "No trust results are available." - case .unsupportedFormat: - return "Import/Export format unsupported." - case .unknownFormat: - return "Unknown format in import." - case .keyIsSensitive: - return "Key material must be wrapped for export." - case .multiplePrivKeys: - return "An attempt was made to import multiple private keys." - case .passphraseRequired: - return "Passphrase is required for import/export." - case .invalidPasswordRef: - return "The password reference was invalid." - case .invalidTrustSettings: - return "The Trust Settings Record was corrupted." - case .noTrustSettings: - return "No Trust Settings were found." - case .pkcs12VerifyFailure: - return "MAC verification failed during PKCS12 import (wrong password?)" - case .invalidCertificate: - return "This certificate could not be decoded." - case .notSigner: - return "A certificate was not signed by its proposed parent." - case .policyDenied: - return "The certificate chain was not trusted due to a policy not accepting it." - case .invalidKey: - return "The provided key material was not valid." - case .decode: - return "Unable to decode the provided data." - case .`internal`: - return "An internal error occurred in the Security framework." - case .unsupportedAlgorithm: - return "An unsupported algorithm was encountered." - case .unsupportedOperation: - return "The operation you requested is not supported by this key." - case .unsupportedPadding: - return "The padding you requested is not supported." - case .itemInvalidKey: - return "A string key in dictionary is not one of the supported keys." - case .itemInvalidKeyType: - return "A key in a dictionary is neither a CFStringRef nor a CFNumberRef." - case .itemInvalidValue: - return "A value in a dictionary is an invalid (or unsupported) CF type." - case .itemClassMissing: - return "No kSecItemClass key was specified in a dictionary." - case .itemMatchUnsupported: - return "The caller passed one or more kSecMatch keys to a function which does not support matches." - case .useItemListUnsupported: - return "The caller passed in a kSecUseItemList key to a function which does not support it." - case .useKeychainUnsupported: - return "The caller passed in a kSecUseKeychain key to a function which does not support it." - case .useKeychainListUnsupported: - return "The caller passed in a kSecUseKeychainList key to a function which does not support it." - case .returnDataUnsupported: - return "The caller passed in a kSecReturnData key to a function which does not support it." - case .returnAttributesUnsupported: - return "The caller passed in a kSecReturnAttributes key to a function which does not support it." - case .returnRefUnsupported: - return "The caller passed in a kSecReturnRef key to a function which does not support it." - case .returnPersitentRefUnsupported: - return "The caller passed in a kSecReturnPersistentRef key to a function which does not support it." - case .valueRefUnsupported: - return "The caller passed in a kSecValueRef key to a function which does not support it." - case .valuePersistentRefUnsupported: - return "The caller passed in a kSecValuePersistentRef key to a function which does not support it." - case .returnMissingPointer: - return "The caller passed asked for something to be returned but did not pass in a result pointer." - case .matchLimitUnsupported: - return "The caller passed in a kSecMatchLimit key to a call which does not support limits." - case .itemIllegalQuery: - return "The caller passed in a query which contained too many keys." - case .waitForCallback: - return "This operation is incomplete, until the callback is invoked (not an error)." - case .missingEntitlement: - return "Internal error when a required entitlement isn't present, client has neither application-identifier nor keychain-access-groups entitlements." - case .upgradePending: - return "Error returned if keychain database needs a schema migration but the device is locked, clients should wait for a device unlock notification and retry the command." - case .mpSignatureInvalid: - return "Signature invalid on MP message" - case .otrTooOld: - return "Message is too old to use" - case .otrIDTooNew: - return "Key ID is too new to use! Message from the future?" - case .serviceNotAvailable: - return "The required service is not available." - case .insufficientClientID: - return "The client ID is not correct." - case .deviceReset: - return "A device reset has occurred." - case .deviceFailed: - return "A device failure has occurred." - case .appleAddAppACLSubject: - return "Adding an application ACL subject failed." - case .applePublicKeyIncomplete: - return "The public key is incomplete." - case .appleSignatureMismatch: - return "A signature mismatch has occurred." - case .appleInvalidKeyStartDate: - return "The specified key has an invalid start date." - case .appleInvalidKeyEndDate: - return "The specified key has an invalid end date." - case .conversionError: - return "A conversion error has occurred." - case .appleSSLv2Rollback: - return "A SSLv2 rollback error has occurred." - case .quotaExceeded: - return "The quota was exceeded." - case .fileTooBig: - return "The file is too big." - case .invalidDatabaseBlob: - return "The specified database has an invalid blob." - case .invalidKeyBlob: - return "The specified database has an invalid key blob." - case .incompatibleDatabaseBlob: - return "The specified database has an incompatible blob." - case .incompatibleKeyBlob: - return "The specified database has an incompatible key blob." - case .hostNameMismatch: - return "A host name mismatch has occurred." - case .unknownCriticalExtensionFlag: - return "There is an unknown critical extension flag." - case .noBasicConstraints: - return "No basic constraints were found." - case .noBasicConstraintsCA: - return "No basic CA constraints were found." - case .invalidAuthorityKeyID: - return "The authority key ID is not valid." - case .invalidSubjectKeyID: - return "The subject key ID is not valid." - case .invalidKeyUsageForPolicy: - return "The key usage is not valid for the specified policy." - case .invalidExtendedKeyUsage: - return "The extended key usage is not valid." - case .invalidIDLinkage: - return "The ID linkage is not valid." - case .pathLengthConstraintExceeded: - return "The path length constraint was exceeded." - case .invalidRoot: - return "The root or anchor certificate is not valid." - case .crlExpired: - return "The CRL has expired." - case .crlNotValidYet: - return "The CRL is not yet valid." - case .crlNotFound: - return "The CRL was not found." - case .crlServerDown: - return "The CRL server is down." - case .crlBadURI: - return "The CRL has a bad Uniform Resource Identifier." - case .unknownCertExtension: - return "An unknown certificate extension was encountered." - case .unknownCRLExtension: - return "An unknown CRL extension was encountered." - case .crlNotTrusted: - return "The CRL is not trusted." - case .crlPolicyFailed: - return "The CRL policy failed." - case .idpFailure: - return "The issuing distribution point was not valid." - case .smimeEmailAddressesNotFound: - return "An email address mismatch was encountered." - case .smimeBadExtendedKeyUsage: - return "The appropriate extended key usage for SMIME was not found." - case .smimeBadKeyUsage: - return "The key usage is not compatible with SMIME." - case .smimeKeyUsageNotCritical: - return "The key usage extension is not marked as critical." - case .smimeNoEmailAddress: - return "No email address was found in the certificate." - case .smimeSubjAltNameNotCritical: - return "The subject alternative name extension is not marked as critical." - case .sslBadExtendedKeyUsage: - return "The appropriate extended key usage for SSL was not found." - case .ocspBadResponse: - return "The OCSP response was incorrect or could not be parsed." - case .ocspBadRequest: - return "The OCSP request was incorrect or could not be parsed." - case .ocspUnavailable: - return "OCSP service is unavailable." - case .ocspStatusUnrecognized: - return "The OCSP server did not recognize this certificate." - case .endOfData: - return "An end-of-data was detected." - case .incompleteCertRevocationCheck: - return "An incomplete certificate revocation check occurred." - case .networkFailure: - return "A network failure occurred." - case .ocspNotTrustedToAnchor: - return "The OCSP response was not trusted to a root or anchor certificate." - case .recordModified: - return "The record was modified." - case .ocspSignatureError: - return "The OCSP response had an invalid signature." - case .ocspNoSigner: - return "The OCSP response had no signer." - case .ocspResponderMalformedReq: - return "The OCSP responder was given a malformed request." - case .ocspResponderInternalError: - return "The OCSP responder encountered an internal error." - case .ocspResponderTryLater: - return "The OCSP responder is busy, try again later." - case .ocspResponderSignatureRequired: - return "The OCSP responder requires a signature." - case .ocspResponderUnauthorized: - return "The OCSP responder rejected this request as unauthorized." - case .ocspResponseNonceMismatch: - return "The OCSP response nonce did not match the request." - case .codeSigningBadCertChainLength: - return "Code signing encountered an incorrect certificate chain length." - case .codeSigningNoBasicConstraints: - return "Code signing found no basic constraints." - case .codeSigningBadPathLengthConstraint: - return "Code signing encountered an incorrect path length constraint." - case .codeSigningNoExtendedKeyUsage: - return "Code signing found no extended key usage." - case .codeSigningDevelopment: - return "Code signing indicated use of a development-only certificate." - case .resourceSignBadCertChainLength: - return "Resource signing has encountered an incorrect certificate chain length." - case .resourceSignBadExtKeyUsage: - return "Resource signing has encountered an error in the extended key usage." - case .trustSettingDeny: - return "The trust setting for this policy was set to Deny." - case .invalidSubjectName: - return "An invalid certificate subject name was encountered." - case .unknownQualifiedCertStatement: - return "An unknown qualified certificate statement was encountered." - case .mobileMeRequestQueued: - return "The MobileMe request will be sent during the next connection." - case .mobileMeRequestRedirected: - return "The MobileMe request was redirected." - case .mobileMeServerError: - return "A MobileMe server error occurred." - case .mobileMeServerNotAvailable: - return "The MobileMe server is not available." - case .mobileMeServerAlreadyExists: - return "The MobileMe server reported that the item already exists." - case .mobileMeServerServiceErr: - return "A MobileMe service error has occurred." - case .mobileMeRequestAlreadyPending: - return "A MobileMe request is already pending." - case .mobileMeNoRequestPending: - return "MobileMe has no request pending." - case .mobileMeCSRVerifyFailure: - return "A MobileMe CSR verification failure has occurred." - case .mobileMeFailedConsistencyCheck: - return "MobileMe has found a failed consistency check." - case .notInitialized: - return "A function was called without initializing CSSM." - case .invalidHandleUsage: - return "The CSSM handle does not match with the service type." - case .pvcReferentNotFound: - return "A reference to the calling module was not found in the list of authorized callers." - case .functionIntegrityFail: - return "A function address was not within the verified module." - case .internalError: - return "An internal error has occurred." - case .memoryError: - return "A memory error has occurred." - case .invalidData: - return "Invalid data was encountered." - case .mdsError: - return "A Module Directory Service error has occurred." - case .invalidPointer: - return "An invalid pointer was encountered." - case .selfCheckFailed: - return "Self-check has failed." - case .functionFailed: - return "A function has failed." - case .moduleManifestVerifyFailed: - return "A module manifest verification failure has occurred." - case .invalidGUID: - return "An invalid GUID was encountered." - case .invalidHandle: - return "An invalid handle was encountered." - case .invalidDBList: - return "An invalid DB list was encountered." - case .invalidPassthroughID: - return "An invalid passthrough ID was encountered." - case .invalidNetworkAddress: - return "An invalid network address was encountered." - case .crlAlreadySigned: - return "The certificate revocation list is already signed." - case .invalidNumberOfFields: - return "An invalid number of fields were encountered." - case .verificationFailure: - return "A verification failure occurred." - case .unknownTag: - return "An unknown tag was encountered." - case .invalidSignature: - return "An invalid signature was encountered." - case .invalidName: - return "An invalid name was encountered." - case .invalidCertificateRef: - return "An invalid certificate reference was encountered." - case .invalidCertificateGroup: - return "An invalid certificate group was encountered." - case .tagNotFound: - return "The specified tag was not found." - case .invalidQuery: - return "The specified query was not valid." - case .invalidValue: - return "An invalid value was detected." - case .callbackFailed: - return "A callback has failed." - case .aclDeleteFailed: - return "An ACL delete operation has failed." - case .aclReplaceFailed: - return "An ACL replace operation has failed." - case .aclAddFailed: - return "An ACL add operation has failed." - case .aclChangeFailed: - return "An ACL change operation has failed." - case .invalidAccessCredentials: - return "Invalid access credentials were encountered." - case .invalidRecord: - return "An invalid record was encountered." - case .invalidACL: - return "An invalid ACL was encountered." - case .invalidSampleValue: - return "An invalid sample value was encountered." - case .incompatibleVersion: - return "An incompatible version was encountered." - case .privilegeNotGranted: - return "The privilege was not granted." - case .invalidScope: - return "An invalid scope was encountered." - case .pvcAlreadyConfigured: - return "The PVC is already configured." - case .invalidPVC: - return "An invalid PVC was encountered." - case .emmLoadFailed: - return "The EMM load has failed." - case .emmUnloadFailed: - return "The EMM unload has failed." - case .addinLoadFailed: - return "The add-in load operation has failed." - case .invalidKeyRef: - return "An invalid key was encountered." - case .invalidKeyHierarchy: - return "An invalid key hierarchy was encountered." - case .addinUnloadFailed: - return "The add-in unload operation has failed." - case .libraryReferenceNotFound: - return "A library reference was not found." - case .invalidAddinFunctionTable: - return "An invalid add-in function table was encountered." - case .invalidServiceMask: - return "An invalid service mask was encountered." - case .moduleNotLoaded: - return "A module was not loaded." - case .invalidSubServiceID: - return "An invalid subservice ID was encountered." - case .attributeNotInContext: - return "An attribute was not in the context." - case .moduleManagerInitializeFailed: - return "A module failed to initialize." - case .moduleManagerNotFound: - return "A module was not found." - case .eventNotificationCallbackNotFound: - return "An event notification callback was not found." - case .inputLengthError: - return "An input length error was encountered." - case .outputLengthError: - return "An output length error was encountered." - case .privilegeNotSupported: - return "The privilege is not supported." - case .deviceError: - return "A device error was encountered." - case .attachHandleBusy: - return "The CSP handle was busy." - case .notLoggedIn: - return "You are not logged in." - case .algorithmMismatch: - return "An algorithm mismatch was encountered." - case .keyUsageIncorrect: - return "The key usage is incorrect." - case .keyBlobTypeIncorrect: - return "The key blob type is incorrect." - case .keyHeaderInconsistent: - return "The key header is inconsistent." - case .unsupportedKeyFormat: - return "The key header format is not supported." - case .unsupportedKeySize: - return "The key size is not supported." - case .invalidKeyUsageMask: - return "The key usage mask is not valid." - case .unsupportedKeyUsageMask: - return "The key usage mask is not supported." - case .invalidKeyAttributeMask: - return "The key attribute mask is not valid." - case .unsupportedKeyAttributeMask: - return "The key attribute mask is not supported." - case .invalidKeyLabel: - return "The key label is not valid." - case .unsupportedKeyLabel: - return "The key label is not supported." - case .invalidKeyFormat: - return "The key format is not valid." - case .unsupportedVectorOfBuffers: - return "The vector of buffers is not supported." - case .invalidInputVector: - return "The input vector is not valid." - case .invalidOutputVector: - return "The output vector is not valid." - case .invalidContext: - return "An invalid context was encountered." - case .invalidAlgorithm: - return "An invalid algorithm was encountered." - case .invalidAttributeKey: - return "A key attribute was not valid." - case .missingAttributeKey: - return "A key attribute was missing." - case .invalidAttributeInitVector: - return "An init vector attribute was not valid." - case .missingAttributeInitVector: - return "An init vector attribute was missing." - case .invalidAttributeSalt: - return "A salt attribute was not valid." - case .missingAttributeSalt: - return "A salt attribute was missing." - case .invalidAttributePadding: - return "A padding attribute was not valid." - case .missingAttributePadding: - return "A padding attribute was missing." - case .invalidAttributeRandom: - return "A random number attribute was not valid." - case .missingAttributeRandom: - return "A random number attribute was missing." - case .invalidAttributeSeed: - return "A seed attribute was not valid." - case .missingAttributeSeed: - return "A seed attribute was missing." - case .invalidAttributePassphrase: - return "A passphrase attribute was not valid." - case .missingAttributePassphrase: - return "A passphrase attribute was missing." - case .invalidAttributeKeyLength: - return "A key length attribute was not valid." - case .missingAttributeKeyLength: - return "A key length attribute was missing." - case .invalidAttributeBlockSize: - return "A block size attribute was not valid." - case .missingAttributeBlockSize: - return "A block size attribute was missing." - case .invalidAttributeOutputSize: - return "An output size attribute was not valid." - case .missingAttributeOutputSize: - return "An output size attribute was missing." - case .invalidAttributeRounds: - return "The number of rounds attribute was not valid." - case .missingAttributeRounds: - return "The number of rounds attribute was missing." - case .invalidAlgorithmParms: - return "An algorithm parameters attribute was not valid." - case .missingAlgorithmParms: - return "An algorithm parameters attribute was missing." - case .invalidAttributeLabel: - return "A label attribute was not valid." - case .missingAttributeLabel: - return "A label attribute was missing." - case .invalidAttributeKeyType: - return "A key type attribute was not valid." - case .missingAttributeKeyType: - return "A key type attribute was missing." - case .invalidAttributeMode: - return "A mode attribute was not valid." - case .missingAttributeMode: - return "A mode attribute was missing." - case .invalidAttributeEffectiveBits: - return "An effective bits attribute was not valid." - case .missingAttributeEffectiveBits: - return "An effective bits attribute was missing." - case .invalidAttributeStartDate: - return "A start date attribute was not valid." - case .missingAttributeStartDate: - return "A start date attribute was missing." - case .invalidAttributeEndDate: - return "An end date attribute was not valid." - case .missingAttributeEndDate: - return "An end date attribute was missing." - case .invalidAttributeVersion: - return "A version attribute was not valid." - case .missingAttributeVersion: - return "A version attribute was missing." - case .invalidAttributePrime: - return "A prime attribute was not valid." - case .missingAttributePrime: - return "A prime attribute was missing." - case .invalidAttributeBase: - return "A base attribute was not valid." - case .missingAttributeBase: - return "A base attribute was missing." - case .invalidAttributeSubprime: - return "A subprime attribute was not valid." - case .missingAttributeSubprime: - return "A subprime attribute was missing." - case .invalidAttributeIterationCount: - return "An iteration count attribute was not valid." - case .missingAttributeIterationCount: - return "An iteration count attribute was missing." - case .invalidAttributeDLDBHandle: - return "A database handle attribute was not valid." - case .missingAttributeDLDBHandle: - return "A database handle attribute was missing." - case .invalidAttributeAccessCredentials: - return "An access credentials attribute was not valid." - case .missingAttributeAccessCredentials: - return "An access credentials attribute was missing." - case .invalidAttributePublicKeyFormat: - return "A public key format attribute was not valid." - case .missingAttributePublicKeyFormat: - return "A public key format attribute was missing." - case .invalidAttributePrivateKeyFormat: - return "A private key format attribute was not valid." - case .missingAttributePrivateKeyFormat: - return "A private key format attribute was missing." - case .invalidAttributeSymmetricKeyFormat: - return "A symmetric key format attribute was not valid." - case .missingAttributeSymmetricKeyFormat: - return "A symmetric key format attribute was missing." - case .invalidAttributeWrappedKeyFormat: - return "A wrapped key format attribute was not valid." - case .missingAttributeWrappedKeyFormat: - return "A wrapped key format attribute was missing." - case .stagedOperationInProgress: - return "A staged operation is in progress." - case .stagedOperationNotStarted: - return "A staged operation was not started." - case .verifyFailed: - return "A cryptographic verification failure has occurred." - case .querySizeUnknown: - return "The query size is unknown." - case .blockSizeMismatch: - return "A block size mismatch occurred." - case .publicKeyInconsistent: - return "The public key was inconsistent." - case .deviceVerifyFailed: - return "A device verification failure has occurred." - case .invalidLoginName: - return "An invalid login name was detected." - case .alreadyLoggedIn: - return "The user is already logged in." - case .invalidDigestAlgorithm: - return "An invalid digest algorithm was detected." - case .invalidCRLGroup: - return "An invalid CRL group was detected." - case .certificateCannotOperate: - return "The certificate cannot operate." - case .certificateExpired: - return "An expired certificate was detected." - case .certificateNotValidYet: - return "The certificate is not yet valid." - case .certificateRevoked: - return "The certificate was revoked." - case .certificateSuspended: - return "The certificate was suspended." - case .insufficientCredentials: - return "Insufficient credentials were detected." - case .invalidAction: - return "The action was not valid." - case .invalidAuthority: - return "The authority was not valid." - case .verifyActionFailed: - return "A verify action has failed." - case .invalidCertAuthority: - return "The certificate authority was not valid." - case .invaldCRLAuthority: - return "The CRL authority was not valid." - case .invalidCRLEncoding: - return "The CRL encoding was not valid." - case .invalidCRLType: - return "The CRL type was not valid." - case .invalidCRL: - return "The CRL was not valid." - case .invalidFormType: - return "The form type was not valid." - case .invalidID: - return "The ID was not valid." - case .invalidIdentifier: - return "The identifier was not valid." - case .invalidIndex: - return "The index was not valid." - case .invalidPolicyIdentifiers: - return "The policy identifiers are not valid." - case .invalidTimeString: - return "The time specified was not valid." - case .invalidReason: - return "The trust policy reason was not valid." - case .invalidRequestInputs: - return "The request inputs are not valid." - case .invalidResponseVector: - return "The response vector was not valid." - case .invalidStopOnPolicy: - return "The stop-on policy was not valid." - case .invalidTuple: - return "The tuple was not valid." - case .multipleValuesUnsupported: - return "Multiple values are not supported." - case .notTrusted: - return "The trust policy was not trusted." - case .noDefaultAuthority: - return "No default authority was detected." - case .rejectedForm: - return "The trust policy had a rejected form." - case .requestLost: - return "The request was lost." - case .requestRejected: - return "The request was rejected." - case .unsupportedAddressType: - return "The address type is not supported." - case .unsupportedService: - return "The service is not supported." - case .invalidTupleGroup: - return "The tuple group was not valid." - case .invalidBaseACLs: - return "The base ACLs are not valid." - case .invalidTupleCredendtials: - return "The tuple credentials are not valid." - case .invalidEncoding: - return "The encoding was not valid." - case .invalidValidityPeriod: - return "The validity period was not valid." - case .invalidRequestor: - return "The requestor was not valid." - case .requestDescriptor: - return "The request descriptor was not valid." - case .invalidBundleInfo: - return "The bundle information was not valid." - case .invalidCRLIndex: - return "The CRL index was not valid." - case .noFieldValues: - return "No field values were detected." - case .unsupportedFieldFormat: - return "The field format is not supported." - case .unsupportedIndexInfo: - return "The index information is not supported." - case .unsupportedLocality: - return "The locality is not supported." - case .unsupportedNumAttributes: - return "The number of attributes is not supported." - case .unsupportedNumIndexes: - return "The number of indexes is not supported." - case .unsupportedNumRecordTypes: - return "The number of record types is not supported." - case .fieldSpecifiedMultiple: - return "Too many fields were specified." - case .incompatibleFieldFormat: - return "The field format was incompatible." - case .invalidParsingModule: - return "The parsing module was not valid." - case .databaseLocked: - return "The database is locked." - case .datastoreIsOpen: - return "The data store is open." - case .missingValue: - return "A missing value was detected." - case .unsupportedQueryLimits: - return "The query limits are not supported." - case .unsupportedNumSelectionPreds: - return "The number of selection predicates is not supported." - case .unsupportedOperator: - return "The operator is not supported." - case .invalidDBLocation: - return "The database location is not valid." - case .invalidAccessRequest: - return "The access request is not valid." - case .invalidIndexInfo: - return "The index information is not valid." - case .invalidNewOwner: - return "The new owner is not valid." - case .invalidModifyMode: - return "The modify mode is not valid." - case .missingRequiredExtension: - return "A required certificate extension is missing." - case .extendedKeyUsageNotCritical: - return "The extended key usage extension was not marked critical." - case .timestampMissing: - return "A timestamp was expected but was not found." - case .timestampInvalid: - return "The timestamp was not valid." - case .timestampNotTrusted: - return "The timestamp was not trusted." - case .timestampServiceNotAvailable: - return "The timestamp service is not available." - case .timestampBadAlg: - return "An unrecognized or unsupported Algorithm Identifier in timestamp." - case .timestampBadRequest: - return "The timestamp transaction is not permitted or supported." - case .timestampBadDataFormat: - return "The timestamp data submitted has the wrong format." - case .timestampTimeNotAvailable: - return "The time source for the Timestamp Authority is not available." - case .timestampUnacceptedPolicy: - return "The requested policy is not supported by the Timestamp Authority." - case .timestampUnacceptedExtension: - return "The requested extension is not supported by the Timestamp Authority." - case .timestampAddInfoNotAvailable: - return "The additional information requested is not available." - case .timestampSystemFailure: - return "The timestamp request cannot be handled due to system failure." - case .signingTimeMissing: - return "A signing time was expected but was not found." - case .timestampRejection: - return "A timestamp transaction was rejected." - case .timestampWaiting: - return "A timestamp transaction is waiting." - case .timestampRevocationWarning: - return "A timestamp authority revocation warning was issued." - case .timestampRevocationNotification: - return "A timestamp authority revocation notification was issued." - case .unexpectedError: - return "Unexpected error has occurred." - } - } -} - -extension Status: CustomNSError { - public static let errorDomain = KeychainAccessErrorDomain - - public var errorCode: Int { - return Int(rawValue) - } - - public var errorUserInfo: [String : Any] { - return [NSLocalizedDescriptionKey: description] - } -} diff --git a/Pods/KeychainAccess/README.md b/Pods/KeychainAccess/README.md deleted file mode 100644 index 838ef2c..0000000 --- a/Pods/KeychainAccess/README.md +++ /dev/null @@ -1,602 +0,0 @@ -# KeychainAccess -[![CI Status](http://img.shields.io/travis/kishikawakatsumi/KeychainAccess.svg)](https://travis-ci.org/kishikawakatsumi/KeychainAccess) -[![codecov](https://codecov.io/gh/kishikawakatsumi/KeychainAccess/branch/master/graph/badge.svg)](https://codecov.io/gh/kishikawakatsumi/KeychainAccess) -[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) -[![Version](https://img.shields.io/cocoapods/v/KeychainAccess.svg)](http://cocoadocs.org/docsets/KeychainAccess) -[![Platform](https://img.shields.io/cocoapods/p/KeychainAccess.svg)](http://cocoadocs.org/docsets/KeychainAccess) -[![Swift 3.x](https://img.shields.io/badge/Swift-3.x-orange.svg?style=flat)](https://swift.org/) -[![Swift 4.0](https://img.shields.io/badge/Swift-4.0-orange.svg?style=flat)](https://swift.org/) -[![Swift 4.1](https://img.shields.io/badge/Swift-4.1-orange.svg?style=flat)](https://swift.org/) -[![Swift 4.2](https://img.shields.io/badge/Swift-4.2-orange.svg?style=flat)](https://swift.org/) - -KeychainAccess is a simple Swift wrapper for Keychain that works on iOS and OS X. Makes using Keychain APIs extremely easy and much more palatable to use in Swift. - - - - - -## :bulb: Features - -- Simple interface -- Support access group -- [Support accessibility](#accessibility) -- [Support iCloud sharing](#icloud_sharing) -- **[Support TouchID and Keychain integration (iOS 8+)](#touch_id_integration)** -- **[Support Shared Web Credentials (iOS 8+)](#shared_web_credentials)** -- [Works on both iOS & OS X](#requirements) -- [watchOS and tvOS are supported](#requirements) -- **[Swift 4 & Swift 3 compatible](#requirements)** - -## :book: Usage - -##### :eyes: See also: -- [:link: iOS Example Project](https://github.com/kishikawakatsumi/KeychainAccess/tree/master/Examples/Example-iOS) - -### :key: Basics - -#### Saving Application Password - -```swift -let keychain = Keychain(service: "com.example.github-token") -keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef" -``` - -#### Saving Internet Password - -```swift -let keychain = Keychain(server: "https://github.com", protocolType: .https) -keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef" -``` - -### :key: Instantiation - -#### Create Keychain for Application Password - -```swift -let keychain = Keychain(service: "com.example.github-token") -``` - -```swift -let keychain = Keychain(service: "com.example.github-token", accessGroup: "12ABCD3E4F.shared") -``` - -#### Create Keychain for Internet Password - -```swift -let keychain = Keychain(server: "https://github.com", protocolType: .https) -``` - -```swift -let keychain = Keychain(server: "https://github.com", protocolType: .https, authenticationType: .htmlForm) -``` - -### :key: Adding an item - -#### subscripting - -##### for String - -```swift -keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef" -``` - -```swift -keychain[string: "kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef" -``` - -##### for NSData - -```swift -keychain[data: "secret"] = NSData(contentsOfFile: "secret.bin") -``` - -#### set method - -```swift -keychain.set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") -``` - -#### error handling - -```swift -do { - try keychain.set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") -} -catch let error { - print(error) -} -``` - -### :key: Obtaining an item - -#### subscripting - -##### for String (If the value is NSData, attempt to convert to String) - -```swift -let token = keychain["kishikawakatsumi"] -``` - -```swift -let token = keychain[string: "kishikawakatsumi"] -``` - -##### for NSData - -```swift -let secretData = keychain[data: "secret"] -``` - -#### get methods - -##### as String - -```swift -let token = try? keychain.get("kishikawakatsumi") -``` - -```swift -let token = try? keychain.getString("kishikawakatsumi") -``` - -##### as NSData - -```swift -let data = try? keychain.getData("kishikawakatsumi") -``` - -### :key: Removing an item - -#### subscripting - -```swift -keychain["kishikawakatsumi"] = nil -``` - -#### remove method - -```swift -do { - try keychain.remove("kishikawakatsumi") -} catch let error { - print("error: \(error)") -} -``` - -### :key: Set Label and Comment - -```swift -let keychain = Keychain(server: "https://github.com", protocolType: .https) -do { - try keychain - .label("github.com (kishikawakatsumi)") - .comment("github access token") - .set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") -} catch let error { - print("error: \(error)") -} -``` - -### :key: Obtaining Other Attributes - -#### PersistentRef - -```swift -let keychain = Keychain() -let persistentRef = keychain[attributes: "kishikawakatsumi"].persistentRef -... -``` - -#### Creation Date - -```swift -let keychain = Keychain() -let creationDate = keychain[attributes: "kishikawakatsumi"].creationDate -... -``` - -#### All Attributes - -```swift -let keychain = Keychain() -do { - let attributes = try keychain.get("kishikawakatsumi") { $0 } - print(attributes.comment) - print(attributes.label) - print(attributes.creator) - ... -} catch let error { - print("error: \(error)") -} -``` - -##### subscripting - -```swift -let keychain = Keychain() -let attributes = keychain[attributes: "kishikawakatsumi"] -print(attributes.comment) -print(attributes.label) -print(attributes.creator) -``` - -### :key: Configuration (Accessibility, Sharing, iCloud Sync) - -**Provides fluent interfaces** - -```swift -let keychain = Keychain(service: "com.example.github-token") - .label("github.com (kishikawakatsumi)") - .synchronizable(true) - .accessibility(.afterFirstUnlock) -``` - -#### Accessibility - -##### Default accessibility matches background application (=kSecAttrAccessibleAfterFirstUnlock) - -```swift -let keychain = Keychain(service: "com.example.github-token") -``` - -##### For background application - -###### Creating instance - -```swift -let keychain = Keychain(service: "com.example.github-token") - .accessibility(.afterFirstUnlock) - -keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef" -``` - -###### One-shot - -```swift -let keychain = Keychain(service: "com.example.github-token") - -do { - try keychain - .accessibility(.afterFirstUnlock) - .set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") -} catch let error { - print("error: \(error)") -} -``` - -##### For foreground application - -###### Creating instance - -```swift -let keychain = Keychain(service: "com.example.github-token") - .accessibility(.whenUnlocked) - -keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef" -``` - -###### One-shot - -```swift -let keychain = Keychain(service: "com.example.github-token") - -do { - try keychain - .accessibility(.whenUnlocked) - .set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") -} catch let error { - print("error: \(error)") -} -``` - -#### :couple: Sharing Keychain items - -```swift -let keychain = Keychain(service: "com.example.github-token", accessGroup: "12ABCD3E4F.shared") -``` - -#### :arrows_counterclockwise: Synchronizing Keychain items with iCloud - -###### Creating instance - -```swift -let keychain = Keychain(service: "com.example.github-token") - .synchronizable(true) - -keychain["kishikawakatsumi"] = "01234567-89ab-cdef-0123-456789abcdef" -``` - -###### One-shot - -```swift -let keychain = Keychain(service: "com.example.github-token") - -do { - try keychain - .synchronizable(true) - .set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") -} catch let error { - print("error: \(error)") -} -``` - -### :fu: Touch ID integration - -**Any Operation that require authentication must be run in the background thread.** -**If you run in the main thread, UI thread will lock for the system to try to display the authentication dialog.** - -#### :closed_lock_with_key: Adding a Touch ID protected item - -If you want to store the Touch ID protected Keychain item, specify `accessibility` and `authenticationPolicy` attributes. - -```swift -let keychain = Keychain(service: "com.example.github-token") - -DispatchQueue.global().async { - do { - // Should be the secret invalidated when passcode is removed? If not then use `.WhenUnlocked` - try keychain - .accessibility(.whenPasscodeSetThisDeviceOnly, authenticationPolicy: .userPresence) - .set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") - } catch let error { - // Error handling if needed... - } -} -``` - -#### :closed_lock_with_key: Updating a Touch ID protected item - -The same way as when adding. - -**Do not run in the main thread if there is a possibility that the item you are trying to add already exists, and protected.** -**Because updating protected items requires authentication.** - -Additionally, you want to show custom authentication prompt message when updating, specify an `authenticationPrompt` attribute. -If the item not protected, the `authenticationPrompt` parameter just be ignored. - -```swift -let keychain = Keychain(service: "com.example.github-token") - -DispatchQueue.global().async { - do { - // Should be the secret invalidated when passcode is removed? If not then use `.WhenUnlocked` - try keychain - .accessibility(.whenPasscodeSetThisDeviceOnly, authenticationPolicy: .userPresence) - .authenticationPrompt("Authenticate to update your access token") - .set("01234567-89ab-cdef-0123-456789abcdef", key: "kishikawakatsumi") - } catch let error { - // Error handling if needed... - } -} -``` - -#### :closed_lock_with_key: Obtaining a Touch ID protected item - -The same way as when you get a normal item. It will be displayed automatically Touch ID or passcode authentication If the item you try to get is protected. -If you want to show custom authentication prompt message, specify an `authenticationPrompt` attribute. -If the item not protected, the `authenticationPrompt` parameter just be ignored. - -```swift -let keychain = Keychain(service: "com.example.github-token") - -DispatchQueue.global().async { - do { - let password = try keychain - .authenticationPrompt("Authenticate to login to server") - .get("kishikawakatsumi") - - print("password: \(password)") - } catch let error { - // Error handling if needed... - } -} -``` - -#### :closed_lock_with_key: Removing a Touch ID protected item - -The same way as when you remove a normal item. -There is no way to show Touch ID or passcode authentication when removing Keychain items. - -```swift -let keychain = Keychain(service: "com.example.github-token") - -do { - try keychain.remove("kishikawakatsumi") -} catch let error { - // Error handling if needed... -} -``` - -### :key: Shared Web Credentials - -> Shared web credentials is a programming interface that enables native iOS apps to share credentials with their website counterparts. For example, a user may log in to a website in Safari, entering a user name and password, and save those credentials using the iCloud Keychain. Later, the user may run a native app from the same developer, and instead of the app requiring the user to reenter a user name and password, shared web credentials gives it access to the credentials that were entered earlier in Safari. The user can also create new accounts, update passwords, or delete her account from within the app. These changes are then saved and used by Safari. - - - -```swift -let keychain = Keychain(server: "https://www.kishikawakatsumi.com", protocolType: .HTTPS) - -let username = "kishikawakatsumi@mac.com" - -// First, check the credential in the app's Keychain -if let password = try? keychain.get(username) { - // If found password in the Keychain, - // then log into the server -} else { - // If not found password in the Keychain, - // try to read from Shared Web Credentials - keychain.getSharedPassword(username) { (password, error) -> () in - if password != nil { - // If found password in the Shared Web Credentials, - // then log into the server - // and save the password to the Keychain - - keychain[username] = password - } else { - // If not found password either in the Keychain also Shared Web Credentials, - // prompt for username and password - - // Log into server - - // If the login is successful, - // save the credentials to both the Keychain and the Shared Web Credentials. - - keychain[username] = inputPassword - keychain.setSharedPassword(inputPassword, account: username) - } - } -} -``` - -#### Request all associated domain's credentials - -```swift -Keychain.requestSharedWebCredential { (credentials, error) -> () in - -} -``` - -#### Generate strong random password - -Generate strong random password that is in the same format used by Safari autofill (xxx-xxx-xxx-xxx). - -```swift -let password = Keychain.generatePassword() // => Nhu-GKm-s3n-pMx -``` - -#### How to set up Shared Web Credentials - -> 1. Add a com.apple.developer.associated-domains entitlement to your app. This entitlement must include all the domains with which you want to share credentials. - -> 2. Add an apple-app-site-association file to your website. This file must include application identifiers for all the apps with which the site wants to share credentials, and it must be properly signed. - -> 3. When the app is installed, the system downloads and verifies the site association file for each of its associated domains. If the verification is successful, the app is associated with the domain. - -**More details:** - - -### :key: Debugging - -#### Display all stored items if print keychain object - -```swift -let keychain = Keychain(server: "https://github.com", protocolType: .https) -print("\(keychain)") -``` - -``` -=> -[ - [authenticationType: default, key: kishikawakatsumi, server: github.com, class: internetPassword, protocol: https] - [authenticationType: default, key: hirohamada, server: github.com, class: internetPassword, protocol: https] - [authenticationType: default, key: honeylemon, server: github.com, class: internetPassword, protocol: https] -] -``` - -#### Obtaining all stored keys - -```swift -let keychain = Keychain(server: "https://github.com", protocolType: .https) - -let keys = keychain.allKeys() -for key in keys { - print("key: \(key)") -} -``` - -``` -=> -key: kishikawakatsumi -key: hirohamada -key: honeylemon -``` - -#### Obtaining all stored items - -```swift -let keychain = Keychain(server: "https://github.com", protocolType: .https) - -let items = keychain.allItems() -for item in items { - print("item: \(item)") -} -``` - -``` -=> -item: [authenticationType: Default, key: kishikawakatsumi, server: github.com, class: InternetPassword, protocol: https] -item: [authenticationType: Default, key: hirohamada, server: github.com, class: InternetPassword, protocol: https] -item: [authenticationType: Default, key: honeylemon, server: github.com, class: InternetPassword, protocol: https] -``` - -## Requirements - -| | OS | Swift | -|------------|----------------------------------------|---------------| -| **v1.1.x** | iOS 7+, OSX 10.9+ | 1.1 | -| **v1.2.x** | iOS 7+, OSX 10.9+ | 1.2 | -| **v2.0.x** | iOS 7+, OSX 10.9+, watchOS 2+ | 2.0 | -| **v2.1.x** | iOS 7+, OSX 10.9+, watchOS 2+ | 2.0 | -| **v2.2.x** | iOS 8+, OSX 10.9+, watchOS 2+, tvOS 9+ | 2.0, 2.1 | -| **v2.3.x** | iOS 8+, OSX 10.9+, watchOS 2+, tvOS 9+ | 2.0, 2.1, 2.2 | -| **v2.4.x** | iOS 8+, OSX 10.9+, watchOS 2+, tvOS 9+ | 2.2, 2.3 | -| **v3.0.x** | iOS 8+, OSX 10.9+, watchOS 2+, tvOS 9+ | 3.x | -| **v3.1.x** | iOS 8+, OSX 10.9+, watchOS 2+, tvOS 9+ | 4.0, 4.1, 4.2 | - -## Installation - -### CocoaPods - -KeychainAccess is available through [CocoaPods](http://cocoapods.org). To install -it, simply add the following lines to your Podfile: - -```ruby -use_frameworks! -pod 'KeychainAccess' -``` - -### Carthage - -KeychainAccess is available through [Carthage](https://github.com/Carthage/Carthage). To install -it, simply add the following line to your Cartfile: - -`github "kishikawakatsumi/KeychainAccess"` - -### Swift Package Manager - -KeychainAccess is also available through [Swift Package Manager](https://github.com/apple/swift-package-manager/). -First, create `Package.swift` that its package declaration includes: - -```swift -import PackageDescription - -let package = Package( - dependencies: [ - .Package(url: "https://github.com/kishikawakatsumi/KeychainAccess.git", majorVersion: 2) - ] -) -``` - -Then, type - -```shell -$ swift build -``` - -### To manually add to your project - -1. Add `Lib/KeychainAccess.xcodeproj` to your project -2. Link `KeychainAccess.framework` with your target -3. Add `Copy Files Build Phase` to include the framework to your application bundle - -_See [iOS Example Project](https://github.com/kishikawakatsumi/KeychainAccess/tree/master/Examples/Example-iOS) as reference._ - - - -## Author - -kishikawa katsumi, kishikawakatsumi@mac.com - -## License - -KeychainAccess is available under the MIT license. See the LICENSE file for more info. diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index 843b910..5e4b8be 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,20 +1,12 @@ PODS: - CryptoSwift (0.8.1) - - KeychainAccess (3.1.2) DEPENDENCIES: - CryptoSwift - - KeychainAccess - -SPEC REPOS: - https://github.com/cocoapods/specs.git: - - CryptoSwift - - KeychainAccess SPEC CHECKSUMS: CryptoSwift: 4b07d5b508c1eb67bfa314a727b705f8048a85de - KeychainAccess: b3816fddcf28aa29d94b10ec305cd52be14c472b -PODFILE CHECKSUM: 2ccd80ba9984103c7eb7f1175a88d0a90df6c731 +PODFILE CHECKSUM: bbf4ad9f3f2f1429ecda282ecb446c084363a23f -COCOAPODS: 1.5.3 +COCOAPODS: 1.3.1 diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index a001d87..8731b30 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -7,262 +7,199 @@ objects = { /* Begin PBXBuildFile section */ - 029CCDE6075BC29CE715C255CF60EBED /* CFB.swift in Sources */ = {isa = PBXBuildFile; fileRef = E51B68AF254C6AD8A6ACCD9FC50ADE3F /* CFB.swift */; }; - 0956811701EC202F2F69628EDCBB9EFD /* SHA2.swift in Sources */ = {isa = PBXBuildFile; fileRef = 83760D11E74EBD3B2EB24D0F9FF8B3B3 /* SHA2.swift */; }; - 09873F77E269091531A2000295876ED3 /* UInt8+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 161CAB2E0F3185C58480D32D8C1E1B2E /* UInt8+Extension.swift */; }; - 0CB63DF68E61516B91FDCDCBE4519EFC /* RandomAccessBlockModeWorker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79A7E3E41B22DFA5C7ABC3109DAF83E3 /* RandomAccessBlockModeWorker.swift */; }; - 0CD5836CA8A6C1C7C38E51F95B0EC027 /* BlockMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 273AD107D3DCE9B2F5FDD0B6304772B8 /* BlockMode.swift */; }; - 0D11FC42AE9E341FE113D5FAEEED8C04 /* CryptoSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 1CA428AC99ABECD85EF401A66ABC7696 /* CryptoSwift-dummy.m */; }; - 0FE198D97026CEA7FED2C43521BB9501 /* Blowfish.swift in Sources */ = {isa = PBXBuildFile; fileRef = 888FFC9B9D087C7D71D00FB4DB0CE591 /* Blowfish.swift */; }; - 11DA82F1D104F6DBA7592F3F9F53AACB /* CTR.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64CD0C9C7241F26A15C9783D847AFEBD /* CTR.swift */; }; - 18C1AA22F5B3651F114294733FDF5B2A /* SecureBytes.swift in Sources */ = {isa = PBXBuildFile; fileRef = 473C8EDB81BDF1DF3D47F1DB093B4EB9 /* SecureBytes.swift */; }; - 21CE5B0F01F8E58E9EABCA1B6ED154BA /* Rabbit+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47CC1CCF8B4E2A7AF6B5325D050F5427 /* Rabbit+Foundation.swift */; }; - 2672625ED4BD11DB4DD83A4E9BDDF6F9 /* Cryptors.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE4E900C0626571AC366D9B0092E8CE2 /* Cryptors.swift */; }; - 270B917A023E92844CFDFBE7E44797D1 /* ChaCha20.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4606993A043F5C0BA70481A2392E966D /* ChaCha20.swift */; }; - 29EF96F51B6027797F0760320DCA6BD5 /* String+FoundationExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = BE6BD41C35B26AC0B8E61CC549BBC8BB /* String+FoundationExtension.swift */; }; - 2BF51761B945E33FA10C59EA934B8088 /* String+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A8C42D2DD20BA6A96369288B8D61AA7 /* String+Extension.swift */; }; - 2FB8C4D3042DF4A50C1FF99BD5D6A38F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */; }; - 360667D5B252324DEA6B75898D382381 /* BlockCipher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21F4E25671FA5462E18A72A2088E3679 /* BlockCipher.swift */; }; - 39787DCF5D9423D45E4C5369F0FB53BA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */; }; - 3FCC64403F8DE2D2B3BAE71F3F0CC1C7 /* BlockModeWorker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 76FDAD94210C27931310F31EF70F01FA /* BlockModeWorker.swift */; }; - 41642560CA055E8EE8FCA2DCA5313C23 /* MD5.swift in Sources */ = {isa = PBXBuildFile; fileRef = 35D42AE82B529B948EA396E0EFCFBBE2 /* MD5.swift */; }; - 4544D85EA993B42F5915E7AA8F4C0F6C /* DigestType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 494A68AB67E90B3C19E49251229B3CB4 /* DigestType.swift */; }; - 4565031E0304574C7A466B62E73E7478 /* KeychainAccess-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 16E72221FAB44B4B748A00FA0F05304C /* KeychainAccess-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4881DAE730C3678FEA94F8A2622252C1 /* Pods-Friendvatars-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 243C453A941B28D8DC074B9886773BC4 /* Pods-Friendvatars-dummy.m */; }; - 4AB554DF0F4CFA6D8E14FB06A95385D8 /* HMAC+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 481C2E1AF54F246301EF5F049557AD55 /* HMAC+Foundation.swift */; }; - 4B3B8AEAD3654C79DD2984A29DACE5B9 /* PBKDF1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B8080FDAFA546A72CE62CF4236595BD /* PBKDF1.swift */; }; - 4C024CC2A1003237347D216A03A5878C /* Collection+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 55EF4E3D2AA6FBB9D1A6415F35E7370B /* Collection+Extension.swift */; }; - 528D7571D85151FF800C4E3654E1FA86 /* Array+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 953F3DF82C04A300C100C78F03A62819 /* Array+Extensions.swift */; }; - 5B5E80A7A1AD0C13169BDDAECA394073 /* Data+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AF125A30F5AD9E69BA6FFC9277F824B /* Data+Extension.swift */; }; - 63A2B87CCC493F65ACEE0001E5CB2B19 /* PKCS7Padding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0C87CC909DB3EC7C512ED8559264DFF8 /* PKCS7Padding.swift */; }; - 645C52C486190C3F39E6D434FACECECD /* RandomAccessCryptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0F5B3BD214AC94F881907246D3D8140 /* RandomAccessCryptor.swift */; }; - 6BA9D56D4651F39C19833F1F409D4178 /* PKCS7.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A59AFF41F06F275C7503386778D8B65 /* PKCS7.swift */; }; - 6DD366D4D2E525C12528BE966B822B05 /* Bit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F393841799B8CEF8E73B063769C67E7 /* Bit.swift */; }; - 77055ACA57CE4A39671C183CB60EBCF2 /* BlockModeOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6AD5A201FC9CC29A7AC7393573AB22B /* BlockModeOptions.swift */; }; - 78B30076720C6EC70BDCB49DD3A25BC0 /* ChaCha20+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72A6F75298DE02CCF6A5AD6FA63464F3 /* ChaCha20+Foundation.swift */; }; - 79FFE636BA8AE65FF53BA916856C69C8 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */; }; - 7CBB1492A9E2DD4F5DFC1BA7A95D3344 /* UInt16+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 683220FE8506C6CA2D26A60A58D2E9C3 /* UInt16+Extension.swift */; }; - 7FD1C9171DE80CDCBE2C974D9EE0991A /* KeychainAccess-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 85C28A2C77E79D203EEB003E3D3722F3 /* KeychainAccess-dummy.m */; }; - 8723CA06E8722D3594EAA1A139A6D803 /* Utils+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1948ED714A1D42260A1B9FDF4E6C5E5 /* Utils+Foundation.swift */; }; - 8E8BA6D0A85A8D3FBC55D447ACF7C156 /* Authenticator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38A5E783ED32E248C568E3A56D9EF732 /* Authenticator.swift */; }; - 9233A3E22B89BD228FBB3F1DDEEC4EFE /* BatchedCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE64D263EC6A70516407A75328DA2ABC /* BatchedCollection.swift */; }; - 95C37DDA83D94B3B59A40A3426A65684 /* UInt64+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = A779A36DA6B6DA2263224A1C96509266 /* UInt64+Extension.swift */; }; - 96704219B31375941271FF02AAC8193C /* Poly1305.swift in Sources */ = {isa = PBXBuildFile; fileRef = B414586449537501C26A5504271D1C05 /* Poly1305.swift */; }; - 9782A81566BFFA815BD6FEEB13D54D06 /* Checksum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 138EC8D2DA441044B77E97F1B9E111AF /* Checksum.swift */; }; - 9CC85DD5BB289CB4F6C01E7952E23CE6 /* CryptoSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D1713133D68D11B16ABA20749418DF7 /* CryptoSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9EE4737714DE0CDBCC66384EA4982AD8 /* Updatable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5678EE6C103997704E23674FBC893360 /* Updatable.swift */; }; - 9EF595A91415241CCB3320594B53F282 /* OFB.swift in Sources */ = {isa = PBXBuildFile; fileRef = 108072927D38C61A0B7D2A551D27241C /* OFB.swift */; }; - 9F80EAE2671115979B9F2BA5A17C04E9 /* Array+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32CEBC58EA4A2357034EDB9ACF1C74D0 /* Array+Foundation.swift */; }; - A73F91DACC3AB17F91D968B03A6FFF33 /* SHA3.swift in Sources */ = {isa = PBXBuildFile; fileRef = 644E76D60A87D86EF20DD3D9801327F0 /* SHA3.swift */; }; - A7DF73F094D79EA40BC71350652C400C /* HKDF.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9237A63642D9303E14B07FE23802DE78 /* HKDF.swift */; }; - A8FC628BC39A85B021B33CD0EDF94E06 /* Keychain.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1373F0E78BDECEA39078CFC65680876 /* Keychain.swift */; }; - AAD7BE5314AC1DB28A194D05CA74D9D7 /* Generics.swift in Sources */ = {isa = PBXBuildFile; fileRef = 28A9F971A39BD5E2D7A1BD47CE909801 /* Generics.swift */; }; - AF55FD642987DCEAAE9795808F6267BD /* Int+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 979D367046B64E3F4B36289995A2ECA3 /* Int+Extension.swift */; }; - B0300AF42EB5F8D38F9EA98E95C696E1 /* UInt32+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE3155A4A1AEFD8F6D79D7E9EFE08478 /* UInt32+Extension.swift */; }; - B29D6D60FCCD5C636F33D5CAAA6BF2BB /* HMAC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 49E710C03C6E2E1BC8639661CEBD9FE0 /* HMAC.swift */; }; - B6F9DC89BB62F23C6384F6E26ECBD4A9 /* NoPadding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2353CC599D9B766CB43D57A085D49044 /* NoPadding.swift */; }; - BEE403F4842EC4C88A514E7374E8B417 /* ZeroPadding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4505CF7E1882B02B054FEE0C70B66D8F /* ZeroPadding.swift */; }; - C0313257B3F8482EAFE428726FD845D9 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0F6E05FAB446A153EE06855CA85DEBA /* Utils.swift */; }; - C1BEDEA59E2E6D70D341E609CAC35E71 /* RandomBytesSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = D9DE1E11183EECCCCB58A2004427BAA0 /* RandomBytesSequence.swift */; }; - C3232F5FF289636B5085FBD43D5AE6FD /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1524BF10BD1056A5EBDE0CFC40B3FB6A /* Operators.swift */; }; - C668F20671BE60B79CF7B9D1C3791E35 /* Digest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99E931693897E64B6DCBFA9E371F4462 /* Digest.swift */; }; - C7AE9D99B081CD446727F3E8B32317C4 /* CBC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9E07FF1FD31D0F924F415A44F3FD4B17 /* CBC.swift */; }; - C992CCAE597216BDCDFE491223C06BE1 /* Rabbit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 893EA1F26FBC0EDD4BB740FBF13C8ADC /* Rabbit.swift */; }; - CC59CFB29942D3024B21409F183A41F1 /* Padding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A3DD025F450875EE3390D46E9690E8F /* Padding.swift */; }; - CCF37A73A04567CD14F94798DB2D4C76 /* Cipher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CBBDEDAE309B6BE53E518555CBABFCF /* Cipher.swift */; }; - CE4A24B14EE10DF8E29E27D17F5FA5DD /* PBKDF2.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC5C14E8DB45F26AD8E5A9826257AF38 /* PBKDF2.swift */; }; - D1953BAD6AD8DFD90F296DCC7E8A5ED7 /* AES.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33DD58A4FE4A2BD008EE428C51053A03 /* AES.swift */; }; - D4D811091053D1871366EC650281DC15 /* PCBC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9027941EF37837F538EA200BA4078FAC /* PCBC.swift */; }; - D9F8C56F455EA541B961F6AD650E3AA2 /* AES.Cryptors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 522FF09BA6EB0EE42AB7B0962DD097F2 /* AES.Cryptors.swift */; }; - DB8DEC0D10D2DFD5D9A22F679911FCF9 /* Blowfish+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6308BD6BC265D7B0351C546015E4808E /* Blowfish+Foundation.swift */; }; - E5E39AA990B1E34C79CFE8F90E6AFA97 /* SHA1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97073FF2F9CD5B9872A9ECC9FEF7F1D1 /* SHA1.swift */; }; - EA96722B1A22E50779569D6FB1B2C24A /* ECB.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6411A22DE7995511193E4C8D65684EB0 /* ECB.swift */; }; - ED9945DDBD34C37E6A9F4A6FD7A0178A /* AES+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4F2F6D32AEE751B384F4730346F15DA /* AES+Foundation.swift */; }; - F01FB4F122B343BE13963EB262255675 /* PKCS5.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8CC087CCDC0B9F6D0D14EB6ECC0F1C3A /* PKCS5.swift */; }; - F27539EDE127CBB68FF6DF65ACB38D9A /* Array+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 869C1299FF11A862D35D4E0F9BDDEA98 /* Array+Extension.swift */; }; - F3D08773F50E664E51661FCF4274403A /* Pods-Friendvatars-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D4D46F0CAAE370B836D3A34109465A77 /* Pods-Friendvatars-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 04ED4CBE1683A039945AE21E71657DCE /* SHA1.swift in Sources */ = {isa = PBXBuildFile; fileRef = E923A37930CBC57D57B8A58D34037E06 /* SHA1.swift */; }; + 08C450BB03BE7BFD888431D1751132F8 /* RandomAccessBlockModeWorker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 259F606BDF24A4DDF819F79A4355CE83 /* RandomAccessBlockModeWorker.swift */; }; + 152BA68678A9161227766CE6A75C19D4 /* NoPadding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17EB19E1EF889F2602A6CD4BFA3B9610 /* NoPadding.swift */; }; + 19F209E95649F61A5101303CA297098B /* UInt8+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4F9E69F3EC6CC5A1B9811A830EDA7FB /* UInt8+Extension.swift */; }; + 1BCBD814F3A819CFEDD5B621CD6BC6E0 /* Array+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20983313641ED544FC46B0316BF79926 /* Array+Foundation.swift */; }; + 1C9A485DA2FE04B657D7E3D8D0FF17AB /* Digest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A313DC180F5A42AFDCF5F4D9E6B0E3E /* Digest.swift */; }; + 1D0578185B1E764BC61EC316C3D29B02 /* Utils+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = B9FEC5C85271D8F16DFD9D29CD4175FB /* Utils+Foundation.swift */; }; + 32508A477EB8DE4F4EA066315511C4EF /* Authenticator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04EFD937AD6D622C4D5016DC92956436 /* Authenticator.swift */; }; + 338E92A59022E6035872D94CB3AA57BF /* Array+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6E483B3851B6079DF39ABBF182139303 /* Array+Extensions.swift */; }; + 35C90BEF2F9B2EF2AFF5C902B6D42AF1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 3703B6E48C92A9CA9485B91125942BA9 /* AES+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4930683B08C33AF0F305F47695EBEA3A /* AES+Foundation.swift */; }; + 395968454CBE736B64F63A633E0B68E4 /* String+FoundationExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B9C9576330A2201FA5FA2A66FC0596D /* String+FoundationExtension.swift */; }; + 3C8A5FD4672DBB6ED5B8E8FBC12C633D /* Poly1305.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFF8297B20577E1B5B1EDF1DE71AAEAC /* Poly1305.swift */; }; + 3D87B3B0FD6435BB315EFC905422302C /* UInt16+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAF4F14E3B549084EED6396285CD9C4A /* UInt16+Extension.swift */; }; + 3DC2810AEA96A3728F4BF638C0371E8A /* Bit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B7891438183174B010849EE16EC0B68 /* Bit.swift */; }; + 3EB15695F4BE7EBCE4ABF6B31BA04CA9 /* ChaCha20+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = F0D87F44520FD278A8382D8DDBCA119C /* ChaCha20+Foundation.swift */; }; + 44751BA17838B5BDE6AA88A7D19CDC35 /* PKCS5.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF4FDD82CE4B9195C6D126CCCE57090E /* PKCS5.swift */; }; + 473DABC63FCEDEAC6C02E4AFE687DB31 /* BatchedCollection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F42D5916AB8A1FC4FA408997817AE86 /* BatchedCollection.swift */; }; + 48E770EAFA3730666D434C9AC7E48496 /* Generics.swift in Sources */ = {isa = PBXBuildFile; fileRef = E723BB881B28C7F2E108E93FEBE1A46C /* Generics.swift */; }; + 494751D9321DF2E06F6FAF41A6017E7F /* HKDF.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05AAD9CD5929ABE280DF39FDA2D57A3D /* HKDF.swift */; }; + 49C6022FFB654F025AE6247765EFD40C /* ECB.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A8F5DD177A733404CDE172BCFE6DEDC /* ECB.swift */; }; + 5E77A3F633DBBD4C39776F6744EDC308 /* SecureBytes.swift in Sources */ = {isa = PBXBuildFile; fileRef = B87549D1373695DA7935EB604B95FB0D /* SecureBytes.swift */; }; + 65D826FD61BD6BD47FECFFA148216844 /* Blowfish.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F45932496A1D1AF5A9B5D11AA1B6379 /* Blowfish.swift */; }; + 68DB82CA9203E9108F79F47AED2E8E6A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 69086E943FDA1EF21D24289B1D5C60D2 /* BlockCipher.swift in Sources */ = {isa = PBXBuildFile; fileRef = E10424AA36CE05FD512761FFEDCBAF6C /* BlockCipher.swift */; }; + 69E4627B6E2338D2F586FA167CDC6E95 /* Int+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 191FCA13BFC587807608EE78E641B78D /* Int+Extension.swift */; }; + 6C715228EFC892AD90E07CE6517BC9D4 /* Checksum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20673D47BADAAE371A6D1D4AB2C079D5 /* Checksum.swift */; }; + 6F5501B927A46CCF4F52A4CD7C1E33EC /* SHA3.swift in Sources */ = {isa = PBXBuildFile; fileRef = D034CF51EE8F6519BB0FE897047E1CD8 /* SHA3.swift */; }; + 7073740DBB60483C88302F708F2F0039 /* CBC.swift in Sources */ = {isa = PBXBuildFile; fileRef = F0A770514358B491E856A8C73934B0E7 /* CBC.swift */; }; + 74DE9C0DBED7C14ED409BFAA17158E73 /* CryptoSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 31CE01D5451A5240FC1937D0D1073E96 /* CryptoSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 779811AAB014C57EAB3A43BB83A42F9E /* Rabbit+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75638B1B53CD11CC43C7F09ADBA88D98 /* Rabbit+Foundation.swift */; }; + 790B502A5E39B63AB1CD72638362BDDD /* CTR.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4CC36BFD1E124638BBE348967908C6A /* CTR.swift */; }; + 7C4FE99E01C8A635B3CE77F05B74B2DA /* PKCS7.swift in Sources */ = {isa = PBXBuildFile; fileRef = A1B0228ADBEA7D5A1E0FACD4C7C07E15 /* PKCS7.swift */; }; + 7C93878B47BE664097F3A63B89D1A862 /* RandomAccessCryptor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B24D0F45827DAE0BC296B7D2ABBEB94 /* RandomAccessCryptor.swift */; }; + 7DF98DF4ECF09A73ABE5B1092628461F /* PCBC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BC5E9FDC0794915C037F7D0B9A92655 /* PCBC.swift */; }; + 7E38C53CC00067C7A5FA953B9261BF29 /* CryptoSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 75F7B84503F41364555CFC6945B75C53 /* CryptoSwift-dummy.m */; }; + 80763ECA711BA3777C09B81B21E288C8 /* ChaCha20.swift in Sources */ = {isa = PBXBuildFile; fileRef = 474F2FD4F2E5FCF33A3C2B10229F55E2 /* ChaCha20.swift */; }; + 8131E626B940699512588EDA2CAEBD34 /* UInt64+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20E52385C4802542C0CA766B3F129C20 /* UInt64+Extension.swift */; }; + 848B237EB31C02719899A90111FB08DA /* HMAC.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5406734B12796208095D0CB213BBEAD8 /* HMAC.swift */; }; + 85F41150DC5EA8413BEE3F2608F11991 /* Padding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4591ED7D4B6A682FD57C96167D225BD7 /* Padding.swift */; }; + 87FAA6BD98D8B8712821DB532CDFF447 /* AES.Cryptors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52FF99CDBD8674CE2D14381B432C4E6D /* AES.Cryptors.swift */; }; + 8E9D8397BA554CE359B42FBAE1BCBD08 /* SHA2.swift in Sources */ = {isa = PBXBuildFile; fileRef = D048A4807948A5565AA7BFC6EDC8858E /* SHA2.swift */; }; + 934B3EA778B62DB2D5D8F0B02777E3F5 /* BlockModeWorker.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0745C4390DFD61D27C2F3499B2F3D2E7 /* BlockModeWorker.swift */; }; + 94DA4265D2AF0A4CA879A7F6D5B5A820 /* BlockMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3ACA19A307F2B21F931FD6DDF87356D2 /* BlockMode.swift */; }; + 960978CE23EE23DC0AF7E5954D6CB2A3 /* CFB.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6D0B6BA8036ED273D9027F2C740F1A5 /* CFB.swift */; }; + 97B2B4AFFA86BA7E0F85F53DC0F0B466 /* Collection+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 17AF38AABF71297F2FE6B5CD5375A2EA /* Collection+Extension.swift */; }; + 9985EDF7C8CA28B64DFC22F3716C59C5 /* Pods-Friendvatars-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F90EE9B48157BDCBAE77E93C7A59E50B /* Pods-Friendvatars-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + A300671F55DD95AE86819358B2C6DE32 /* Cryptors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C93EBBCC4BE9F5C1F1EED483E76929A /* Cryptors.swift */; }; + B2F16B6F4D5D5944929BF9B416772565 /* Utils.swift in Sources */ = {isa = PBXBuildFile; fileRef = E236D7F3DE185A040EA09B9BFC56188E /* Utils.swift */; }; + B856B5034004C190E8B2B8A2F038527D /* UInt32+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0EBFAE3C75105602890BD9A047D689EC /* UInt32+Extension.swift */; }; + B90AA1D193D9DA983C60B24EB3B5A189 /* Updatable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CBF814346C0E5BFDE8D4559FE6294F6 /* Updatable.swift */; }; + BD7F3C923AC47D15F51AD07D359BBDA4 /* Array+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 206294523958ED48244DEB8DCB4CF023 /* Array+Extension.swift */; }; + C745A2AA05FA14326388532157D59FD2 /* Rabbit.swift in Sources */ = {isa = PBXBuildFile; fileRef = 603C9968D4F76B3C922BCB6AD6BBCE4B /* Rabbit.swift */; }; + C953641D50BEADDEC1E341FE87247AF8 /* HMAC+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = E06127188259CDD74B9E186703788F84 /* HMAC+Foundation.swift */; }; + CA44F79721F689C434DEFA89D31ECD53 /* Blowfish+Foundation.swift in Sources */ = {isa = PBXBuildFile; fileRef = F81032203334F0F82DE8BAD6CDBDA0E5 /* Blowfish+Foundation.swift */; }; + CAA3F0F3507AB5798B490B49D95E3809 /* DigestType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 116BE809A8BBF8F709926DDC28236638 /* DigestType.swift */; }; + CABB4A3C203CD9D6721E52111BDB6A89 /* Pods-Friendvatars-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 853933329993C6F99DEF07589D2E4F88 /* Pods-Friendvatars-dummy.m */; }; + CBBE1B5655CD83A70E2856B7D33D3103 /* PBKDF1.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9913797121D44D906414A1F51BA3AF4F /* PBKDF1.swift */; }; + CD11E1CA4EC90EB672AB603B3BD82EAE /* ZeroPadding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 71E3DED970010B6C6E14D42D39702D05 /* ZeroPadding.swift */; }; + D0CC6EF77721FDC29F558F2B6ACEEDCF /* Data+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA5DD41E358E01C837004B16A0212C24 /* Data+Extension.swift */; }; + D7CA1999F4D69F97C9042949C5E02286 /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9D4CA579D6B6E98CEE82B19109E58815 /* Operators.swift */; }; + DBBC0B3E2A77C465F817B4CB91C7CA6E /* RandomBytesSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE3239BE51129F9B1A0D69D90B31A0C1 /* RandomBytesSequence.swift */; }; + E039B801D197986FE25FD3011D2A324D /* PBKDF2.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74184CDFE882702363A6B155483AD804 /* PBKDF2.swift */; }; + E780BDD3E588068FF869701FDC2D6BBE /* OFB.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9605A1A7D44A6AFA150179262A998D31 /* OFB.swift */; }; + E99E9C0D8889E1ABED1BB66EA5E26F6B /* AES.swift in Sources */ = {isa = PBXBuildFile; fileRef = 67A28550EFD88321FB1C5FF15DA5C62D /* AES.swift */; }; + E9DDCBC12D0C48E9072371632E2EE354 /* BlockModeOptions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B93AADC6BCC5141024213D3D2111DD2 /* BlockModeOptions.swift */; }; + EC44355442C7E895D8BDD437C8FC1A50 /* String+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4E5B910E685A01D78A440C32F40D1F80 /* String+Extension.swift */; }; + EEBE924BD06D6681AAA6003C3A6DBB33 /* MD5.swift in Sources */ = {isa = PBXBuildFile; fileRef = 97497923A52857052C39C3C1F5384057 /* MD5.swift */; }; + EEC95E134BF6663B52A72D8B53375C00 /* PKCS7Padding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 193F3BAC26CCDDE2D5AD828DD924C805 /* PKCS7Padding.swift */; }; + FFEFA357A2ECFD2C8696A7D9B6559CAC /* Cipher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0D5417AD168033723D327DBF2B77B2F3 /* Cipher.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 12182EA804E368C696A82EA3D0847BB0 /* PBXContainerItemProxy */ = { + FC21C348DB5F26AD02A6B216B82EFEF5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; proxyType = 1; - remoteGlobalIDString = 1630C0AC0CCE2704C3F517D1DFD56586; - remoteInfo = KeychainAccess; - }; - 4E4D75D7D535AA2262C115253513E932 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 16F79934C9B37C10283012C65CA992AB; + remoteGlobalIDString = DE16D66575B4E29D54F3F5DB5CD606FB; remoteInfo = CryptoSwift; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 040D077AD29E2F782500310CB98114D0 /* KeychainAccess.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = KeychainAccess.framework; path = KeychainAccess.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 0A3DD025F450875EE3390D46E9690E8F /* Padding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Padding.swift; path = Sources/CryptoSwift/Padding.swift; sourceTree = ""; }; - 0B8080FDAFA546A72CE62CF4236595BD /* PBKDF1.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PBKDF1.swift; path = Sources/CryptoSwift/PKCS/PBKDF1.swift; sourceTree = ""; }; - 0C87CC909DB3EC7C512ED8559264DFF8 /* PKCS7Padding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PKCS7Padding.swift; path = Sources/CryptoSwift/PKCS/PKCS7Padding.swift; sourceTree = ""; }; - 108072927D38C61A0B7D2A551D27241C /* OFB.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OFB.swift; path = Sources/CryptoSwift/BlockMode/OFB.swift; sourceTree = ""; }; - 138EC8D2DA441044B77E97F1B9E111AF /* Checksum.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Checksum.swift; path = Sources/CryptoSwift/Checksum.swift; sourceTree = ""; }; - 13F5C812210EF5A9F18351D1430B2E39 /* CryptoSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = CryptoSwift.framework; path = CryptoSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 1524BF10BD1056A5EBDE0CFC40B3FB6A /* Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Operators.swift; path = Sources/CryptoSwift/Operators.swift; sourceTree = ""; }; - 161CAB2E0F3185C58480D32D8C1E1B2E /* UInt8+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt8+Extension.swift"; path = "Sources/CryptoSwift/UInt8+Extension.swift"; sourceTree = ""; }; - 16E72221FAB44B4B748A00FA0F05304C /* KeychainAccess-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KeychainAccess-umbrella.h"; sourceTree = ""; }; - 1AF125A30F5AD9E69BA6FFC9277F824B /* Data+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Data+Extension.swift"; path = "Sources/CryptoSwift/Foundation/Data+Extension.swift"; sourceTree = ""; }; - 1CA428AC99ABECD85EF401A66ABC7696 /* CryptoSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CryptoSwift-dummy.m"; sourceTree = ""; }; - 1F393841799B8CEF8E73B063769C67E7 /* Bit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bit.swift; path = Sources/CryptoSwift/Bit.swift; sourceTree = ""; }; - 21F4E25671FA5462E18A72A2088E3679 /* BlockCipher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockCipher.swift; path = Sources/CryptoSwift/BlockCipher.swift; sourceTree = ""; }; - 2353CC599D9B766CB43D57A085D49044 /* NoPadding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NoPadding.swift; path = Sources/CryptoSwift/NoPadding.swift; sourceTree = ""; }; - 243C453A941B28D8DC074B9886773BC4 /* Pods-Friendvatars-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Friendvatars-dummy.m"; sourceTree = ""; }; - 273AD107D3DCE9B2F5FDD0B6304772B8 /* BlockMode.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockMode.swift; path = Sources/CryptoSwift/BlockMode/BlockMode.swift; sourceTree = ""; }; - 28A9F971A39BD5E2D7A1BD47CE909801 /* Generics.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Generics.swift; path = Sources/CryptoSwift/Generics.swift; sourceTree = ""; }; - 2E50A8BC04995E16B293EF27E1EF7D13 /* Pods-Friendvatars-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Friendvatars-acknowledgements.markdown"; sourceTree = ""; }; - 32CEBC58EA4A2357034EDB9ACF1C74D0 /* Array+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Array+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Array+Foundation.swift"; sourceTree = ""; }; - 33DD58A4FE4A2BD008EE428C51053A03 /* AES.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AES.swift; path = Sources/CryptoSwift/AES.swift; sourceTree = ""; }; - 35D42AE82B529B948EA396E0EFCFBBE2 /* MD5.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MD5.swift; path = Sources/CryptoSwift/MD5.swift; sourceTree = ""; }; - 35FBA3370551A17B5EC53FF4B5482159 /* Pods-Friendvatars.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Friendvatars.debug.xcconfig"; sourceTree = ""; }; - 38A5E783ED32E248C568E3A56D9EF732 /* Authenticator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Authenticator.swift; path = Sources/CryptoSwift/Authenticator.swift; sourceTree = ""; }; - 4505CF7E1882B02B054FEE0C70B66D8F /* ZeroPadding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ZeroPadding.swift; path = Sources/CryptoSwift/ZeroPadding.swift; sourceTree = ""; }; - 4606993A043F5C0BA70481A2392E966D /* ChaCha20.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ChaCha20.swift; path = Sources/CryptoSwift/ChaCha20.swift; sourceTree = ""; }; - 473C8EDB81BDF1DF3D47F1DB093B4EB9 /* SecureBytes.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SecureBytes.swift; path = Sources/CryptoSwift/SecureBytes.swift; sourceTree = ""; }; - 47CC1CCF8B4E2A7AF6B5325D050F5427 /* Rabbit+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Rabbit+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift"; sourceTree = ""; }; - 481C2E1AF54F246301EF5F049557AD55 /* HMAC+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "HMAC+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/HMAC+Foundation.swift"; sourceTree = ""; }; - 494A68AB67E90B3C19E49251229B3CB4 /* DigestType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DigestType.swift; path = Sources/CryptoSwift/DigestType.swift; sourceTree = ""; }; - 49E710C03C6E2E1BC8639661CEBD9FE0 /* HMAC.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HMAC.swift; path = Sources/CryptoSwift/HMAC.swift; sourceTree = ""; }; - 4A8C42D2DD20BA6A96369288B8D61AA7 /* String+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+Extension.swift"; path = "Sources/CryptoSwift/String+Extension.swift"; sourceTree = ""; }; - 522FF09BA6EB0EE42AB7B0962DD097F2 /* AES.Cryptors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AES.Cryptors.swift; path = Sources/CryptoSwift/AES.Cryptors.swift; sourceTree = ""; }; - 55EF4E3D2AA6FBB9D1A6415F35E7370B /* Collection+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Collection+Extension.swift"; path = "Sources/CryptoSwift/Collection+Extension.swift"; sourceTree = ""; }; - 5678EE6C103997704E23674FBC893360 /* Updatable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Updatable.swift; path = Sources/CryptoSwift/Updatable.swift; sourceTree = ""; }; - 5692E05105400962A0A6EAC9958B6493 /* Pods-Friendvatars.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Friendvatars.release.xcconfig"; sourceTree = ""; }; - 5A1961B0A715EA259584BEB18B069B6B /* Pods-Friendvatars-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Friendvatars-resources.sh"; sourceTree = ""; }; - 5A59AFF41F06F275C7503386778D8B65 /* PKCS7.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PKCS7.swift; path = Sources/CryptoSwift/PKCS/PKCS7.swift; sourceTree = ""; }; - 5CBBDEDAE309B6BE53E518555CBABFCF /* Cipher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cipher.swift; path = Sources/CryptoSwift/Cipher.swift; sourceTree = ""; }; - 61DA07AD6BC1B2035B17FA1AC3A7F0FC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 6308BD6BC265D7B0351C546015E4808E /* Blowfish+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Blowfish+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift"; sourceTree = ""; }; - 6411A22DE7995511193E4C8D65684EB0 /* ECB.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ECB.swift; path = Sources/CryptoSwift/BlockMode/ECB.swift; sourceTree = ""; }; - 644E76D60A87D86EF20DD3D9801327F0 /* SHA3.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SHA3.swift; path = Sources/CryptoSwift/SHA3.swift; sourceTree = ""; }; - 64CD0C9C7241F26A15C9783D847AFEBD /* CTR.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CTR.swift; path = Sources/CryptoSwift/BlockMode/CTR.swift; sourceTree = ""; }; - 683220FE8506C6CA2D26A60A58D2E9C3 /* UInt16+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt16+Extension.swift"; path = "Sources/CryptoSwift/UInt16+Extension.swift"; sourceTree = ""; }; - 6D1713133D68D11B16ABA20749418DF7 /* CryptoSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CryptoSwift-umbrella.h"; sourceTree = ""; }; - 6E475E92B60D094CE1FA6113EBCC2963 /* Pods-Friendvatars-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Friendvatars-acknowledgements.plist"; sourceTree = ""; }; - 6F8EB64FA3271693B974155ED31D30C1 /* CryptoSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CryptoSwift-prefix.pch"; sourceTree = ""; }; - 72A6F75298DE02CCF6A5AD6FA63464F3 /* ChaCha20+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ChaCha20+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift"; sourceTree = ""; }; - 76FDAD94210C27931310F31EF70F01FA /* BlockModeWorker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockModeWorker.swift; path = Sources/CryptoSwift/BlockMode/BlockModeWorker.swift; sourceTree = ""; }; - 79A7E3E41B22DFA5C7ABC3109DAF83E3 /* RandomAccessBlockModeWorker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RandomAccessBlockModeWorker.swift; path = Sources/CryptoSwift/BlockMode/RandomAccessBlockModeWorker.swift; sourceTree = ""; }; - 83760D11E74EBD3B2EB24D0F9FF8B3B3 /* SHA2.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SHA2.swift; path = Sources/CryptoSwift/SHA2.swift; sourceTree = ""; }; - 85C28A2C77E79D203EEB003E3D3722F3 /* KeychainAccess-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KeychainAccess-dummy.m"; sourceTree = ""; }; - 85CAA5FA0A398E9731113F2B60BD4F4F /* Pods-Friendvatars.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-Friendvatars.modulemap"; sourceTree = ""; }; - 867BB4D83DFD836A4A6AAC72993C8558 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 869C1299FF11A862D35D4E0F9BDDEA98 /* Array+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Array+Extension.swift"; path = "Sources/CryptoSwift/Array+Extension.swift"; sourceTree = ""; }; - 888FFC9B9D087C7D71D00FB4DB0CE591 /* Blowfish.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Blowfish.swift; path = Sources/CryptoSwift/Blowfish.swift; sourceTree = ""; }; - 893EA1F26FBC0EDD4BB740FBF13C8ADC /* Rabbit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Rabbit.swift; path = Sources/CryptoSwift/Rabbit.swift; sourceTree = ""; }; - 8CC087CCDC0B9F6D0D14EB6ECC0F1C3A /* PKCS5.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PKCS5.swift; path = Sources/CryptoSwift/PKCS/PKCS5.swift; sourceTree = ""; }; - 8D46A86B5A5464BB537E468E9A69DAB1 /* Pods_Friendvatars.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Friendvatars.framework; path = "Pods-Friendvatars.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; - 9027941EF37837F538EA200BA4078FAC /* PCBC.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PCBC.swift; path = Sources/CryptoSwift/BlockMode/PCBC.swift; sourceTree = ""; }; - 9237A63642D9303E14B07FE23802DE78 /* HKDF.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HKDF.swift; path = Sources/CryptoSwift/HKDF.swift; sourceTree = ""; }; + 04EFD937AD6D622C4D5016DC92956436 /* Authenticator.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Authenticator.swift; path = Sources/CryptoSwift/Authenticator.swift; sourceTree = ""; }; + 05AAD9CD5929ABE280DF39FDA2D57A3D /* HKDF.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HKDF.swift; path = Sources/CryptoSwift/HKDF.swift; sourceTree = ""; }; + 0745C4390DFD61D27C2F3499B2F3D2E7 /* BlockModeWorker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockModeWorker.swift; path = Sources/CryptoSwift/BlockMode/BlockModeWorker.swift; sourceTree = ""; }; + 07F9C623D91918F13560D807485D5154 /* Pods-Friendvatars.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Friendvatars.release.xcconfig"; sourceTree = ""; }; + 097F053EAB3A78D608DA971D6D318270 /* Pods-Friendvatars.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Friendvatars.debug.xcconfig"; sourceTree = ""; }; + 0B24D0F45827DAE0BC296B7D2ABBEB94 /* RandomAccessCryptor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RandomAccessCryptor.swift; path = Sources/CryptoSwift/RandomAccessCryptor.swift; sourceTree = ""; }; + 0B93AADC6BCC5141024213D3D2111DD2 /* BlockModeOptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockModeOptions.swift; path = Sources/CryptoSwift/BlockMode/BlockModeOptions.swift; sourceTree = ""; }; + 0D5417AD168033723D327DBF2B77B2F3 /* Cipher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cipher.swift; path = Sources/CryptoSwift/Cipher.swift; sourceTree = ""; }; + 0EBFAE3C75105602890BD9A047D689EC /* UInt32+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt32+Extension.swift"; path = "Sources/CryptoSwift/UInt32+Extension.swift"; sourceTree = ""; }; + 116BE809A8BBF8F709926DDC28236638 /* DigestType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DigestType.swift; path = Sources/CryptoSwift/DigestType.swift; sourceTree = ""; }; + 17AF38AABF71297F2FE6B5CD5375A2EA /* Collection+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Collection+Extension.swift"; path = "Sources/CryptoSwift/Collection+Extension.swift"; sourceTree = ""; }; + 17EB19E1EF889F2602A6CD4BFA3B9610 /* NoPadding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NoPadding.swift; path = Sources/CryptoSwift/NoPadding.swift; sourceTree = ""; }; + 191FCA13BFC587807608EE78E641B78D /* Int+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Int+Extension.swift"; path = "Sources/CryptoSwift/Int+Extension.swift"; sourceTree = ""; }; + 193F3BAC26CCDDE2D5AD828DD924C805 /* PKCS7Padding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PKCS7Padding.swift; path = Sources/CryptoSwift/PKCS/PKCS7Padding.swift; sourceTree = ""; }; + 1C93EBBCC4BE9F5C1F1EED483E76929A /* Cryptors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cryptors.swift; path = Sources/CryptoSwift/Cryptors.swift; sourceTree = ""; }; + 206294523958ED48244DEB8DCB4CF023 /* Array+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Array+Extension.swift"; path = "Sources/CryptoSwift/Array+Extension.swift"; sourceTree = ""; }; + 20673D47BADAAE371A6D1D4AB2C079D5 /* Checksum.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Checksum.swift; path = Sources/CryptoSwift/Checksum.swift; sourceTree = ""; }; + 20983313641ED544FC46B0316BF79926 /* Array+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Array+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Array+Foundation.swift"; sourceTree = ""; }; + 20E52385C4802542C0CA766B3F129C20 /* UInt64+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt64+Extension.swift"; path = "Sources/CryptoSwift/UInt64+Extension.swift"; sourceTree = ""; }; + 259F606BDF24A4DDF819F79A4355CE83 /* RandomAccessBlockModeWorker.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RandomAccessBlockModeWorker.swift; path = Sources/CryptoSwift/BlockMode/RandomAccessBlockModeWorker.swift; sourceTree = ""; }; + 25C2A3D020A9CF253BA790C95DE5C85D /* Pods_Friendvatars.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_Friendvatars.framework; path = "Pods-Friendvatars.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 303F88462BBA275BDCE3E6F3562217CF /* Pods-Friendvatars-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Friendvatars-acknowledgements.plist"; sourceTree = ""; }; + 31CE01D5451A5240FC1937D0D1073E96 /* CryptoSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CryptoSwift-umbrella.h"; sourceTree = ""; }; + 3ACA19A307F2B21F931FD6DDF87356D2 /* BlockMode.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockMode.swift; path = Sources/CryptoSwift/BlockMode/BlockMode.swift; sourceTree = ""; }; + 4591ED7D4B6A682FD57C96167D225BD7 /* Padding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Padding.swift; path = Sources/CryptoSwift/Padding.swift; sourceTree = ""; }; + 474F2FD4F2E5FCF33A3C2B10229F55E2 /* ChaCha20.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ChaCha20.swift; path = Sources/CryptoSwift/ChaCha20.swift; sourceTree = ""; }; + 4930683B08C33AF0F305F47695EBEA3A /* AES+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "AES+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/AES+Foundation.swift"; sourceTree = ""; }; + 4B7891438183174B010849EE16EC0B68 /* Bit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bit.swift; path = Sources/CryptoSwift/Bit.swift; sourceTree = ""; }; + 4E5B910E685A01D78A440C32F40D1F80 /* String+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+Extension.swift"; path = "Sources/CryptoSwift/String+Extension.swift"; sourceTree = ""; }; + 517AB0425C00CCB935BD21090EB301BB /* CryptoSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = CryptoSwift.framework; path = CryptoSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 52FF99CDBD8674CE2D14381B432C4E6D /* AES.Cryptors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AES.Cryptors.swift; path = Sources/CryptoSwift/AES.Cryptors.swift; sourceTree = ""; }; + 5406734B12796208095D0CB213BBEAD8 /* HMAC.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HMAC.swift; path = Sources/CryptoSwift/HMAC.swift; sourceTree = ""; }; + 559DA49EAEB2B41A456CC65EC9E40676 /* Pods-Friendvatars.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-Friendvatars.modulemap"; sourceTree = ""; }; + 5785DF3045F4DCB4D27D3DA7BD4C1579 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 5CBF814346C0E5BFDE8D4559FE6294F6 /* Updatable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Updatable.swift; path = Sources/CryptoSwift/Updatable.swift; sourceTree = ""; }; + 5F45932496A1D1AF5A9B5D11AA1B6379 /* Blowfish.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Blowfish.swift; path = Sources/CryptoSwift/Blowfish.swift; sourceTree = ""; }; + 603C9968D4F76B3C922BCB6AD6BBCE4B /* Rabbit.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Rabbit.swift; path = Sources/CryptoSwift/Rabbit.swift; sourceTree = ""; }; + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 67A28550EFD88321FB1C5FF15DA5C62D /* AES.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AES.swift; path = Sources/CryptoSwift/AES.swift; sourceTree = ""; }; + 694C4A993EFE74C83AF54A4ECA2F91AA /* CryptoSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "CryptoSwift-prefix.pch"; sourceTree = ""; }; + 6A8F5DD177A733404CDE172BCFE6DEDC /* ECB.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ECB.swift; path = Sources/CryptoSwift/BlockMode/ECB.swift; sourceTree = ""; }; + 6BC5E9FDC0794915C037F7D0B9A92655 /* PCBC.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PCBC.swift; path = Sources/CryptoSwift/BlockMode/PCBC.swift; sourceTree = ""; }; + 6E483B3851B6079DF39ABBF182139303 /* Array+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Array+Extensions.swift"; path = "Sources/CryptoSwift/Array+Extensions.swift"; sourceTree = ""; }; + 71E3DED970010B6C6E14D42D39702D05 /* ZeroPadding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ZeroPadding.swift; path = Sources/CryptoSwift/ZeroPadding.swift; sourceTree = ""; }; + 74184CDFE882702363A6B155483AD804 /* PBKDF2.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PBKDF2.swift; path = Sources/CryptoSwift/PKCS/PBKDF2.swift; sourceTree = ""; }; + 744ED72F2ADD9975CADAC93B3E5CC907 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 75638B1B53CD11CC43C7F09ADBA88D98 /* Rabbit+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Rabbit+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Rabbit+Foundation.swift"; sourceTree = ""; }; + 75F7B84503F41364555CFC6945B75C53 /* CryptoSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "CryptoSwift-dummy.m"; sourceTree = ""; }; + 764482285D9CADC5E9B6B4AF0E0B4B39 /* Pods-Friendvatars-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Friendvatars-resources.sh"; sourceTree = ""; }; + 7A313DC180F5A42AFDCF5F4D9E6B0E3E /* Digest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Digest.swift; path = Sources/CryptoSwift/Digest.swift; sourceTree = ""; }; + 853933329993C6F99DEF07589D2E4F88 /* Pods-Friendvatars-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Friendvatars-dummy.m"; sourceTree = ""; }; + 8F42D5916AB8A1FC4FA408997817AE86 /* BatchedCollection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BatchedCollection.swift; path = Sources/CryptoSwift/BatchedCollection.swift; sourceTree = ""; }; 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 953F3DF82C04A300C100C78F03A62819 /* Array+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Array+Extensions.swift"; path = "Sources/CryptoSwift/Array+Extensions.swift"; sourceTree = ""; }; - 97073FF2F9CD5B9872A9ECC9FEF7F1D1 /* SHA1.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SHA1.swift; path = Sources/CryptoSwift/SHA1.swift; sourceTree = ""; }; - 979D367046B64E3F4B36289995A2ECA3 /* Int+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Int+Extension.swift"; path = "Sources/CryptoSwift/Int+Extension.swift"; sourceTree = ""; }; - 99E931693897E64B6DCBFA9E371F4462 /* Digest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Digest.swift; path = Sources/CryptoSwift/Digest.swift; sourceTree = ""; }; - 9E07FF1FD31D0F924F415A44F3FD4B17 /* CBC.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CBC.swift; path = Sources/CryptoSwift/BlockMode/CBC.swift; sourceTree = ""; }; - A1373F0E78BDECEA39078CFC65680876 /* Keychain.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Keychain.swift; path = Lib/KeychainAccess/Keychain.swift; sourceTree = ""; }; - A1948ED714A1D42260A1B9FDF4E6C5E5 /* Utils+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Utils+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Utils+Foundation.swift"; sourceTree = ""; }; - A6AD5A201FC9CC29A7AC7393573AB22B /* BlockModeOptions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockModeOptions.swift; path = Sources/CryptoSwift/BlockMode/BlockModeOptions.swift; sourceTree = ""; }; - A779A36DA6B6DA2263224A1C96509266 /* UInt64+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt64+Extension.swift"; path = "Sources/CryptoSwift/UInt64+Extension.swift"; sourceTree = ""; }; - AE64D263EC6A70516407A75328DA2ABC /* BatchedCollection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BatchedCollection.swift; path = Sources/CryptoSwift/BatchedCollection.swift; sourceTree = ""; }; - B414586449537501C26A5504271D1C05 /* Poly1305.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Poly1305.swift; path = Sources/CryptoSwift/Poly1305.swift; sourceTree = ""; }; - BA22C2525E89AEF585D429081EE7498E /* CryptoSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = CryptoSwift.modulemap; sourceTree = ""; }; - BE6BD41C35B26AC0B8E61CC549BBC8BB /* String+FoundationExtension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+FoundationExtension.swift"; path = "Sources/CryptoSwift/Foundation/String+FoundationExtension.swift"; sourceTree = ""; }; - C1F462F1B08124CA39AB1B20611EAB7E /* Pods-Friendvatars-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Friendvatars-frameworks.sh"; sourceTree = ""; }; - C2078CB2A2671FC94EDB53C270D2E455 /* KeychainAccess.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KeychainAccess.xcconfig; sourceTree = ""; }; - C4F2F6D32AEE751B384F4730346F15DA /* AES+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "AES+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/AES+Foundation.swift"; sourceTree = ""; }; - D4D46F0CAAE370B836D3A34109465A77 /* Pods-Friendvatars-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Friendvatars-umbrella.h"; sourceTree = ""; }; - D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - D9DE1E11183EECCCCB58A2004427BAA0 /* RandomBytesSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RandomBytesSequence.swift; path = Sources/CryptoSwift/RandomBytesSequence.swift; sourceTree = ""; }; - DDF523B86A86A8CF5064567102E5E69F /* KeychainAccess-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KeychainAccess-prefix.pch"; sourceTree = ""; }; - E0F5B3BD214AC94F881907246D3D8140 /* RandomAccessCryptor.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RandomAccessCryptor.swift; path = Sources/CryptoSwift/RandomAccessCryptor.swift; sourceTree = ""; }; - E0F6E05FAB446A153EE06855CA85DEBA /* Utils.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Utils.swift; path = Sources/CryptoSwift/Utils.swift; sourceTree = ""; }; - E51B68AF254C6AD8A6ACCD9FC50ADE3F /* CFB.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CFB.swift; path = Sources/CryptoSwift/BlockMode/CFB.swift; sourceTree = ""; }; - EC5C14E8DB45F26AD8E5A9826257AF38 /* PBKDF2.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PBKDF2.swift; path = Sources/CryptoSwift/PKCS/PBKDF2.swift; sourceTree = ""; }; - EE3155A4A1AEFD8F6D79D7E9EFE08478 /* UInt32+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt32+Extension.swift"; path = "Sources/CryptoSwift/UInt32+Extension.swift"; sourceTree = ""; }; - EE4E900C0626571AC366D9B0092E8CE2 /* Cryptors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cryptors.swift; path = Sources/CryptoSwift/Cryptors.swift; sourceTree = ""; }; - F0A26E9AE4574ACD9418EC7D7FDB2E42 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F36F2B21056FA24FC41A00B0E7C3608C /* KeychainAccess.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = KeychainAccess.modulemap; sourceTree = ""; }; - F99AC4A7C33349E8C128532FB74A2911 /* CryptoSwift.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CryptoSwift.xcconfig; sourceTree = ""; }; + 958C3E35DD866E890E4BA5EB00450218 /* CryptoSwift.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = CryptoSwift.xcconfig; sourceTree = ""; }; + 9605A1A7D44A6AFA150179262A998D31 /* OFB.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OFB.swift; path = Sources/CryptoSwift/BlockMode/OFB.swift; sourceTree = ""; }; + 97497923A52857052C39C3C1F5384057 /* MD5.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MD5.swift; path = Sources/CryptoSwift/MD5.swift; sourceTree = ""; }; + 9913797121D44D906414A1F51BA3AF4F /* PBKDF1.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PBKDF1.swift; path = Sources/CryptoSwift/PKCS/PBKDF1.swift; sourceTree = ""; }; + 9B9C9576330A2201FA5FA2A66FC0596D /* String+FoundationExtension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+FoundationExtension.swift"; path = "Sources/CryptoSwift/Foundation/String+FoundationExtension.swift"; sourceTree = ""; }; + 9D4CA579D6B6E98CEE82B19109E58815 /* Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Operators.swift; path = Sources/CryptoSwift/Operators.swift; sourceTree = ""; }; + A1B0228ADBEA7D5A1E0FACD4C7C07E15 /* PKCS7.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PKCS7.swift; path = Sources/CryptoSwift/PKCS/PKCS7.swift; sourceTree = ""; }; + A6D0B6BA8036ED273D9027F2C740F1A5 /* CFB.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CFB.swift; path = Sources/CryptoSwift/BlockMode/CFB.swift; sourceTree = ""; }; + B87549D1373695DA7935EB604B95FB0D /* SecureBytes.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SecureBytes.swift; path = Sources/CryptoSwift/SecureBytes.swift; sourceTree = ""; }; + B9FEC5C85271D8F16DFD9D29CD4175FB /* Utils+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Utils+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Utils+Foundation.swift"; sourceTree = ""; }; + BA5DD41E358E01C837004B16A0212C24 /* Data+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Data+Extension.swift"; path = "Sources/CryptoSwift/Foundation/Data+Extension.swift"; sourceTree = ""; }; + BFF8297B20577E1B5B1EDF1DE71AAEAC /* Poly1305.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Poly1305.swift; path = Sources/CryptoSwift/Poly1305.swift; sourceTree = ""; }; + C4CC36BFD1E124638BBE348967908C6A /* CTR.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CTR.swift; path = Sources/CryptoSwift/BlockMode/CTR.swift; sourceTree = ""; }; + C4F9E69F3EC6CC5A1B9811A830EDA7FB /* UInt8+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt8+Extension.swift"; path = "Sources/CryptoSwift/UInt8+Extension.swift"; sourceTree = ""; }; + C517BCD0B8B6D37A4814132B34868A28 /* Pods-Friendvatars-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Friendvatars-frameworks.sh"; sourceTree = ""; }; + CB3EF8E37892DA1555E52583421106FF /* CryptoSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = CryptoSwift.modulemap; sourceTree = ""; }; + CC86EB5C74C82E488D2A3E273D65E6EA /* Pods-Friendvatars-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Friendvatars-acknowledgements.markdown"; sourceTree = ""; }; + D034CF51EE8F6519BB0FE897047E1CD8 /* SHA3.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SHA3.swift; path = Sources/CryptoSwift/SHA3.swift; sourceTree = ""; }; + D048A4807948A5565AA7BFC6EDC8858E /* SHA2.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SHA2.swift; path = Sources/CryptoSwift/SHA2.swift; sourceTree = ""; }; + DE3239BE51129F9B1A0D69D90B31A0C1 /* RandomBytesSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RandomBytesSequence.swift; path = Sources/CryptoSwift/RandomBytesSequence.swift; sourceTree = ""; }; + E06127188259CDD74B9E186703788F84 /* HMAC+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "HMAC+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/HMAC+Foundation.swift"; sourceTree = ""; }; + E10424AA36CE05FD512761FFEDCBAF6C /* BlockCipher.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BlockCipher.swift; path = Sources/CryptoSwift/BlockCipher.swift; sourceTree = ""; }; + E236D7F3DE185A040EA09B9BFC56188E /* Utils.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Utils.swift; path = Sources/CryptoSwift/Utils.swift; sourceTree = ""; }; + E723BB881B28C7F2E108E93FEBE1A46C /* Generics.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Generics.swift; path = Sources/CryptoSwift/Generics.swift; sourceTree = ""; }; + E923A37930CBC57D57B8A58D34037E06 /* SHA1.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SHA1.swift; path = Sources/CryptoSwift/SHA1.swift; sourceTree = ""; }; + EAF4F14E3B549084EED6396285CD9C4A /* UInt16+Extension.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UInt16+Extension.swift"; path = "Sources/CryptoSwift/UInt16+Extension.swift"; sourceTree = ""; }; + F0A770514358B491E856A8C73934B0E7 /* CBC.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CBC.swift; path = Sources/CryptoSwift/BlockMode/CBC.swift; sourceTree = ""; }; + F0D87F44520FD278A8382D8DDBCA119C /* ChaCha20+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ChaCha20+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/ChaCha20+Foundation.swift"; sourceTree = ""; }; + F81032203334F0F82DE8BAD6CDBDA0E5 /* Blowfish+Foundation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Blowfish+Foundation.swift"; path = "Sources/CryptoSwift/Foundation/Blowfish+Foundation.swift"; sourceTree = ""; }; + F90EE9B48157BDCBAE77E93C7A59E50B /* Pods-Friendvatars-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-Friendvatars-umbrella.h"; sourceTree = ""; }; + FF4FDD82CE4B9195C6D126CCCE57090E /* PKCS5.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PKCS5.swift; path = Sources/CryptoSwift/PKCS/PKCS5.swift; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 0366D979832FA96B0EBFA8B35C1352E8 /* Frameworks */ = { + B78BFDB162C0B5C38B98149696E670D9 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 2FB8C4D3042DF4A50C1FF99BD5D6A38F /* Foundation.framework in Frameworks */, + 35C90BEF2F9B2EF2AFF5C902B6D42AF1 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 2E560B04A2263EBF6B4B6FDFA42FDA28 /* Frameworks */ = { + D0A203A87FF7069A35F3AE46AB7618FB /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 79FFE636BA8AE65FF53BA916856C69C8 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 9A1B5578CFE053DFCDB3D6AF0BCC82B7 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 39787DCF5D9423D45E4C5369F0FB53BA /* Foundation.framework in Frameworks */, + 68DB82CA9203E9108F79F47AED2E8E6A /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 2CE31DFE46A71C653D15AA80576DA5BD /* Products */ = { - isa = PBXGroup; - children = ( - 13F5C812210EF5A9F18351D1430B2E39 /* CryptoSwift.framework */, - 040D077AD29E2F782500310CB98114D0 /* KeychainAccess.framework */, - 8D46A86B5A5464BB537E468E9A69DAB1 /* Pods_Friendvatars.framework */, - ); - name = Products; - sourceTree = ""; - }; - 346FEED4B3C8C3AF00A23A2BB750A30A /* Pods-Friendvatars */ = { - isa = PBXGroup; - children = ( - 61DA07AD6BC1B2035B17FA1AC3A7F0FC /* Info.plist */, - 85CAA5FA0A398E9731113F2B60BD4F4F /* Pods-Friendvatars.modulemap */, - 2E50A8BC04995E16B293EF27E1EF7D13 /* Pods-Friendvatars-acknowledgements.markdown */, - 6E475E92B60D094CE1FA6113EBCC2963 /* Pods-Friendvatars-acknowledgements.plist */, - 243C453A941B28D8DC074B9886773BC4 /* Pods-Friendvatars-dummy.m */, - C1F462F1B08124CA39AB1B20611EAB7E /* Pods-Friendvatars-frameworks.sh */, - 5A1961B0A715EA259584BEB18B069B6B /* Pods-Friendvatars-resources.sh */, - D4D46F0CAAE370B836D3A34109465A77 /* Pods-Friendvatars-umbrella.h */, - 35FBA3370551A17B5EC53FF4B5482159 /* Pods-Friendvatars.debug.xcconfig */, - 5692E05105400962A0A6EAC9958B6493 /* Pods-Friendvatars.release.xcconfig */, - ); - name = "Pods-Friendvatars"; - path = "Target Support Files/Pods-Friendvatars"; - sourceTree = ""; - }; - 44D5347904CF754D6785B84253F2574A /* iOS */ = { - isa = PBXGroup; - children = ( - D6DFF15000AFE2A371BF499E7AFDA808 /* Foundation.framework */, - ); - name = iOS; - sourceTree = ""; - }; 7881DE0A5326F42CFB9D7A7A846BA650 /* Targets Support Files */ = { isa = PBXGroup; children = ( - 346FEED4B3C8C3AF00A23A2BB750A30A /* Pods-Friendvatars */, + FB5FBB2D6DA41ADB11921F62D92D7238 /* Pods-Friendvatars */, ); name = "Targets Support Files"; sourceTree = ""; @@ -272,113 +209,21 @@ children = ( 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, - 8A1DE47CA7AF35D8A7616A49B9020C09 /* Pods */, - 2CE31DFE46A71C653D15AA80576DA5BD /* Products */, + E64AF3653C262D78B247B43A1CAE6A30 /* Pods */, + CC7552FB8F3EBB91D9BC133865C8657E /* Products */, 7881DE0A5326F42CFB9D7A7A846BA650 /* Targets Support Files */, ); sourceTree = ""; }; - 8A1DE47CA7AF35D8A7616A49B9020C09 /* Pods */ = { + 814D532D2DC4AE90FD27DC40EA98CEC3 /* Support Files */ = { isa = PBXGroup; children = ( - 94DC6BECC65956D8125B81448857ACDA /* CryptoSwift */, - A0DB4A9041FFD0F6B4043BB778052B39 /* KeychainAccess */, - ); - name = Pods; - sourceTree = ""; - }; - 94DC6BECC65956D8125B81448857ACDA /* CryptoSwift */ = { - isa = PBXGroup; - children = ( - 33DD58A4FE4A2BD008EE428C51053A03 /* AES.swift */, - C4F2F6D32AEE751B384F4730346F15DA /* AES+Foundation.swift */, - 522FF09BA6EB0EE42AB7B0962DD097F2 /* AES.Cryptors.swift */, - 869C1299FF11A862D35D4E0F9BDDEA98 /* Array+Extension.swift */, - 953F3DF82C04A300C100C78F03A62819 /* Array+Extensions.swift */, - 32CEBC58EA4A2357034EDB9ACF1C74D0 /* Array+Foundation.swift */, - 38A5E783ED32E248C568E3A56D9EF732 /* Authenticator.swift */, - AE64D263EC6A70516407A75328DA2ABC /* BatchedCollection.swift */, - 1F393841799B8CEF8E73B063769C67E7 /* Bit.swift */, - 21F4E25671FA5462E18A72A2088E3679 /* BlockCipher.swift */, - 273AD107D3DCE9B2F5FDD0B6304772B8 /* BlockMode.swift */, - A6AD5A201FC9CC29A7AC7393573AB22B /* BlockModeOptions.swift */, - 76FDAD94210C27931310F31EF70F01FA /* BlockModeWorker.swift */, - 888FFC9B9D087C7D71D00FB4DB0CE591 /* Blowfish.swift */, - 6308BD6BC265D7B0351C546015E4808E /* Blowfish+Foundation.swift */, - 9E07FF1FD31D0F924F415A44F3FD4B17 /* CBC.swift */, - E51B68AF254C6AD8A6ACCD9FC50ADE3F /* CFB.swift */, - 4606993A043F5C0BA70481A2392E966D /* ChaCha20.swift */, - 72A6F75298DE02CCF6A5AD6FA63464F3 /* ChaCha20+Foundation.swift */, - 138EC8D2DA441044B77E97F1B9E111AF /* Checksum.swift */, - 5CBBDEDAE309B6BE53E518555CBABFCF /* Cipher.swift */, - 55EF4E3D2AA6FBB9D1A6415F35E7370B /* Collection+Extension.swift */, - EE4E900C0626571AC366D9B0092E8CE2 /* Cryptors.swift */, - 64CD0C9C7241F26A15C9783D847AFEBD /* CTR.swift */, - 1AF125A30F5AD9E69BA6FFC9277F824B /* Data+Extension.swift */, - 99E931693897E64B6DCBFA9E371F4462 /* Digest.swift */, - 494A68AB67E90B3C19E49251229B3CB4 /* DigestType.swift */, - 6411A22DE7995511193E4C8D65684EB0 /* ECB.swift */, - 28A9F971A39BD5E2D7A1BD47CE909801 /* Generics.swift */, - 9237A63642D9303E14B07FE23802DE78 /* HKDF.swift */, - 49E710C03C6E2E1BC8639661CEBD9FE0 /* HMAC.swift */, - 481C2E1AF54F246301EF5F049557AD55 /* HMAC+Foundation.swift */, - 979D367046B64E3F4B36289995A2ECA3 /* Int+Extension.swift */, - 35D42AE82B529B948EA396E0EFCFBBE2 /* MD5.swift */, - 2353CC599D9B766CB43D57A085D49044 /* NoPadding.swift */, - 108072927D38C61A0B7D2A551D27241C /* OFB.swift */, - 1524BF10BD1056A5EBDE0CFC40B3FB6A /* Operators.swift */, - 0A3DD025F450875EE3390D46E9690E8F /* Padding.swift */, - 0B8080FDAFA546A72CE62CF4236595BD /* PBKDF1.swift */, - EC5C14E8DB45F26AD8E5A9826257AF38 /* PBKDF2.swift */, - 9027941EF37837F538EA200BA4078FAC /* PCBC.swift */, - 8CC087CCDC0B9F6D0D14EB6ECC0F1C3A /* PKCS5.swift */, - 5A59AFF41F06F275C7503386778D8B65 /* PKCS7.swift */, - 0C87CC909DB3EC7C512ED8559264DFF8 /* PKCS7Padding.swift */, - B414586449537501C26A5504271D1C05 /* Poly1305.swift */, - 893EA1F26FBC0EDD4BB740FBF13C8ADC /* Rabbit.swift */, - 47CC1CCF8B4E2A7AF6B5325D050F5427 /* Rabbit+Foundation.swift */, - 79A7E3E41B22DFA5C7ABC3109DAF83E3 /* RandomAccessBlockModeWorker.swift */, - E0F5B3BD214AC94F881907246D3D8140 /* RandomAccessCryptor.swift */, - D9DE1E11183EECCCCB58A2004427BAA0 /* RandomBytesSequence.swift */, - 473C8EDB81BDF1DF3D47F1DB093B4EB9 /* SecureBytes.swift */, - 97073FF2F9CD5B9872A9ECC9FEF7F1D1 /* SHA1.swift */, - 83760D11E74EBD3B2EB24D0F9FF8B3B3 /* SHA2.swift */, - 644E76D60A87D86EF20DD3D9801327F0 /* SHA3.swift */, - 4A8C42D2DD20BA6A96369288B8D61AA7 /* String+Extension.swift */, - BE6BD41C35B26AC0B8E61CC549BBC8BB /* String+FoundationExtension.swift */, - 683220FE8506C6CA2D26A60A58D2E9C3 /* UInt16+Extension.swift */, - EE3155A4A1AEFD8F6D79D7E9EFE08478 /* UInt32+Extension.swift */, - A779A36DA6B6DA2263224A1C96509266 /* UInt64+Extension.swift */, - 161CAB2E0F3185C58480D32D8C1E1B2E /* UInt8+Extension.swift */, - 5678EE6C103997704E23674FBC893360 /* Updatable.swift */, - E0F6E05FAB446A153EE06855CA85DEBA /* Utils.swift */, - A1948ED714A1D42260A1B9FDF4E6C5E5 /* Utils+Foundation.swift */, - 4505CF7E1882B02B054FEE0C70B66D8F /* ZeroPadding.swift */, - B52B518909E4B5FAE142E921148E1B17 /* Support Files */, - ); - name = CryptoSwift; - path = CryptoSwift; - sourceTree = ""; - }; - A0DB4A9041FFD0F6B4043BB778052B39 /* KeychainAccess */ = { - isa = PBXGroup; - children = ( - A1373F0E78BDECEA39078CFC65680876 /* Keychain.swift */, - EA4C15A705072332C3A09B468833C90E /* Support Files */, - ); - name = KeychainAccess; - path = KeychainAccess; - sourceTree = ""; - }; - B52B518909E4B5FAE142E921148E1B17 /* Support Files */ = { - isa = PBXGroup; - children = ( - BA22C2525E89AEF585D429081EE7498E /* CryptoSwift.modulemap */, - F99AC4A7C33349E8C128532FB74A2911 /* CryptoSwift.xcconfig */, - 1CA428AC99ABECD85EF401A66ABC7696 /* CryptoSwift-dummy.m */, - 6F8EB64FA3271693B974155ED31D30C1 /* CryptoSwift-prefix.pch */, - 6D1713133D68D11B16ABA20749418DF7 /* CryptoSwift-umbrella.h */, - 867BB4D83DFD836A4A6AAC72993C8558 /* Info.plist */, + CB3EF8E37892DA1555E52583421106FF /* CryptoSwift.modulemap */, + 958C3E35DD866E890E4BA5EB00450218 /* CryptoSwift.xcconfig */, + 75F7B84503F41364555CFC6945B75C53 /* CryptoSwift-dummy.m */, + 694C4A993EFE74C83AF54A4ECA2F91AA /* CryptoSwift-prefix.pch */, + 31CE01D5451A5240FC1937D0D1073E96 /* CryptoSwift-umbrella.h */, + 5785DF3045F4DCB4D27D3DA7BD4C1579 /* Info.plist */, ); name = "Support Files"; path = "../Target Support Files/CryptoSwift"; @@ -387,81 +232,174 @@ BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { isa = PBXGroup; children = ( - 44D5347904CF754D6785B84253F2574A /* iOS */, + D35AF013A5F0BAD4F32504907A52519E /* iOS */, ); name = Frameworks; sourceTree = ""; }; - EA4C15A705072332C3A09B468833C90E /* Support Files */ = { + CC7552FB8F3EBB91D9BC133865C8657E /* Products */ = { isa = PBXGroup; children = ( - F0A26E9AE4574ACD9418EC7D7FDB2E42 /* Info.plist */, - F36F2B21056FA24FC41A00B0E7C3608C /* KeychainAccess.modulemap */, - C2078CB2A2671FC94EDB53C270D2E455 /* KeychainAccess.xcconfig */, - 85C28A2C77E79D203EEB003E3D3722F3 /* KeychainAccess-dummy.m */, - DDF523B86A86A8CF5064567102E5E69F /* KeychainAccess-prefix.pch */, - 16E72221FAB44B4B748A00FA0F05304C /* KeychainAccess-umbrella.h */, + 517AB0425C00CCB935BD21090EB301BB /* CryptoSwift.framework */, + 25C2A3D020A9CF253BA790C95DE5C85D /* Pods_Friendvatars.framework */, ); - name = "Support Files"; - path = "../Target Support Files/KeychainAccess"; + name = Products; + sourceTree = ""; + }; + D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { + isa = PBXGroup; + children = ( + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + E64AF3653C262D78B247B43A1CAE6A30 /* Pods */ = { + isa = PBXGroup; + children = ( + F08DAE68C6F8434816F34F54F2B1B3C2 /* CryptoSwift */, + ); + name = Pods; + sourceTree = ""; + }; + F08DAE68C6F8434816F34F54F2B1B3C2 /* CryptoSwift */ = { + isa = PBXGroup; + children = ( + 67A28550EFD88321FB1C5FF15DA5C62D /* AES.swift */, + 4930683B08C33AF0F305F47695EBEA3A /* AES+Foundation.swift */, + 52FF99CDBD8674CE2D14381B432C4E6D /* AES.Cryptors.swift */, + 206294523958ED48244DEB8DCB4CF023 /* Array+Extension.swift */, + 6E483B3851B6079DF39ABBF182139303 /* Array+Extensions.swift */, + 20983313641ED544FC46B0316BF79926 /* Array+Foundation.swift */, + 04EFD937AD6D622C4D5016DC92956436 /* Authenticator.swift */, + 8F42D5916AB8A1FC4FA408997817AE86 /* BatchedCollection.swift */, + 4B7891438183174B010849EE16EC0B68 /* Bit.swift */, + E10424AA36CE05FD512761FFEDCBAF6C /* BlockCipher.swift */, + 3ACA19A307F2B21F931FD6DDF87356D2 /* BlockMode.swift */, + 0B93AADC6BCC5141024213D3D2111DD2 /* BlockModeOptions.swift */, + 0745C4390DFD61D27C2F3499B2F3D2E7 /* BlockModeWorker.swift */, + 5F45932496A1D1AF5A9B5D11AA1B6379 /* Blowfish.swift */, + F81032203334F0F82DE8BAD6CDBDA0E5 /* Blowfish+Foundation.swift */, + F0A770514358B491E856A8C73934B0E7 /* CBC.swift */, + A6D0B6BA8036ED273D9027F2C740F1A5 /* CFB.swift */, + 474F2FD4F2E5FCF33A3C2B10229F55E2 /* ChaCha20.swift */, + F0D87F44520FD278A8382D8DDBCA119C /* ChaCha20+Foundation.swift */, + 20673D47BADAAE371A6D1D4AB2C079D5 /* Checksum.swift */, + 0D5417AD168033723D327DBF2B77B2F3 /* Cipher.swift */, + 17AF38AABF71297F2FE6B5CD5375A2EA /* Collection+Extension.swift */, + 1C93EBBCC4BE9F5C1F1EED483E76929A /* Cryptors.swift */, + C4CC36BFD1E124638BBE348967908C6A /* CTR.swift */, + BA5DD41E358E01C837004B16A0212C24 /* Data+Extension.swift */, + 7A313DC180F5A42AFDCF5F4D9E6B0E3E /* Digest.swift */, + 116BE809A8BBF8F709926DDC28236638 /* DigestType.swift */, + 6A8F5DD177A733404CDE172BCFE6DEDC /* ECB.swift */, + E723BB881B28C7F2E108E93FEBE1A46C /* Generics.swift */, + 05AAD9CD5929ABE280DF39FDA2D57A3D /* HKDF.swift */, + 5406734B12796208095D0CB213BBEAD8 /* HMAC.swift */, + E06127188259CDD74B9E186703788F84 /* HMAC+Foundation.swift */, + 191FCA13BFC587807608EE78E641B78D /* Int+Extension.swift */, + 97497923A52857052C39C3C1F5384057 /* MD5.swift */, + 17EB19E1EF889F2602A6CD4BFA3B9610 /* NoPadding.swift */, + 9605A1A7D44A6AFA150179262A998D31 /* OFB.swift */, + 9D4CA579D6B6E98CEE82B19109E58815 /* Operators.swift */, + 4591ED7D4B6A682FD57C96167D225BD7 /* Padding.swift */, + 9913797121D44D906414A1F51BA3AF4F /* PBKDF1.swift */, + 74184CDFE882702363A6B155483AD804 /* PBKDF2.swift */, + 6BC5E9FDC0794915C037F7D0B9A92655 /* PCBC.swift */, + FF4FDD82CE4B9195C6D126CCCE57090E /* PKCS5.swift */, + A1B0228ADBEA7D5A1E0FACD4C7C07E15 /* PKCS7.swift */, + 193F3BAC26CCDDE2D5AD828DD924C805 /* PKCS7Padding.swift */, + BFF8297B20577E1B5B1EDF1DE71AAEAC /* Poly1305.swift */, + 603C9968D4F76B3C922BCB6AD6BBCE4B /* Rabbit.swift */, + 75638B1B53CD11CC43C7F09ADBA88D98 /* Rabbit+Foundation.swift */, + 259F606BDF24A4DDF819F79A4355CE83 /* RandomAccessBlockModeWorker.swift */, + 0B24D0F45827DAE0BC296B7D2ABBEB94 /* RandomAccessCryptor.swift */, + DE3239BE51129F9B1A0D69D90B31A0C1 /* RandomBytesSequence.swift */, + B87549D1373695DA7935EB604B95FB0D /* SecureBytes.swift */, + E923A37930CBC57D57B8A58D34037E06 /* SHA1.swift */, + D048A4807948A5565AA7BFC6EDC8858E /* SHA2.swift */, + D034CF51EE8F6519BB0FE897047E1CD8 /* SHA3.swift */, + 4E5B910E685A01D78A440C32F40D1F80 /* String+Extension.swift */, + 9B9C9576330A2201FA5FA2A66FC0596D /* String+FoundationExtension.swift */, + EAF4F14E3B549084EED6396285CD9C4A /* UInt16+Extension.swift */, + 0EBFAE3C75105602890BD9A047D689EC /* UInt32+Extension.swift */, + 20E52385C4802542C0CA766B3F129C20 /* UInt64+Extension.swift */, + C4F9E69F3EC6CC5A1B9811A830EDA7FB /* UInt8+Extension.swift */, + 5CBF814346C0E5BFDE8D4559FE6294F6 /* Updatable.swift */, + E236D7F3DE185A040EA09B9BFC56188E /* Utils.swift */, + B9FEC5C85271D8F16DFD9D29CD4175FB /* Utils+Foundation.swift */, + 71E3DED970010B6C6E14D42D39702D05 /* ZeroPadding.swift */, + 814D532D2DC4AE90FD27DC40EA98CEC3 /* Support Files */, + ); + name = CryptoSwift; + path = CryptoSwift; + sourceTree = ""; + }; + FB5FBB2D6DA41ADB11921F62D92D7238 /* Pods-Friendvatars */ = { + isa = PBXGroup; + children = ( + 744ED72F2ADD9975CADAC93B3E5CC907 /* Info.plist */, + 559DA49EAEB2B41A456CC65EC9E40676 /* Pods-Friendvatars.modulemap */, + CC86EB5C74C82E488D2A3E273D65E6EA /* Pods-Friendvatars-acknowledgements.markdown */, + 303F88462BBA275BDCE3E6F3562217CF /* Pods-Friendvatars-acknowledgements.plist */, + 853933329993C6F99DEF07589D2E4F88 /* Pods-Friendvatars-dummy.m */, + C517BCD0B8B6D37A4814132B34868A28 /* Pods-Friendvatars-frameworks.sh */, + 764482285D9CADC5E9B6B4AF0E0B4B39 /* Pods-Friendvatars-resources.sh */, + F90EE9B48157BDCBAE77E93C7A59E50B /* Pods-Friendvatars-umbrella.h */, + 097F053EAB3A78D608DA971D6D318270 /* Pods-Friendvatars.debug.xcconfig */, + 07F9C623D91918F13560D807485D5154 /* Pods-Friendvatars.release.xcconfig */, + ); + name = "Pods-Friendvatars"; + path = "Target Support Files/Pods-Friendvatars"; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 0F87EB7BEAF7F467DDF34216A73857F1 /* Headers */ = { + 3D6B1AE04675FB5C72A1A4168A3C2DA2 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - F3D08773F50E664E51661FCF4274403A /* Pods-Friendvatars-umbrella.h in Headers */, + 9985EDF7C8CA28B64DFC22F3716C59C5 /* Pods-Friendvatars-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 3B1DDCF02DAE623B025E4E7CF019C8D9 /* Headers */ = { + 4520A9B79F1A370E217D57A302CC1981 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 9CC85DD5BB289CB4F6C01E7952E23CE6 /* CryptoSwift-umbrella.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 3DCB50E1EAE76A10559C48D06F53E0EE /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - 4565031E0304574C7A466B62E73E7478 /* KeychainAccess-umbrella.h in Headers */, + 74DE9C0DBED7C14ED409BFAA17158E73 /* CryptoSwift-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 1630C0AC0CCE2704C3F517D1DFD56586 /* KeychainAccess */ = { + D975CEC661E2DCD4108AD5E2C0572CC0 /* Pods-Friendvatars */ = { isa = PBXNativeTarget; - buildConfigurationList = 4BC26EB508840B6B2446C27E690E60BC /* Build configuration list for PBXNativeTarget "KeychainAccess" */; + buildConfigurationList = C7F52FD6C19C202D3233FF9CF94E0737 /* Build configuration list for PBXNativeTarget "Pods-Friendvatars" */; buildPhases = ( - 3DCB50E1EAE76A10559C48D06F53E0EE /* Headers */, - 6CF23713FC2035F5BD9D246E95236685 /* Sources */, - 0366D979832FA96B0EBFA8B35C1352E8 /* Frameworks */, - 82731D02B1DBAC326E46F5E6E83C1130 /* Resources */, + C6F1EAA0FB22589AB1354D0A389468F8 /* Sources */, + D0A203A87FF7069A35F3AE46AB7618FB /* Frameworks */, + 3D6B1AE04675FB5C72A1A4168A3C2DA2 /* Headers */, ); buildRules = ( ); dependencies = ( + 3DAFE240C6ED1B623256A9D4FFC83BBE /* PBXTargetDependency */, ); - name = KeychainAccess; - productName = KeychainAccess; - productReference = 040D077AD29E2F782500310CB98114D0 /* KeychainAccess.framework */; + name = "Pods-Friendvatars"; + productName = "Pods-Friendvatars"; + productReference = 25C2A3D020A9CF253BA790C95DE5C85D /* Pods_Friendvatars.framework */; productType = "com.apple.product-type.framework"; }; - 16F79934C9B37C10283012C65CA992AB /* CryptoSwift */ = { + DE16D66575B4E29D54F3F5DB5CD606FB /* CryptoSwift */ = { isa = PBXNativeTarget; - buildConfigurationList = C5F1ED38B025B97D267FF462BB6FE9E4 /* Build configuration list for PBXNativeTarget "CryptoSwift" */; + buildConfigurationList = A2A1FC75CCCDCE10818AD7D9284ED293 /* Build configuration list for PBXNativeTarget "CryptoSwift" */; buildPhases = ( - 3B1DDCF02DAE623B025E4E7CF019C8D9 /* Headers */, - 2CE5BF9CBDE68CA05100B3AAACB20E44 /* Sources */, - 2E560B04A2263EBF6B4B6FDFA42FDA28 /* Frameworks */, - DA116F18320293844F239536899BB655 /* Resources */, + D3781A86E789739B2F1EE90C420EAA11 /* Sources */, + B78BFDB162C0B5C38B98149696E670D9 /* Frameworks */, + 4520A9B79F1A370E217D57A302CC1981 /* Headers */, ); buildRules = ( ); @@ -469,27 +407,7 @@ ); name = CryptoSwift; productName = CryptoSwift; - productReference = 13F5C812210EF5A9F18351D1430B2E39 /* CryptoSwift.framework */; - productType = "com.apple.product-type.framework"; - }; - 93927B2E03466C85C8B18A3BA96CAE46 /* Pods-Friendvatars */ = { - isa = PBXNativeTarget; - buildConfigurationList = 55768D7603E0ABAF7186C5391B70871A /* Build configuration list for PBXNativeTarget "Pods-Friendvatars" */; - buildPhases = ( - 0F87EB7BEAF7F467DDF34216A73857F1 /* Headers */, - 72C9D05C29DF4E7FF7661D46D83CA6F1 /* Sources */, - 9A1B5578CFE053DFCDB3D6AF0BCC82B7 /* Frameworks */, - 7AC29ADD4C6B639AA52273376658A16F /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 73E88593784AE5C82210F2FFCD7D11C3 /* PBXTargetDependency */, - 5FD94ABB484E82B54643238DEEFF037E /* PBXTargetDependency */, - ); - name = "Pods-Friendvatars"; - productName = "Pods-Friendvatars"; - productReference = 8D46A86B5A5464BB537E468E9A69DAB1 /* Pods_Friendvatars.framework */; + productReference = 517AB0425C00CCB935BD21090EB301BB /* CryptoSwift.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -498,8 +416,8 @@ D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0930; - LastUpgradeCheck = 0930; + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0700; }; buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; compatibilityVersion = "Xcode 3.2"; @@ -509,186 +427,113 @@ en, ); mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 2CE31DFE46A71C653D15AA80576DA5BD /* Products */; + productRefGroup = CC7552FB8F3EBB91D9BC133865C8657E /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - 16F79934C9B37C10283012C65CA992AB /* CryptoSwift */, - 1630C0AC0CCE2704C3F517D1DFD56586 /* KeychainAccess */, - 93927B2E03466C85C8B18A3BA96CAE46 /* Pods-Friendvatars */, + DE16D66575B4E29D54F3F5DB5CD606FB /* CryptoSwift */, + D975CEC661E2DCD4108AD5E2C0572CC0 /* Pods-Friendvatars */, ); }; /* End PBXProject section */ -/* Begin PBXResourcesBuildPhase section */ - 7AC29ADD4C6B639AA52273376658A16F /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 82731D02B1DBAC326E46F5E6E83C1130 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - DA116F18320293844F239536899BB655 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ - 2CE5BF9CBDE68CA05100B3AAACB20E44 /* Sources */ = { + C6F1EAA0FB22589AB1354D0A389468F8 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - ED9945DDBD34C37E6A9F4A6FD7A0178A /* AES+Foundation.swift in Sources */, - D9F8C56F455EA541B961F6AD650E3AA2 /* AES.Cryptors.swift in Sources */, - D1953BAD6AD8DFD90F296DCC7E8A5ED7 /* AES.swift in Sources */, - F27539EDE127CBB68FF6DF65ACB38D9A /* Array+Extension.swift in Sources */, - 528D7571D85151FF800C4E3654E1FA86 /* Array+Extensions.swift in Sources */, - 9F80EAE2671115979B9F2BA5A17C04E9 /* Array+Foundation.swift in Sources */, - 8E8BA6D0A85A8D3FBC55D447ACF7C156 /* Authenticator.swift in Sources */, - 9233A3E22B89BD228FBB3F1DDEEC4EFE /* BatchedCollection.swift in Sources */, - 6DD366D4D2E525C12528BE966B822B05 /* Bit.swift in Sources */, - 360667D5B252324DEA6B75898D382381 /* BlockCipher.swift in Sources */, - 0CD5836CA8A6C1C7C38E51F95B0EC027 /* BlockMode.swift in Sources */, - 77055ACA57CE4A39671C183CB60EBCF2 /* BlockModeOptions.swift in Sources */, - 3FCC64403F8DE2D2B3BAE71F3F0CC1C7 /* BlockModeWorker.swift in Sources */, - DB8DEC0D10D2DFD5D9A22F679911FCF9 /* Blowfish+Foundation.swift in Sources */, - 0FE198D97026CEA7FED2C43521BB9501 /* Blowfish.swift in Sources */, - C7AE9D99B081CD446727F3E8B32317C4 /* CBC.swift in Sources */, - 029CCDE6075BC29CE715C255CF60EBED /* CFB.swift in Sources */, - 78B30076720C6EC70BDCB49DD3A25BC0 /* ChaCha20+Foundation.swift in Sources */, - 270B917A023E92844CFDFBE7E44797D1 /* ChaCha20.swift in Sources */, - 9782A81566BFFA815BD6FEEB13D54D06 /* Checksum.swift in Sources */, - CCF37A73A04567CD14F94798DB2D4C76 /* Cipher.swift in Sources */, - 4C024CC2A1003237347D216A03A5878C /* Collection+Extension.swift in Sources */, - 2672625ED4BD11DB4DD83A4E9BDDF6F9 /* Cryptors.swift in Sources */, - 0D11FC42AE9E341FE113D5FAEEED8C04 /* CryptoSwift-dummy.m in Sources */, - 11DA82F1D104F6DBA7592F3F9F53AACB /* CTR.swift in Sources */, - 5B5E80A7A1AD0C13169BDDAECA394073 /* Data+Extension.swift in Sources */, - C668F20671BE60B79CF7B9D1C3791E35 /* Digest.swift in Sources */, - 4544D85EA993B42F5915E7AA8F4C0F6C /* DigestType.swift in Sources */, - EA96722B1A22E50779569D6FB1B2C24A /* ECB.swift in Sources */, - AAD7BE5314AC1DB28A194D05CA74D9D7 /* Generics.swift in Sources */, - A7DF73F094D79EA40BC71350652C400C /* HKDF.swift in Sources */, - 4AB554DF0F4CFA6D8E14FB06A95385D8 /* HMAC+Foundation.swift in Sources */, - B29D6D60FCCD5C636F33D5CAAA6BF2BB /* HMAC.swift in Sources */, - AF55FD642987DCEAAE9795808F6267BD /* Int+Extension.swift in Sources */, - 41642560CA055E8EE8FCA2DCA5313C23 /* MD5.swift in Sources */, - B6F9DC89BB62F23C6384F6E26ECBD4A9 /* NoPadding.swift in Sources */, - 9EF595A91415241CCB3320594B53F282 /* OFB.swift in Sources */, - C3232F5FF289636B5085FBD43D5AE6FD /* Operators.swift in Sources */, - CC59CFB29942D3024B21409F183A41F1 /* Padding.swift in Sources */, - 4B3B8AEAD3654C79DD2984A29DACE5B9 /* PBKDF1.swift in Sources */, - CE4A24B14EE10DF8E29E27D17F5FA5DD /* PBKDF2.swift in Sources */, - D4D811091053D1871366EC650281DC15 /* PCBC.swift in Sources */, - F01FB4F122B343BE13963EB262255675 /* PKCS5.swift in Sources */, - 6BA9D56D4651F39C19833F1F409D4178 /* PKCS7.swift in Sources */, - 63A2B87CCC493F65ACEE0001E5CB2B19 /* PKCS7Padding.swift in Sources */, - 96704219B31375941271FF02AAC8193C /* Poly1305.swift in Sources */, - 21CE5B0F01F8E58E9EABCA1B6ED154BA /* Rabbit+Foundation.swift in Sources */, - C992CCAE597216BDCDFE491223C06BE1 /* Rabbit.swift in Sources */, - 0CB63DF68E61516B91FDCDCBE4519EFC /* RandomAccessBlockModeWorker.swift in Sources */, - 645C52C486190C3F39E6D434FACECECD /* RandomAccessCryptor.swift in Sources */, - C1BEDEA59E2E6D70D341E609CAC35E71 /* RandomBytesSequence.swift in Sources */, - 18C1AA22F5B3651F114294733FDF5B2A /* SecureBytes.swift in Sources */, - E5E39AA990B1E34C79CFE8F90E6AFA97 /* SHA1.swift in Sources */, - 0956811701EC202F2F69628EDCBB9EFD /* SHA2.swift in Sources */, - A73F91DACC3AB17F91D968B03A6FFF33 /* SHA3.swift in Sources */, - 2BF51761B945E33FA10C59EA934B8088 /* String+Extension.swift in Sources */, - 29EF96F51B6027797F0760320DCA6BD5 /* String+FoundationExtension.swift in Sources */, - 7CBB1492A9E2DD4F5DFC1BA7A95D3344 /* UInt16+Extension.swift in Sources */, - B0300AF42EB5F8D38F9EA98E95C696E1 /* UInt32+Extension.swift in Sources */, - 95C37DDA83D94B3B59A40A3426A65684 /* UInt64+Extension.swift in Sources */, - 09873F77E269091531A2000295876ED3 /* UInt8+Extension.swift in Sources */, - 9EE4737714DE0CDBCC66384EA4982AD8 /* Updatable.swift in Sources */, - 8723CA06E8722D3594EAA1A139A6D803 /* Utils+Foundation.swift in Sources */, - C0313257B3F8482EAFE428726FD845D9 /* Utils.swift in Sources */, - BEE403F4842EC4C88A514E7374E8B417 /* ZeroPadding.swift in Sources */, + CABB4A3C203CD9D6721E52111BDB6A89 /* Pods-Friendvatars-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 6CF23713FC2035F5BD9D246E95236685 /* Sources */ = { + D3781A86E789739B2F1EE90C420EAA11 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - A8FC628BC39A85B021B33CD0EDF94E06 /* Keychain.swift in Sources */, - 7FD1C9171DE80CDCBE2C974D9EE0991A /* KeychainAccess-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 72C9D05C29DF4E7FF7661D46D83CA6F1 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 4881DAE730C3678FEA94F8A2622252C1 /* Pods-Friendvatars-dummy.m in Sources */, + 3703B6E48C92A9CA9485B91125942BA9 /* AES+Foundation.swift in Sources */, + 87FAA6BD98D8B8712821DB532CDFF447 /* AES.Cryptors.swift in Sources */, + E99E9C0D8889E1ABED1BB66EA5E26F6B /* AES.swift in Sources */, + BD7F3C923AC47D15F51AD07D359BBDA4 /* Array+Extension.swift in Sources */, + 338E92A59022E6035872D94CB3AA57BF /* Array+Extensions.swift in Sources */, + 1BCBD814F3A819CFEDD5B621CD6BC6E0 /* Array+Foundation.swift in Sources */, + 32508A477EB8DE4F4EA066315511C4EF /* Authenticator.swift in Sources */, + 473DABC63FCEDEAC6C02E4AFE687DB31 /* BatchedCollection.swift in Sources */, + 3DC2810AEA96A3728F4BF638C0371E8A /* Bit.swift in Sources */, + 69086E943FDA1EF21D24289B1D5C60D2 /* BlockCipher.swift in Sources */, + 94DA4265D2AF0A4CA879A7F6D5B5A820 /* BlockMode.swift in Sources */, + E9DDCBC12D0C48E9072371632E2EE354 /* BlockModeOptions.swift in Sources */, + 934B3EA778B62DB2D5D8F0B02777E3F5 /* BlockModeWorker.swift in Sources */, + CA44F79721F689C434DEFA89D31ECD53 /* Blowfish+Foundation.swift in Sources */, + 65D826FD61BD6BD47FECFFA148216844 /* Blowfish.swift in Sources */, + 7073740DBB60483C88302F708F2F0039 /* CBC.swift in Sources */, + 960978CE23EE23DC0AF7E5954D6CB2A3 /* CFB.swift in Sources */, + 3EB15695F4BE7EBCE4ABF6B31BA04CA9 /* ChaCha20+Foundation.swift in Sources */, + 80763ECA711BA3777C09B81B21E288C8 /* ChaCha20.swift in Sources */, + 6C715228EFC892AD90E07CE6517BC9D4 /* Checksum.swift in Sources */, + FFEFA357A2ECFD2C8696A7D9B6559CAC /* Cipher.swift in Sources */, + 97B2B4AFFA86BA7E0F85F53DC0F0B466 /* Collection+Extension.swift in Sources */, + A300671F55DD95AE86819358B2C6DE32 /* Cryptors.swift in Sources */, + 7E38C53CC00067C7A5FA953B9261BF29 /* CryptoSwift-dummy.m in Sources */, + 790B502A5E39B63AB1CD72638362BDDD /* CTR.swift in Sources */, + D0CC6EF77721FDC29F558F2B6ACEEDCF /* Data+Extension.swift in Sources */, + 1C9A485DA2FE04B657D7E3D8D0FF17AB /* Digest.swift in Sources */, + CAA3F0F3507AB5798B490B49D95E3809 /* DigestType.swift in Sources */, + 49C6022FFB654F025AE6247765EFD40C /* ECB.swift in Sources */, + 48E770EAFA3730666D434C9AC7E48496 /* Generics.swift in Sources */, + 494751D9321DF2E06F6FAF41A6017E7F /* HKDF.swift in Sources */, + C953641D50BEADDEC1E341FE87247AF8 /* HMAC+Foundation.swift in Sources */, + 848B237EB31C02719899A90111FB08DA /* HMAC.swift in Sources */, + 69E4627B6E2338D2F586FA167CDC6E95 /* Int+Extension.swift in Sources */, + EEBE924BD06D6681AAA6003C3A6DBB33 /* MD5.swift in Sources */, + 152BA68678A9161227766CE6A75C19D4 /* NoPadding.swift in Sources */, + E780BDD3E588068FF869701FDC2D6BBE /* OFB.swift in Sources */, + D7CA1999F4D69F97C9042949C5E02286 /* Operators.swift in Sources */, + 85F41150DC5EA8413BEE3F2608F11991 /* Padding.swift in Sources */, + CBBE1B5655CD83A70E2856B7D33D3103 /* PBKDF1.swift in Sources */, + E039B801D197986FE25FD3011D2A324D /* PBKDF2.swift in Sources */, + 7DF98DF4ECF09A73ABE5B1092628461F /* PCBC.swift in Sources */, + 44751BA17838B5BDE6AA88A7D19CDC35 /* PKCS5.swift in Sources */, + 7C4FE99E01C8A635B3CE77F05B74B2DA /* PKCS7.swift in Sources */, + EEC95E134BF6663B52A72D8B53375C00 /* PKCS7Padding.swift in Sources */, + 3C8A5FD4672DBB6ED5B8E8FBC12C633D /* Poly1305.swift in Sources */, + 779811AAB014C57EAB3A43BB83A42F9E /* Rabbit+Foundation.swift in Sources */, + C745A2AA05FA14326388532157D59FD2 /* Rabbit.swift in Sources */, + 08C450BB03BE7BFD888431D1751132F8 /* RandomAccessBlockModeWorker.swift in Sources */, + 7C93878B47BE664097F3A63B89D1A862 /* RandomAccessCryptor.swift in Sources */, + DBBC0B3E2A77C465F817B4CB91C7CA6E /* RandomBytesSequence.swift in Sources */, + 5E77A3F633DBBD4C39776F6744EDC308 /* SecureBytes.swift in Sources */, + 04ED4CBE1683A039945AE21E71657DCE /* SHA1.swift in Sources */, + 8E9D8397BA554CE359B42FBAE1BCBD08 /* SHA2.swift in Sources */, + 6F5501B927A46CCF4F52A4CD7C1E33EC /* SHA3.swift in Sources */, + EC44355442C7E895D8BDD437C8FC1A50 /* String+Extension.swift in Sources */, + 395968454CBE736B64F63A633E0B68E4 /* String+FoundationExtension.swift in Sources */, + 3D87B3B0FD6435BB315EFC905422302C /* UInt16+Extension.swift in Sources */, + B856B5034004C190E8B2B8A2F038527D /* UInt32+Extension.swift in Sources */, + 8131E626B940699512588EDA2CAEBD34 /* UInt64+Extension.swift in Sources */, + 19F209E95649F61A5101303CA297098B /* UInt8+Extension.swift in Sources */, + B90AA1D193D9DA983C60B24EB3B5A189 /* Updatable.swift in Sources */, + 1D0578185B1E764BC61EC316C3D29B02 /* Utils+Foundation.swift in Sources */, + B2F16B6F4D5D5944929BF9B416772565 /* Utils.swift in Sources */, + CD11E1CA4EC90EB672AB603B3BD82EAE /* ZeroPadding.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 5FD94ABB484E82B54643238DEEFF037E /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = KeychainAccess; - target = 1630C0AC0CCE2704C3F517D1DFD56586 /* KeychainAccess */; - targetProxy = 12182EA804E368C696A82EA3D0847BB0 /* PBXContainerItemProxy */; - }; - 73E88593784AE5C82210F2FFCD7D11C3 /* PBXTargetDependency */ = { + 3DAFE240C6ED1B623256A9D4FFC83BBE /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = CryptoSwift; - target = 16F79934C9B37C10283012C65CA992AB /* CryptoSwift */; - targetProxy = 4E4D75D7D535AA2262C115253513E932 /* PBXContainerItemProxy */; + target = DE16D66575B4E29D54F3F5DB5CD606FB /* CryptoSwift */; + targetProxy = FC21C348DB5F26AD02A6B216B82EFEF5 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 33085B251B90A9185BB0694E05E90DC0 /* Release */ = { + 017E033AE3B882C8F1B1B33FDC2041BA /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F99AC4A7C33349E8C128532FB74A2911 /* CryptoSwift.xcconfig */; + baseConfigurationReference = 07F9C623D91918F13560D807485D5154 /* Pods-Friendvatars.release.xcconfig */; buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/CryptoSwift/CryptoSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/CryptoSwift/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/CryptoSwift/CryptoSwift.modulemap"; - PRODUCT_MODULE_NAME = CryptoSwift; - PRODUCT_NAME = CryptoSwift; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - 478A30F15DB5B2AAE0B1427A0EC08EC8 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 35FBA3370551A17B5EC53FF4B5482159 /* Pods-Friendvatars.debug.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -708,16 +553,115 @@ OTHER_LIBTOOLFLAGS = ""; PODS_ROOT = "$(SRCROOT)"; PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + PRODUCT_NAME = Pods_Friendvatars; SDKROOT = iphoneos; SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 1EC6E80B3F946C3B0B2629BBD4A56103 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 958C3E35DD866E890E4BA5EB00450218 /* CryptoSwift.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/CryptoSwift/CryptoSwift-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CryptoSwift/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/CryptoSwift/CryptoSwift.modulemap"; + PRODUCT_NAME = CryptoSwift; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 85B95B1234E227C814CCC2C7902D0916 /* Release */ = { + 2C2593E9D2A040F577AC26A8D58D678F /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 097F053EAB3A78D608DA971D6D318270 /* Pods-Friendvatars.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = "Target Support Files/Pods-Friendvatars/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-Friendvatars/Pods-Friendvatars.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_Friendvatars; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 34AAD49A66933A8C44FFF8FF0FD3E041 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 958C3E35DD866E890E4BA5EB00450218 /* CryptoSwift.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/CryptoSwift/CryptoSwift-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/CryptoSwift/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/CryptoSwift/CryptoSwift.modulemap"; + PRODUCT_NAME = CryptoSwift; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + B254DAA6CF0CE39F4A3D11B90A7E059A /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -727,12 +671,10 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -740,7 +682,6 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -749,7 +690,6 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; @@ -769,17 +709,14 @@ GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_VERSION = 4.2; SYMROOT = "${SRCROOT}/../build"; }; name = Release; }; - A73625DEBD810B78234FA1958C191C8C /* Debug */ = { + E4B68EE12B21C47CB798D9B1ECA6D7A7 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -789,12 +726,10 @@ CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; @@ -802,7 +737,6 @@ CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; @@ -811,7 +745,6 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; @@ -833,181 +766,42 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; + MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; STRIP_INSTALLED_PRODUCT = NO; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.2; SYMROOT = "${SRCROOT}/../build"; }; name = Debug; }; - AA98FBE85C02FF3E1D4C48A3800D69B6 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C2078CB2A2671FC94EDB53C270D2E455 /* KeychainAccess.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/KeychainAccess/KeychainAccess-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/KeychainAccess/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/KeychainAccess/KeychainAccess.modulemap"; - PRODUCT_MODULE_NAME = KeychainAccess; - PRODUCT_NAME = KeychainAccess; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - BACDEA29CF12AB67C1BCC44F9DC639EF /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 5692E05105400962A0A6EAC9958B6493 /* Pods-Friendvatars.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-Friendvatars/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-Friendvatars/Pods-Friendvatars.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - BE86D9D7117C944B124740F8E60E620F /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F99AC4A7C33349E8C128532FB74A2911 /* CryptoSwift.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/CryptoSwift/CryptoSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/CryptoSwift/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/CryptoSwift/CryptoSwift.modulemap"; - PRODUCT_MODULE_NAME = CryptoSwift; - PRODUCT_NAME = CryptoSwift; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - FE7F9698AABDE060F38D8CE93838F298 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = C2078CB2A2671FC94EDB53C270D2E455 /* KeychainAccess.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/KeychainAccess/KeychainAccess-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/KeychainAccess/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/KeychainAccess/KeychainAccess.modulemap"; - PRODUCT_MODULE_NAME = KeychainAccess; - PRODUCT_NAME = KeychainAccess; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_VERSION = 4.2; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - A73625DEBD810B78234FA1958C191C8C /* Debug */, - 85B95B1234E227C814CCC2C7902D0916 /* Release */, + E4B68EE12B21C47CB798D9B1ECA6D7A7 /* Debug */, + B254DAA6CF0CE39F4A3D11B90A7E059A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 4BC26EB508840B6B2446C27E690E60BC /* Build configuration list for PBXNativeTarget "KeychainAccess" */ = { + A2A1FC75CCCDCE10818AD7D9284ED293 /* Build configuration list for PBXNativeTarget "CryptoSwift" */ = { isa = XCConfigurationList; buildConfigurations = ( - FE7F9698AABDE060F38D8CE93838F298 /* Debug */, - AA98FBE85C02FF3E1D4C48A3800D69B6 /* Release */, + 1EC6E80B3F946C3B0B2629BBD4A56103 /* Debug */, + 34AAD49A66933A8C44FFF8FF0FD3E041 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 55768D7603E0ABAF7186C5391B70871A /* Build configuration list for PBXNativeTarget "Pods-Friendvatars" */ = { + C7F52FD6C19C202D3233FF9CF94E0737 /* Build configuration list for PBXNativeTarget "Pods-Friendvatars" */ = { isa = XCConfigurationList; buildConfigurations = ( - 478A30F15DB5B2AAE0B1427A0EC08EC8 /* Debug */, - BACDEA29CF12AB67C1BCC44F9DC639EF /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C5F1ED38B025B97D267FF462BB6FE9E4 /* Build configuration list for PBXNativeTarget "CryptoSwift" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - BE86D9D7117C944B124740F8E60E620F /* Debug */, - 33085B251B90A9185BB0694E05E90DC0 /* Release */, + 2C2593E9D2A040F577AC26A8D58D678F /* Debug */, + 017E033AE3B882C8F1B1B33FDC2041BA /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/CryptoSwift.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/CryptoSwift.xcscheme deleted file mode 100644 index 86dd710..0000000 --- a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/CryptoSwift.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/KeychainAccess.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/KeychainAccess.xcscheme deleted file mode 100644 index 3ea002b..0000000 --- a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/KeychainAccess.xcscheme +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/Pods-Friendvatars.xcscheme b/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/Pods-Friendvatars.xcscheme deleted file mode 100644 index 1db4055..0000000 --- a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/Pods-Friendvatars.xcscheme +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist b/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist index 9955bc8..9c3e97b 100644 --- a/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/Pods/Pods.xcodeproj/xcuserdata/dawidkubicki.xcuserdatad/xcschemes/xcschememanagement.plist @@ -4,29 +4,16 @@ SchemeUserState - CryptoSwift.xcscheme + CryptoSwift.xcscheme_^#shared#^_ - isShown - - orderHint - 0 - - KeychainAccess.xcscheme - - isShown - orderHint 1 - Pods-Friendvatars.xcscheme + Pods-Friendvatars.xcscheme_^#shared#^_ - isShown - orderHint 2 - SuppressBuildableAutocreation - diff --git a/Pods/Target Support Files/CryptoSwift/CryptoSwift.xcconfig b/Pods/Target Support Files/CryptoSwift/CryptoSwift.xcconfig index d6712ca..834a282 100644 --- a/Pods/Target Support Files/CryptoSwift/CryptoSwift.xcconfig +++ b/Pods/Target Support Files/CryptoSwift/CryptoSwift.xcconfig @@ -1,9 +1,10 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/CryptoSwift +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/CryptoSwift GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 GCC_UNROLL_LOOPS = YES +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/CryptoSwift PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} diff --git a/Pods/Target Support Files/KeychainAccess/Info.plist b/Pods/Target Support Files/KeychainAccess/Info.plist deleted file mode 100644 index c11c2ee..0000000 --- a/Pods/Target Support Files/KeychainAccess/Info.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - ${PRODUCT_BUNDLE_IDENTIFIER} - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - ${PRODUCT_NAME} - CFBundlePackageType - FMWK - CFBundleShortVersionString - 3.1.2 - CFBundleSignature - ???? - CFBundleVersion - ${CURRENT_PROJECT_VERSION} - NSPrincipalClass - - - diff --git a/Pods/Target Support Files/KeychainAccess/KeychainAccess-dummy.m b/Pods/Target Support Files/KeychainAccess/KeychainAccess-dummy.m deleted file mode 100644 index b1cd3bf..0000000 --- a/Pods/Target Support Files/KeychainAccess/KeychainAccess-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_KeychainAccess : NSObject -@end -@implementation PodsDummy_KeychainAccess -@end diff --git a/Pods/Target Support Files/KeychainAccess/KeychainAccess-prefix.pch b/Pods/Target Support Files/KeychainAccess/KeychainAccess-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/Pods/Target Support Files/KeychainAccess/KeychainAccess-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/Pods/Target Support Files/KeychainAccess/KeychainAccess-umbrella.h b/Pods/Target Support Files/KeychainAccess/KeychainAccess-umbrella.h deleted file mode 100644 index 62ce5de..0000000 --- a/Pods/Target Support Files/KeychainAccess/KeychainAccess-umbrella.h +++ /dev/null @@ -1,16 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - - -FOUNDATION_EXPORT double KeychainAccessVersionNumber; -FOUNDATION_EXPORT const unsigned char KeychainAccessVersionString[]; - diff --git a/Pods/Target Support Files/KeychainAccess/KeychainAccess.modulemap b/Pods/Target Support Files/KeychainAccess/KeychainAccess.modulemap deleted file mode 100644 index f26e6b1..0000000 --- a/Pods/Target Support Files/KeychainAccess/KeychainAccess.modulemap +++ /dev/null @@ -1,6 +0,0 @@ -framework module KeychainAccess { - umbrella header "KeychainAccess-umbrella.h" - - export * - module * { export * } -} diff --git a/Pods/Target Support Files/KeychainAccess/KeychainAccess.xcconfig b/Pods/Target Support Files/KeychainAccess/KeychainAccess.xcconfig deleted file mode 100644 index 89b05e1..0000000 --- a/Pods/Target Support Files/KeychainAccess/KeychainAccess.xcconfig +++ /dev/null @@ -1,9 +0,0 @@ -CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/KeychainAccess -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.markdown b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.markdown index 25216f9..01dfca5 100644 --- a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.markdown @@ -14,30 +14,4 @@ Permission is granted to anyone to use this software for any purpose,including c - Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. - This notice may not be removed or altered from any source or binary distribution. - -## KeychainAccess - -The MIT License (MIT) - -Copyright (c) 2014 kishikawa katsumi - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - Generated by CocoaPods - https://cocoapods.org diff --git a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.plist b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.plist index 30bcb6e..dfba6dc 100644 --- a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-acknowledgements.plist @@ -32,38 +32,6 @@ Permission is granted to anyone to use this software for any purpose,including c Type PSGroupSpecifier - - FooterText - The MIT License (MIT) - -Copyright (c) 2014 kishikawa katsumi - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - - License - MIT - Title - KeychainAccess - Type - PSGroupSpecifier - FooterText Generated by CocoaPods - https://cocoapods.org diff --git a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-frameworks.sh b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-frameworks.sh index b95484d..63e9b9c 100755 --- a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-frameworks.sh +++ b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-frameworks.sh @@ -1,28 +1,15 @@ #!/bin/sh set -e -set -u -set -o pipefail - -if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 -fi echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}" SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" -# Used as a return value for each invocation of `strip_invalid_archs` function. -STRIP_BINARY_RETVAL=0 - # This protects against multiple targets copying the same framework dependency at the same time. The solution # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") -# Copies and strips a vendored framework install_framework() { if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then @@ -71,40 +58,21 @@ install_framework() fi } -# Copies and strips a vendored dSYM +# Copies the dSYM of a vendored framework install_dsym() { local source="$1" if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" - - local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then - strip_invalid_archs "$binary" - fi - - if [[ $STRIP_BINARY_RETVAL == 1 ]]; then - # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" - else - # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" - fi + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DWARF_DSYM_FOLDER_PATH}" fi } # Signs a framework with the provided identity code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then # Use the current code_sign_identitiy echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then code_sign_cmd="$code_sign_cmd &" @@ -117,18 +85,10 @@ code_sign_if_enabled() { # Strip invalid architectures strip_invalid_archs() { binary="$1" - # Get architectures for current target binary - binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" - # Intersect them with the architectures we are building for - intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" - # If there are no archs supported by this binary then warn the user - if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." - STRIP_BINARY_RETVAL=0 - return - fi + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" stripped="" - for arch in $binary_archs; do + for arch in $archs; do if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place lipo -remove "$arch" -output "$binary" "$binary" || exit 1 @@ -138,17 +98,14 @@ strip_invalid_archs() { if [[ "$stripped" ]]; then echo "Stripped $binary of architectures:$stripped" fi - STRIP_BINARY_RETVAL=1 } if [[ "$CONFIGURATION" == "Debug" ]]; then install_framework "${BUILT_PRODUCTS_DIR}/CryptoSwift/CryptoSwift.framework" - install_framework "${BUILT_PRODUCTS_DIR}/KeychainAccess/KeychainAccess.framework" fi if [[ "$CONFIGURATION" == "Release" ]]; then install_framework "${BUILT_PRODUCTS_DIR}/CryptoSwift/CryptoSwift.framework" - install_framework "${BUILT_PRODUCTS_DIR}/KeychainAccess/KeychainAccess.framework" fi if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then wait diff --git a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-resources.sh b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-resources.sh index 345301f..a7df440 100755 --- a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-resources.sh +++ b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars-resources.sh @@ -1,13 +1,5 @@ #!/bin/sh set -e -set -u -set -o pipefail - -if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then - # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy - # resources to, so exit 0 (signalling the script phase was successful). - exit 0 -fi mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" @@ -20,7 +12,7 @@ XCASSET_FILES=() # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") -case "${TARGETED_DEVICE_FAMILY:-}" in +case "${TARGETED_DEVICE_FAMILY}" in 1,2) TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" ;; @@ -100,7 +92,7 @@ if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then fi rm -f "$RESOURCES_TO_COPY" -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] then # Find all other xcassets (this unfortunately includes those of path pods and other targets). OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) @@ -110,9 +102,5 @@ then fi done <<<"$OTHER_XCASSETS" - if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - else - printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" - fi + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" fi diff --git a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.debug.xcconfig b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.debug.xcconfig index 43d4a07..e3fff9c 100644 --- a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.debug.xcconfig +++ b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.debug.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CryptoSwift" "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CryptoSwift" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/CryptoSwift/CryptoSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "CryptoSwift" -framework "KeychainAccess" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/CryptoSwift/CryptoSwift.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "CryptoSwift" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods diff --git a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.release.xcconfig b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.release.xcconfig index 43d4a07..e3fff9c 100644 --- a/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.release.xcconfig +++ b/Pods/Target Support Files/Pods-Friendvatars/Pods-Friendvatars.release.xcconfig @@ -1,11 +1,11 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES -FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/CryptoSwift" "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess" +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/CryptoSwift" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/CryptoSwift/CryptoSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/KeychainAccess/KeychainAccess.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "CryptoSwift" -framework "KeychainAccess" +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/CryptoSwift/CryptoSwift.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "CryptoSwift" OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" -PODS_BUILD_DIR = ${BUILD_DIR} -PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods