Skip to content

Commit

Permalink
[#201] Fix pinning configuration in test apps
Browse files Browse the repository at this point in the history
  • Loading branch information
nabla-c0d3 committed Jun 3, 2019
1 parent 3ac15d1 commit a28ecf8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TrustKitDemo/TrustKitDemo-ObjC/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

// Valid SPKI hashes to demonstrate success
kTSKPublicKeyHashes : @[
@"58qRu/uxh4gFezqAcERupSkRYBlBAvfcw7mEjGPLnNU=", // CA key: COMODO ECC Certification Authority
@"YLh1dUR9y6Kja30RrAn7JKnbQG/uEtLMkBgFF2Fuihg=", // Let's Encrypt
@"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", // Fake key but 2 pins need to be provided
]
}}};
Expand Down
4 changes: 2 additions & 2 deletions TrustKitDemo/TrustKitDemo-Swift/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

// Valid pin and backup pin
kTSKPublicKeyHashes: [
"58qRu/uxh4gFezqAcERupSkRYBlBAvfcw7mEjGPLnNU=",
"pL1+qb9HTMRZJmuC/bB/ZI9d302BYrrqiVuRyW+DGrU="
"YLh1dUR9y6Kja30RrAn7JKnbQG/uEtLMkBgFF2Fuihg=",
"BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB="
],
kTSKReportUris:["https://overmind.datatheorem.com/trustkit/report"],
]
Expand Down

0 comments on commit a28ecf8

Please sign in to comment.