Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pentest #94

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ Carthage/Build
# AppCode
.idea

Dependencies/
Dependencies/
SPM/Sources/OneginiSDKiOS.xcframework
8 changes: 4 additions & 4 deletions Configuration/Production/OneginiConfigModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ @implementation OneginiConfigModel

+ (NSArray *)certificates
{
return @[@"MIIFjDCCA3SgAwIBAgINAgO8UKMnU/CRgCLt8TANBgkqhkiG9w0BAQsFADBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjEwHhcNMjAwODEzMDAwMDQyWhcNMjcwOTMwMDAwMDQyWjBGMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzETMBEGA1UEAxMKR1RTIENBIDFQNTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALOC8CSMvy2Hr7LZp676yrpE1ls+/rL3smUW3N4Q6E8tEFhaKIaHoe5qs6DZdU9/oVIBi1WoSlsGSMg2EiWrifnyI1+dYGX5XNq+OuhcbX2c0IQYhTDNTpvsPNiz4ZbU88ULZduPsHTL9h7zePGslcXdc8MxiIGvdKpv/QzjBZXwxRBPZWP6oK/GGD3Fod+XedcFibMwsHSuPZIQa4wVd90LBFf7gQPd6iI01eVWsvDEjUGxwwLbYu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aYsAm5VsQIwJonMaAFi54mrfhfoFNZEfuNMSQ6/bIBiNLiyoX46FohQvKeIoJ99cx7sUkFN7uJW"]; //Base64Certificates
}

+ (NSDictionary *)configuration
{
return @{
@"ONGServerType" : @"access",
@"ONGServerVersion" : @"1.42.0",
@"ONGServerVersion" : @"1.54.3",
@"ONGAppIdentifier" : @"ExampleApp",
@"ONGAppPlatform" : @"ios",
@"ONGAppVersion" : @"6.2.4",
@"ONGAppVersion" : @"6.3.2",
@"ONGAppBaseURL" : @"https://mobile-security-proxy.onegini.com",
@"ONGResourceBaseURL" : @"https://mobile-security-proxy.onegini.com/resources/",
@"ONGRedirectURL" : @"oneginiexample://loginsuccess",
Expand All @@ -25,7 +25,7 @@ + (NSDictionary *)configuration

+ (NSString *)serverPublicKey
{
return @"6812B80D3D4434452C5C271E52F94D39C4B3AC4BBEDE0A3D9631A3304BCE3C76";
return @"6CE2FCE1F6A56356E20D4EE95043333B0B36AAA9E2EBE7FC700BC0B302DAC8FB";
}

@end
7 changes: 0 additions & 7 deletions Configuration/Production/SecurityController.h

This file was deleted.

13 changes: 0 additions & 13 deletions Configuration/Production/SecurityController.m

This file was deleted.

477 changes: 52 additions & 425 deletions OneWelcomeExampleApp.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"originHash" : "8d0835f02b8b398acc9ad0fc012fa26aef0864b00ee3a8c66b3ac14d3a612222",
"pins" : [
{
"identity" : "OneWelcome.SDKDependencies",
"kind" : "registry",
"location" : "",
"state" : {
"version" : "0.9.2"
}
},
{
"identity" : "OneWelcome.SDKSPM",
"kind" : "registry",
"location" : "",
"state" : {
"version" : "12.4.0"
}
}
],
"version" : 3
}
10 changes: 0 additions & 10 deletions OneWelcomeExampleApp.xcworkspace/contents.xcworkspacedata

This file was deleted.

This file was deleted.

141 changes: 2 additions & 139 deletions OneWelcomeExampleApp/Assets.xcassets/AppIcon.appiconset/Contents.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,146 +1,9 @@
{
"images" : [
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"scale" : "1x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "40x40"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"scale" : "1x",
"size" : "57x57"
},
{
"idiom" : "iphone",
"scale" : "2x",
"size" : "57x57"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "2x",
"size" : "60x60"
},
{
"filename" : "[email protected]",
"idiom" : "iphone",
"scale" : "3x",
"size" : "60x60"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "20x20"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "29x29"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "40x40"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "50x50"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "50x50"
},
{
"idiom" : "ipad",
"scale" : "1x",
"size" : "72x72"
},
{
"idiom" : "ipad",
"scale" : "2x",
"size" : "72x72"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "1x",
"size" : "76x76"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "76x76"
},
{
"filename" : "[email protected]",
"idiom" : "ipad",
"scale" : "2x",
"size" : "83.5x83.5"
},
{
"filename" : "[email protected]",
"idiom" : "ios-marketing",
"scale" : "1x",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
}
],
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion OneWelcomeExampleApp/OneWelcomeExampleApp.entitlements
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<string>development</string>
<key>keychain-access-groups</key>
<array>
<string>$(AppIdentifierPrefix)com.onewelcome.OneginiExampleAppSwift</string>
<string>$(AppIdentifierPrefix)com.onewelcome.OneginiExampleAppSwift.prod</string>
</array>
</dict>
</plist>
2 changes: 2 additions & 0 deletions OneWelcomeExampleApp/SupportingFiles/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,7 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
</dict>
</plist>
42 changes: 0 additions & 42 deletions Podfile

This file was deleted.

66 changes: 0 additions & 66 deletions Podfile.lock

This file was deleted.

Loading