react-native-security-suite 0.5.12 → 0.5.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/src/main/java/com/securitysuite/Sslpinning.java +1 -1
- package/ios/SecuritySuite.xcodeproj/project.xcworkspace/contents.xcworkspacedata +3 -0
- package/ios/SecuritySuite.xcodeproj/project.xcworkspace/xcuserdata/Navabi.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/package.json +1 -1
- package/ios/SecuritySuite.xcodeproj/project.xcworkspace/xcuserdata/mohammadnavabi.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/ios/SecuritySuite.xcodeproj/xcuserdata/mohammadnavabi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +0 -6
- /package/ios/SecuritySuite.xcodeproj/xcuserdata/{mohammadnavabi.xcuserdatad → Navabi.xcuserdatad}/xcschemes/xcschememanagement.plist +0 -0
|
@@ -136,7 +136,7 @@ public class Sslpinning {
|
|
|
136
136
|
|
|
137
137
|
ReadableArray hashes = options.getArray("certificates");
|
|
138
138
|
for (int i = 0; i < hashes.size(); i++) {
|
|
139
|
-
certificatePinner.add(hostname, hashes.getString(i));
|
|
139
|
+
certificatePinner.add(hostname, "sha256/" + hashes.getString(i).replaceAll("sha256/", ""));
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
return certificatePinner.build();
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|