diff --git a/app/README.md b/app/README.md index 7018488c..a6f68b44 100644 --- a/app/README.md +++ b/app/README.md @@ -55,7 +55,7 @@ To see the Android logs you'll have to use the Android Studio Logcat. > :warning: To run the app on iOS, you will need a paying Apple Developer account. Free accounts can't run apps that use NFC reading.
> Contact us if you need it to contribute. -Open the ios project on Xcode and add your provisionning profile in Targets > ProofOfPassport > Signing and Capabilities +Open the ios project on Xcode and add your provisionning profile in Targets > OpenPassport > Signing and Capabilities Then, install pods: ``` diff --git a/app/android/app/build.gradle b/app/android/app/build.gradle index 9d4fc5cd..b71a33fa 100644 --- a/app/android/app/build.gradle +++ b/app/android/app/build.gradle @@ -75,9 +75,9 @@ android { compileSdkVersion rootProject.ext.compileSdkVersion - namespace "com.proofofpassport" + namespace "com.proofofpassportapp" defaultConfig { - applicationId "com.proofofpassport" + applicationId "com.proofofpassportapp" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 9 diff --git a/app/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java b/app/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java index f139f9ad..a2c8a43f 100644 --- a/app/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java +++ b/app/android/app/src/debug/java/com/awesomeproject/ReactNativeFlipper.java @@ -4,7 +4,7 @@ *

This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ -package com.proofofpassport; +package com.proofofpassportapp; import android.content.Context; import com.facebook.flipper.android.AndroidFlipperClient; diff --git a/app/android/app/src/main/AndroidManifest.xml b/app/android/app/src/main/AndroidManifest.xml index 7ebb2a85..9a7cf991 100644 --- a/app/android/app/src/main/AndroidManifest.xml +++ b/app/android/app/src/main/AndroidManifest.xml @@ -1,7 +1,7 @@ diff --git a/app/android/app/src/main/cpp/CMakeLists.txt b/app/android/app/src/main/cpp/CMakeLists.txt index 6dbed2ec..eeae3561 100644 --- a/app/android/app/src/main/cpp/CMakeLists.txt +++ b/app/android/app/src/main/cpp/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.22.1) -project("proofofpassport") +project("proofofpassportapp") include_directories(include) @@ -18,7 +18,7 @@ add_library(disclose SHARED IMPORTED) set_target_properties(disclose PROPERTIES IMPORTED_LOCATION ${CMAKE_SOURCE_DIR}/lib/libwitnesscalc_disclose.so) add_library(${CMAKE_PROJECT_NAME} SHARED - proofofpassport.cpp) + proofofpassportapp.cpp) target_link_libraries(${CMAKE_PROJECT_NAME} rapidsnark register_sha256WithRSAEncryption_65537 disclose) diff --git a/app/android/app/src/main/cpp/proofofpassport.cpp b/app/android/app/src/main/cpp/proofofpassportapp.cpp similarity index 95% rename from app/android/app/src/main/cpp/proofofpassport.cpp rename to app/android/app/src/main/cpp/proofofpassportapp.cpp index 0740da9f..4e0c9b2f 100644 --- a/app/android/app/src/main/cpp/proofofpassport.cpp +++ b/app/android/app/src/main/cpp/proofofpassportapp.cpp @@ -9,7 +9,7 @@ using namespace std; extern "C" JNIEXPORT jint JNICALL -Java_com_proofofpassport_prover_ZKPTools_groth16_1prover(JNIEnv *env, jobject thiz, +Java_com_proofofpassportapp_prover_ZKPTools_groth16_1prover(JNIEnv *env, jobject thiz, jbyteArray zkey_buffer, jlong zkey_size, jbyteArray wtns_buffer, jlong wtns_size, jbyteArray proof_buffer, jlongArray proof_size, @@ -49,7 +49,7 @@ Java_com_proofofpassport_prover_ZKPTools_groth16_1prover(JNIEnv *env, jobject th extern "C" JNIEXPORT jint JNICALL -Java_com_proofofpassport_prover_ZKPTools_witnesscalc_1register_1sha256WithRSAEncryption_165537(JNIEnv *env, jobject thiz, +Java_com_proofofpassportapp_prover_ZKPTools_witnesscalc_1register_1sha256WithRSAEncryption_165537(JNIEnv *env, jobject thiz, jbyteArray circuit_buffer, jlong circuit_size, jbyteArray json_buffer, jlong json_size, jbyteArray wtns_buffer, @@ -86,7 +86,7 @@ Java_com_proofofpassport_prover_ZKPTools_witnesscalc_1register_1sha256WithRSAEnc extern "C" JNIEXPORT jint JNICALL -Java_com_proofofpassport_prover_ZKPTools_witnesscalc_1disclose(JNIEnv *env, jobject thiz, +Java_com_proofofpassportapp_prover_ZKPTools_witnesscalc_1disclose(JNIEnv *env, jobject thiz, jbyteArray circuit_buffer, jlong circuit_size, jbyteArray json_buffer, jlong json_size, jbyteArray wtns_buffer, @@ -122,7 +122,7 @@ Java_com_proofofpassport_prover_ZKPTools_witnesscalc_1disclose(JNIEnv *env, jobj } extern "C" -JNIEXPORT jint JNICALL Java_com_proofofpassport_prover_ZKPTools_groth16_1prover_1zkey_1file( +JNIEXPORT jint JNICALL Java_com_proofofpassportapp_prover_ZKPTools_groth16_1prover_1zkey_1file( JNIEnv *env, jobject obj, jstring zkeyPath, jbyteArray wtnsBuffer, jlong wtnsSize, diff --git a/app/android/app/src/main/java/com/awesomeproject/CameraActivityModule.java b/app/android/app/src/main/java/com/awesomeproject/CameraActivityModule.java index 1c52748c..658dc443 100644 --- a/app/android/app/src/main/java/com/awesomeproject/CameraActivityModule.java +++ b/app/android/app/src/main/java/com/awesomeproject/CameraActivityModule.java @@ -1,4 +1,4 @@ -package com.proofofpassport; +package com.proofofpassportapp; import android.app.Activity; diff --git a/app/android/app/src/main/java/com/awesomeproject/CameraActivityPackage.java b/app/android/app/src/main/java/com/awesomeproject/CameraActivityPackage.java index edbd7343..54b3a0bc 100644 --- a/app/android/app/src/main/java/com/awesomeproject/CameraActivityPackage.java +++ b/app/android/app/src/main/java/com/awesomeproject/CameraActivityPackage.java @@ -1,4 +1,4 @@ -package com.proofofpassport; +package com.proofofpassportapp; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; diff --git a/app/android/app/src/main/java/com/awesomeproject/MainActivity.java b/app/android/app/src/main/java/com/awesomeproject/MainActivity.java index 7db9d157..e8500f6f 100644 --- a/app/android/app/src/main/java/com/awesomeproject/MainActivity.java +++ b/app/android/app/src/main/java/com/awesomeproject/MainActivity.java @@ -1,4 +1,4 @@ -package com.proofofpassport; +package com.proofofpassportapp; import android.app.PendingIntent; import android.content.Intent; @@ -28,7 +28,7 @@ public class MainActivity extends ReactActivity { */ @Override protected String getMainComponentName() { - return "ProofOfPassport"; + return "OpenPassport"; } /** diff --git a/app/android/app/src/main/java/com/awesomeproject/MainApplication.java b/app/android/app/src/main/java/com/awesomeproject/MainApplication.java index 7956205b..7643eb61 100644 --- a/app/android/app/src/main/java/com/awesomeproject/MainApplication.java +++ b/app/android/app/src/main/java/com/awesomeproject/MainApplication.java @@ -1,4 +1,4 @@ -package com.proofofpassport; +package com.proofofpassportapp; import android.app.Application; import com.facebook.react.PackageList; @@ -8,12 +8,12 @@ import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; import com.facebook.react.defaults.DefaultReactNativeHost; import com.facebook.soloader.SoLoader; -import com.proofofpassport.CameraActivityPackage; +import com.proofofpassportapp.CameraActivityPackage; import io.tradle.nfc.RNPassportReaderPackage; import java.util.List; -import com.proofofpassport.prover.ProverPackage; +import com.proofofpassportapp.prover.ProverPackage; import com.rnfs.RNFSPackage; -import com.proofofpassport.QRCodeScannerPackage; +import com.proofofpassportapp.QRCodeScannerPackage; public class MainApplication extends Application implements ReactApplication { diff --git a/app/android/app/src/main/java/com/awesomeproject/ProverModule.kt b/app/android/app/src/main/java/com/awesomeproject/ProverModule.kt index 05144962..9e9b5997 100644 --- a/app/android/app/src/main/java/com/awesomeproject/ProverModule.kt +++ b/app/android/app/src/main/java/com/awesomeproject/ProverModule.kt @@ -1,4 +1,4 @@ -package com.proofofpassport.prover +package com.proofofpassportapp.prover import com.facebook.react.bridge.ReactApplicationContext import com.facebook.react.bridge.ReactContextBaseJavaModule @@ -18,7 +18,7 @@ import kotlinx.coroutines.withContext import com.google.gson.Gson import com.google.gson.GsonBuilder -import com.proofofpassport.R +import com.proofofpassportapp.R class ProverModule(reactContext: ReactApplicationContext) : ReactContextBaseJavaModule(reactContext) { private val TAG = "ProverModule" @@ -152,7 +152,7 @@ class ZKPTools(val context: Context) { init { System.loadLibrary("rapidsnark"); - System.loadLibrary("proofofpassport") + System.loadLibrary("proofofpassportapp") } fun openRawResourceAsByteArray(resourceName: Int): ByteArray { diff --git a/app/android/app/src/main/java/com/awesomeproject/ProverPackage.kt b/app/android/app/src/main/java/com/awesomeproject/ProverPackage.kt index 3ff8c6e5..263667cf 100644 --- a/app/android/app/src/main/java/com/awesomeproject/ProverPackage.kt +++ b/app/android/app/src/main/java/com/awesomeproject/ProverPackage.kt @@ -1,4 +1,4 @@ -package com.proofofpassport.prover +package com.proofofpassportapp.prover import com.facebook.react.ReactPackage import com.facebook.react.bridge.NativeModule diff --git a/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerModule.java b/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerModule.java index 0e4a4ff5..cc3ce0be 100644 --- a/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerModule.java +++ b/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerModule.java @@ -1,4 +1,4 @@ -package com.proofofpassport; +package com.proofofpassportapp; import android.app.Activity; import android.content.Intent; diff --git a/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerPackage.java b/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerPackage.java index 20d2d4f5..7faa15b2 100644 --- a/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerPackage.java +++ b/app/android/app/src/main/java/com/awesomeproject/QRCodeScannerPackage.java @@ -1,4 +1,4 @@ -package com.proofofpassport; +package com.proofofpassportapp; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; diff --git a/app/android/app/src/release/java/com/awesomeproject/ReactNativeFlipper.java b/app/android/app/src/release/java/com/awesomeproject/ReactNativeFlipper.java index 8aa8fd07..c81c96e8 100644 --- a/app/android/app/src/release/java/com/awesomeproject/ReactNativeFlipper.java +++ b/app/android/app/src/release/java/com/awesomeproject/ReactNativeFlipper.java @@ -4,7 +4,7 @@ *

This source code is licensed under the MIT license found in the LICENSE file in the root * directory of this source tree. */ -package com.proofofpassport; +package com.proofofpassportapp; import android.content.Context; import com.facebook.react.ReactInstanceManager; diff --git a/app/app.json b/app/app.json index ce54acf3..d2eae1ed 100644 --- a/app/app.json +++ b/app/app.json @@ -1,4 +1,4 @@ { - "name": "ProofOfPassport", + "name": "OpenPassport", "displayName": "OpenPassport" } diff --git a/app/countries.md b/app/countries.md deleted file mode 100644 index 40b2aae5..00000000 --- a/app/countries.md +++ /dev/null @@ -1,30 +0,0 @@ -Working: -- France -- Guy from ETH Global Paris (Moldavia ? Bulgaria ?) -- Malaysia - -Crashing: -- Thailand -- Britain - - - E FATAL EXCEPTION: main - Process: com.proofofpassport, PID: 14479 - java.lang.ClassCastException: org.bouncycastle.jcajce.provider.asymmetric.ec.BCECPublicKey cannot be cast to java.security.interfaces.RSAPublicKey - at io.tradle.nfc.RNPassportReaderModule$ReadTask.onPostExecute(RNPassportReaderModule.kt:510) - at io.tradle.nfc.RNPassportReaderModule$ReadTask.onPostExecute(RNPassportReaderModule.kt:238) - at android.os.AsyncTask.finish(AsyncTask.java:771) - at android.os.AsyncTask.access$900(AsyncTask.java:199) - at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:788) - at android.os.Handler.dispatchMessage(Handler.java:106) - at android.os.Looper.loopOnce(Looper.java:226) - at android.os.Looper.loop(Looper.java:313) - at android.app.ActivityThread.main(ActivityThread.java:8751) - at java.lang.reflect.Method.invoke(Native Method) - at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571) - at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135) -2023-10-31 16:41:37.052 625-625 SurfaceFlinger pid-625 E Attempt to update InputPolicyFlags without permission ACCESS_SURFACE_FLINGER -2023-10-31 16:41:37.069 625-625 SurfaceFlinger pid-625 E Attempt to update InputPolicyFlags without permission ACCESS_SURFACE_FLINGER -2023-10-31 16:41:37.088 625-625 SurfaceFlinger pid-625 E Attempt to update InputPolicyFlags without permission ACCESS_SURFACE_FLINGER -2023-10-31 16:41:37.102 625-625 SurfaceFlinger pid-625 E Attempt to update InputPolicyFlags without permission ACCESS_SURFACE_FLINGER -2023-10-31 16:41:37.108 1377-2420 TaskStackL...erAbstract pid-1377 E onTaskSnapshotChanged calle \ No newline at end of file diff --git a/app/deployments/artifacts/Deploy_Registry#ProofOfPassportRegister.dbg.json b/app/deployments/artifacts/Deploy_Registry#OpenPassportRegister.dbg.json similarity index 100% rename from app/deployments/artifacts/Deploy_Registry#ProofOfPassportRegister.dbg.json rename to app/deployments/artifacts/Deploy_Registry#OpenPassportRegister.dbg.json diff --git a/app/deployments/artifacts/Deploy_Registry#ProofOfPassportRegister.json b/app/deployments/artifacts/Deploy_Registry#OpenPassportRegister.json similarity index 99% rename from app/deployments/artifacts/Deploy_Registry#ProofOfPassportRegister.json rename to app/deployments/artifacts/Deploy_Registry#OpenPassportRegister.json index 2c6aad42..40f693a7 100644 --- a/app/deployments/artifacts/Deploy_Registry#ProofOfPassportRegister.json +++ b/app/deployments/artifacts/Deploy_Registry#OpenPassportRegister.json @@ -1,7 +1,7 @@ { "_format": "hh-sol-artifact-1", - "contractName": "ProofOfPassportRegister", - "sourceName": "contracts/ProofOfPassportRegister.sol", + "contractName": "OpenPassportRegister", + "sourceName": "contracts/OpenPassportRegister.sol", "abi": [ { "inputs": [ diff --git a/app/deployments/deployed_addresses.json b/app/deployments/deployed_addresses.json index b2fb1e7e..906746df 100644 --- a/app/deployments/deployed_addresses.json +++ b/app/deployments/deployed_addresses.json @@ -6,6 +6,6 @@ "Deploy_Registry#Verifier_dsc_sha256_rsa_4096": "0xFD3AFBb0E0565cc28E99d9e11629c4c20e1e517D", "Deploy_Registry#Verifier_register_sha1WithRSAEncryption_65537": "0x434547E86530A583137c9990ffb87682F0d5ca48", "Deploy_Registry#Verifier_register_sha256WithRSAEncryption_65537": "0xDc5e3E81b4b3bC22f79C3a90dbb57EBB9aEdAAfF", - "Deploy_Registry#ProofOfPassportRegister": "0x3F346FFdC5d583e4126AF01A02Ac5b9CdB3f1909", + "Deploy_Registry#OpenPassportRegister": "0x3F346FFdC5d583e4126AF01A02Ac5b9CdB3f1909", "Deploy_Registry#SBT": "0x33f41D706587a7AC6c2061B1893e6eb29615822B" } \ No newline at end of file diff --git a/app/ios/MRZScannerModule.m b/app/ios/MRZScannerModule.m index 31391935..00aefd9e 100644 --- a/app/ios/MRZScannerModule.m +++ b/app/ios/MRZScannerModule.m @@ -1,6 +1,6 @@ // // MRZScannerModule.m -// ProofOfPassport +// OpenPassport // // Created by Rémi Colin on 27/02/2024. // diff --git a/app/ios/MRZScannerModule.swift b/app/ios/MRZScannerModule.swift index ada2e1d4..2989c4e4 100644 --- a/app/ios/MRZScannerModule.swift +++ b/app/ios/MRZScannerModule.swift @@ -1,6 +1,6 @@ // // MRZScannerModule.swift -// ProofOfPassport +// OpenPassport // // Created by Rémi Colin on 27/02/2024. // diff --git a/app/ios/ProofOfPassport-Bridging-Header.h b/app/ios/OpenPassport-Bridging-Header.h similarity index 100% rename from app/ios/ProofOfPassport-Bridging-Header.h rename to app/ios/OpenPassport-Bridging-Header.h diff --git a/app/ios/ProofOfPassport.xcodeproj/project.pbxproj b/app/ios/OpenPassport.xcodeproj/project.pbxproj similarity index 87% rename from app/ios/ProofOfPassport.xcodeproj/project.pbxproj rename to app/ios/OpenPassport.xcodeproj/project.pbxproj index 398035b1..24ece728 100644 --- a/app/ios/ProofOfPassport.xcodeproj/project.pbxproj +++ b/app/ios/OpenPassport.xcodeproj/project.pbxproj @@ -17,7 +17,6 @@ 05E2174E2E7E48EB80B9C8D8 /* Luciole-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = ABB740B68A8141229E6118AC /* Luciole-Bold.ttf */; }; 05EDEDC62B52D25D00AA51AD /* Prover.m in Sources */ = {isa = PBXBuildFile; fileRef = 05EDEDC42B52D25D00AA51AD /* Prover.m */; }; 05EDEDC72B52D25D00AA51AD /* Prover.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05EDEDC52B52D25D00AA51AD /* Prover.swift */; }; - 0651723A94C70A2B31E3E4F8 /* Pods_ProofOfPassport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAAF621B99F62C9ED35AA07 /* Pods_ProofOfPassport.framework */; }; 0A6918EB0654476189741475 /* Inter-Light.otf in Resources */ = {isa = PBXBuildFile; fileRef = 780F6F2600AE4EC1B21B6F44 /* Inter-Light.otf */; }; 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; @@ -42,7 +41,6 @@ 6959CC40713D4D42AA56850D /* Luciole-Regular-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8720D4D8B8BC41B79088D43C /* Luciole-Regular-Italic.ttf */; }; 6FA6BA98BE3F485982F5E962 /* Inter-SemiBold.otf in Resources */ = {isa = PBXBuildFile; fileRef = 666078AFC2DC4894ABC19DA5 /* Inter-SemiBold.otf */; }; 749862C5A266413FBE508618 /* slkscr.woff in Resources */ = {isa = PBXBuildFile; fileRef = 98413C61772F41BD96F279F5 /* slkscr.woff */; }; - 75E785E6A486EA107852C8A6 /* Pods_ProofOfPassport_ProofOfPassportTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CFAE0EE7E1942128592D0CC4 /* Pods_ProofOfPassport_ProofOfPassportTests.framework */; }; 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; 8362BCF2197E445C9CAFFD53 /* Inter-MediumItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 60F5BB028A4E49588D71E6CE /* Inter-MediumItalic.otf */; }; 905B70052A72767900AFA232 /* PassportReader.swift in Sources */ = {isa = PBXBuildFile; fileRef = 905B70042A72767900AFA232 /* PassportReader.swift */; }; @@ -52,7 +50,9 @@ 98D6CE33FC02453794D8DB08 /* slkscr.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 110D16BAD3FA4513BEA89A3A /* slkscr.ttf */; }; B7C1F08B40CC4C1985152F72 /* Inter-SemiBoldItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = C03CCA67A92F47D59CDA16E5 /* Inter-SemiBoldItalic.otf */; }; B9E3D3D20C9F4863A67B66D3 /* Inter-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = 53AEBBB143534D68B7792C46 /* Inter-Medium.otf */; }; + C942C431B15D9EB7F90220BE /* Pods_OpenPassport_OpenPassportTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC752CDC19F5CA03C154E950 /* Pods_OpenPassport_OpenPassportTests.framework */; }; C9B733B168F84BBA818C6CB8 /* Inter-BlackItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 0C76A5D3C00C4D19B7624F46 /* Inter-BlackItalic.otf */; }; + CA9CD86025E82C8AE5193959 /* Pods_OpenPassport.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B3521C927F0DD22505739205 /* Pods_OpenPassport.framework */; }; CC99B59A281C4B6497C14141 /* Luciole-Bold-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F59F295E9CC54539B2C48953 /* Luciole-Bold-Italic.ttf */; }; E4BC7CC193684992A11E3135 /* Inter-ExtraBoldItalic.otf in Resources */ = {isa = PBXBuildFile; fileRef = 5686BD657D224A089EAFB825 /* Inter-ExtraBoldItalic.otf */; }; E4E0715B819049EFACAF2AEE /* Luciole-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 714371FB26B944FFBE7F0B29 /* Luciole-Regular.ttf */; }; @@ -67,31 +67,31 @@ containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 13B07F861A680F5B00A75B9A; - remoteInfo = ProofOfPassport; + remoteInfo = OpenPassport; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 00E356EE1AD99517003FC87E /* ProofOfPassportTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ProofOfPassportTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 00E356EE1AD99517003FC87E /* OpenPassportTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = OpenPassportTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 0569F35A2BBC900D006670BD /* librapidsnark.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = librapidsnark.a; sourceTree = ""; }; 0569F35E2BBC98C9006670BD /* libfq.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libfq.a; sourceTree = ""; }; 058516D22BF49B91006A14DA /* libwitnesscalc_register_sha256WithRSAEncryption_65537.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libwitnesscalc_register_sha256WithRSAEncryption_65537.a; sourceTree = ""; }; 058516D32BF49B91006A14DA /* libwitnesscalc_disclose.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libwitnesscalc_disclose.a; sourceTree = ""; }; 05D985F22BB331AB00F58EEA /* libgmp.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libgmp.a; sourceTree = ""; }; 05D985F32BB331AB00F58EEA /* libfr.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libfr.a; sourceTree = ""; }; - 05D985FA2BB3344600F58EEA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = ProofOfPassport/Assets.xcassets; sourceTree = ""; }; + 05D985FA2BB3344600F58EEA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = OpenPassport/Assets.xcassets; sourceTree = ""; }; 05EDEDC42B52D25D00AA51AD /* Prover.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Prover.m; sourceTree = ""; }; 05EDEDC52B52D25D00AA51AD /* Prover.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Prover.swift; sourceTree = ""; }; 066DD67BD55B4E90941F2B97 /* Inter-Black.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Black.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-Black.otf"; sourceTree = ""; }; 0AD24C885D29461481982641 /* slkscrb.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = slkscrb.ttf; path = "../node_modules/@tamagui/font-silkscreen/files/slkscrb.ttf"; sourceTree = ""; }; 0C76A5D3C00C4D19B7624F46 /* Inter-BlackItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-BlackItalic.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-BlackItalic.otf"; sourceTree = ""; }; 110D16BAD3FA4513BEA89A3A /* slkscr.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = slkscr.ttf; path = "../node_modules/@tamagui/font-silkscreen/files/slkscr.ttf"; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* ProofOfPassport.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ProofOfPassport.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ProofOfPassport/AppDelegate.h; sourceTree = ""; }; - 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = ProofOfPassport/AppDelegate.mm; sourceTree = ""; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ProofOfPassport/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ProofOfPassport/Info.plist; sourceTree = ""; }; - 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ProofOfPassport/main.m; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* OpenPassport.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = OpenPassport.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = OpenPassport/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = OpenPassport/AppDelegate.mm; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = OpenPassport/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = OpenPassport/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = OpenPassport/main.m; sourceTree = ""; }; 165E76BC2B8DC4A00000FA90 /* MRZScannerModule.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MRZScannerModule.swift; sourceTree = ""; }; 165E76BE2B8DC53A0000FA90 /* MRZScannerModule.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = MRZScannerModule.m; sourceTree = ""; }; 165E76C22B8DC8370000FA90 /* ScannerHostingController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScannerHostingController.swift; sourceTree = ""; }; @@ -102,11 +102,9 @@ 16E6646D2B8D292500FDD6A0 /* QKMRZScannerViewRepresentable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = QKMRZScannerViewRepresentable.swift; sourceTree = ""; }; 16E884A42C5BD764003B7125 /* passport.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = passport.json; sourceTree = ""; }; 1CA9D245CD5A439D88F01D4F /* Inter-ThinItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-ThinItalic.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-ThinItalic.otf"; sourceTree = ""; }; - 22FDF2ADA5789E09558ADB4E /* Pods-ProofOfPassport-ProofOfPassportTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProofOfPassport-ProofOfPassportTests.release.xcconfig"; path = "Target Support Files/Pods-ProofOfPassport-ProofOfPassportTests/Pods-ProofOfPassport-ProofOfPassportTests.release.xcconfig"; sourceTree = ""; }; - 2B01EC4981C171CA304E6D2B /* Pods-ProofOfPassport.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProofOfPassport.release.xcconfig"; path = "Target Support Files/Pods-ProofOfPassport/Pods-ProofOfPassport.release.xcconfig"; sourceTree = ""; }; 38DEC0D33CBA43429A48B8E3 /* Inter-LightItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-LightItalic.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-LightItalic.otf"; sourceTree = ""; }; - 3DAAF621B99F62C9ED35AA07 /* Pods_ProofOfPassport.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ProofOfPassport.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 449D98322BFA406CBB9E2648 /* Inter-Bold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Bold.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-Bold.otf"; sourceTree = ""; }; + 453D60E43CC0F08D884424E7 /* Pods-OpenPassport.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenPassport.debug.xcconfig"; path = "Target Support Files/Pods-OpenPassport/Pods-OpenPassport.debug.xcconfig"; sourceTree = ""; }; 53AEBBB143534D68B7792C46 /* Inter-Medium.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Medium.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-Medium.otf"; sourceTree = ""; }; 568162F4DC4B4CDC8B341853 /* Inter-ExtraLight.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-ExtraLight.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-ExtraLight.otf"; sourceTree = ""; }; 5686BD657D224A089EAFB825 /* Inter-ExtraBoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-ExtraBoldItalic.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-ExtraBoldItalic.otf"; sourceTree = ""; }; @@ -116,22 +114,24 @@ 6F5E37006DF4462994FA8164 /* Inter-BoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-BoldItalic.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-BoldItalic.otf"; sourceTree = ""; }; 714371FB26B944FFBE7F0B29 /* Luciole-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Luciole-Regular.ttf"; path = "../assets/fonts/Luciole-Regular.ttf"; sourceTree = ""; }; 780F6F2600AE4EC1B21B6F44 /* Inter-Light.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Light.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-Light.otf"; sourceTree = ""; }; - 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = ProofOfPassport/LaunchScreen.storyboard; sourceTree = ""; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = OpenPassport/LaunchScreen.storyboard; sourceTree = ""; }; 8716F728A49C438396CB79D3 /* Inter-Italic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Italic.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-Italic.otf"; sourceTree = ""; }; 8720D4D8B8BC41B79088D43C /* Luciole-Regular-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Luciole-Regular-Italic.ttf"; path = "../assets/fonts/Luciole-Regular-Italic.ttf"; sourceTree = ""; }; - 905B70032A72767800AFA232 /* ProofOfPassport-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ProofOfPassport-Bridging-Header.h"; sourceTree = ""; }; + 8A94FF2ACC255C722460867D /* Pods-OpenPassport-OpenPassportTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenPassport-OpenPassportTests.release.xcconfig"; path = "Target Support Files/Pods-OpenPassport-OpenPassportTests/Pods-OpenPassport-OpenPassportTests.release.xcconfig"; sourceTree = ""; }; + 905B70032A72767800AFA232 /* OpenPassport-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "OpenPassport-Bridging-Header.h"; sourceTree = ""; }; 905B70042A72767900AFA232 /* PassportReader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = PassportReader.swift; sourceTree = ""; }; 905B70062A72774000AFA232 /* PassportReader.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = PassportReader.m; sourceTree = ""; }; - 905B70082A729CD400AFA232 /* ProofOfPassport.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = ProofOfPassport.entitlements; path = ProofOfPassport/ProofOfPassport.entitlements; sourceTree = ""; }; - 905B700A2A72A5E900AFA232 /* masterList.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = masterList.pem; path = ProofOfPassport/masterList.pem; sourceTree = ""; }; - 918081ECA23C8F232594E334 /* Pods-ProofOfPassport-ProofOfPassportTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProofOfPassport-ProofOfPassportTests.debug.xcconfig"; path = "Target Support Files/Pods-ProofOfPassport-ProofOfPassportTests/Pods-ProofOfPassport-ProofOfPassportTests.debug.xcconfig"; sourceTree = ""; }; + 905B70082A729CD400AFA232 /* OpenPassport.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = OpenPassport.entitlements; path = OpenPassport/OpenPassport.entitlements; sourceTree = ""; }; + 905B700A2A72A5E900AFA232 /* masterList.pem */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = masterList.pem; path = OpenPassport/masterList.pem; sourceTree = ""; }; 98413C61772F41BD96F279F5 /* slkscr.woff */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = slkscr.woff; path = "../node_modules/@tamagui/font-silkscreen/files/slkscr.woff"; sourceTree = ""; }; ABB740B68A8141229E6118AC /* Luciole-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Luciole-Bold.ttf"; path = "../assets/fonts/Luciole-Bold.ttf"; sourceTree = ""; }; + AC752CDC19F5CA03C154E950 /* Pods_OpenPassport_OpenPassportTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OpenPassport_OpenPassportTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + B3521C927F0DD22505739205 /* Pods_OpenPassport.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_OpenPassport.framework; sourceTree = BUILT_PRODUCTS_DIR; }; B68457923C3F444388AB85F2 /* Inter-Thin.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Thin.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-Thin.otf"; sourceTree = ""; }; C03CCA67A92F47D59CDA16E5 /* Inter-SemiBoldItalic.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-SemiBoldItalic.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-SemiBoldItalic.otf"; sourceTree = ""; }; - CE0B085EC65BAFEB61DD9C49 /* Pods-ProofOfPassport.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ProofOfPassport.debug.xcconfig"; path = "Target Support Files/Pods-ProofOfPassport/Pods-ProofOfPassport.debug.xcconfig"; sourceTree = ""; }; - CFAE0EE7E1942128592D0CC4 /* Pods_ProofOfPassport_ProofOfPassportTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_ProofOfPassport_ProofOfPassportTests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; D20EA8C94F544E14AB58E6EB /* Inter-ExtraBold.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-ExtraBold.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-ExtraBold.otf"; sourceTree = ""; }; + DC9D466C01604E7CE1392D92 /* Pods-OpenPassport.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenPassport.release.xcconfig"; path = "Target Support Files/Pods-OpenPassport/Pods-OpenPassport.release.xcconfig"; sourceTree = ""; }; + DEBCA1D9B9B7ED1BF998F4A1 /* Pods-OpenPassport-OpenPassportTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-OpenPassport-OpenPassportTests.debug.xcconfig"; path = "Target Support Files/Pods-OpenPassport-OpenPassportTests/Pods-OpenPassport-OpenPassportTests.debug.xcconfig"; sourceTree = ""; }; DF4EC58B331A46F098343757 /* Inter-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Inter-Regular.otf"; path = "../node_modules/@tamagui/font-inter/otf/Inter-Regular.otf"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; F59F295E9CC54539B2C48953 /* Luciole-Bold-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Luciole-Bold-Italic.ttf"; path = "../assets/fonts/Luciole-Bold-Italic.ttf"; sourceTree = ""; }; @@ -142,7 +142,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 75E785E6A486EA107852C8A6 /* Pods_ProofOfPassport_ProofOfPassportTests.framework in Frameworks */, + C942C431B15D9EB7F90220BE /* Pods_OpenPassport_OpenPassportTests.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -151,26 +151,26 @@ buildActionMask = 2147483647; files = ( 058516D52BF49B98006A14DA /* libwitnesscalc_register_sha256WithRSAEncryption_65537.a in Frameworks */, - 0651723A94C70A2B31E3E4F8 /* Pods_ProofOfPassport.framework in Frameworks */, 05D985F52BB331AB00F58EEA /* libgmp.a in Frameworks */, 0569F35F2BBC98D5006670BD /* libfq.a in Frameworks */, 0569F35B2BBC9015006670BD /* librapidsnark.a in Frameworks */, 058516D42BF49B98006A14DA /* libwitnesscalc_disclose.a in Frameworks */, 05D985F62BB331AB00F58EEA /* libfr.a in Frameworks */, + CA9CD86025E82C8AE5193959 /* Pods_OpenPassport.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 13B07FAE1A68108700A75B9A /* ProofOfPassport */ = { + 13B07FAE1A68108700A75B9A /* OpenPassport */ = { isa = PBXGroup; children = ( 16E884A42C5BD764003B7125 /* passport.json */, 05EDEDC42B52D25D00AA51AD /* Prover.m */, 05EDEDC52B52D25D00AA51AD /* Prover.swift */, 905B700A2A72A5E900AFA232 /* masterList.pem */, - 905B70082A729CD400AFA232 /* ProofOfPassport.entitlements */, + 905B70082A729CD400AFA232 /* OpenPassport.entitlements */, 05D985F32BB331AB00F58EEA /* libfr.a */, 05D985FA2BB3344600F58EEA /* Assets.xcassets */, 05D985F22BB331AB00F58EEA /* libgmp.a */, @@ -181,7 +181,7 @@ 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 13B07FB71A68108700A75B9A /* main.m */, 905B70042A72767900AFA232 /* PassportReader.swift */, - 905B70032A72767800AFA232 /* ProofOfPassport-Bridging-Header.h */, + 905B70032A72767800AFA232 /* OpenPassport-Bridging-Header.h */, 165E76C22B8DC8370000FA90 /* ScannerHostingController.swift */, 905B70062A72774000AFA232 /* PassportReader.m */, 16E083892C4E7AF100CE8DB2 /* LottieView.swift */, @@ -192,7 +192,7 @@ 1686F0DF2C500FBD00841CDE /* QRScannerBridge.m */, 1686F0DD2C500F4F00841CDE /* QRScannerViewController.swift */, ); - name = ProofOfPassport; + name = OpenPassport; sourceTree = ""; }; 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { @@ -203,8 +203,8 @@ 0569F35E2BBC98C9006670BD /* libfq.a */, 0569F35A2BBC900D006670BD /* librapidsnark.a */, ED297162215061F000B7C4FE /* JavaScriptCore.framework */, - 3DAAF621B99F62C9ED35AA07 /* Pods_ProofOfPassport.framework */, - CFAE0EE7E1942128592D0CC4 /* Pods_ProofOfPassport_ProofOfPassportTests.framework */, + B3521C927F0DD22505739205 /* Pods_OpenPassport.framework */, + AC752CDC19F5CA03C154E950 /* Pods_OpenPassport_OpenPassportTests.framework */, ); name = Frameworks; sourceTree = ""; @@ -251,7 +251,7 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* ProofOfPassport */, + 13B07FAE1A68108700A75B9A /* OpenPassport */, 832341AE1AAA6A7D00B99B32 /* Libraries */, 83CBBA001A601CBA00E9B192 /* Products */, 2D16E6871FA4F8E400B85C8A /* Frameworks */, @@ -266,8 +266,8 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* ProofOfPassport.app */, - 00E356EE1AD99517003FC87E /* ProofOfPassportTests.xctest */, + 13B07F961A680F5B00A75B9A /* OpenPassport.app */, + 00E356EE1AD99517003FC87E /* OpenPassportTests.xctest */, ); name = Products; sourceTree = ""; @@ -275,10 +275,10 @@ BBD78D7AC51CEA395F1C20DB /* Pods */ = { isa = PBXGroup; children = ( - CE0B085EC65BAFEB61DD9C49 /* Pods-ProofOfPassport.debug.xcconfig */, - 2B01EC4981C171CA304E6D2B /* Pods-ProofOfPassport.release.xcconfig */, - 918081ECA23C8F232594E334 /* Pods-ProofOfPassport-ProofOfPassportTests.debug.xcconfig */, - 22FDF2ADA5789E09558ADB4E /* Pods-ProofOfPassport-ProofOfPassportTests.release.xcconfig */, + 453D60E43CC0F08D884424E7 /* Pods-OpenPassport.debug.xcconfig */, + DC9D466C01604E7CE1392D92 /* Pods-OpenPassport.release.xcconfig */, + DEBCA1D9B9B7ED1BF998F4A1 /* Pods-OpenPassport-OpenPassportTests.debug.xcconfig */, + 8A94FF2ACC255C722460867D /* Pods-OpenPassport-OpenPassportTests.release.xcconfig */, ); path = Pods; sourceTree = ""; @@ -286,45 +286,45 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 00E356ED1AD99517003FC87E /* ProofOfPassportTests */ = { + 00E356ED1AD99517003FC87E /* OpenPassportTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ProofOfPassportTests" */; + buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "OpenPassportTests" */; buildPhases = ( - 30EF76FEB71F2239D12E988C /* [CP] Check Pods Manifest.lock */, + 095376EF00B07A916686CBD0 /* [CP] Check Pods Manifest.lock */, 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, 00E356EC1AD99517003FC87E /* Resources */, - 3407A7677F910117EC6ADA91 /* [CP] Embed Pods Frameworks */, + F5F0F71D37DB5C4B9CCFE9F5 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); dependencies = ( 00E356F51AD99517003FC87E /* PBXTargetDependency */, ); - name = ProofOfPassportTests; - productName = ProofOfPassportTests; - productReference = 00E356EE1AD99517003FC87E /* ProofOfPassportTests.xctest */; + name = OpenPassportTests; + productName = OpenPassportTests; + productReference = 00E356EE1AD99517003FC87E /* OpenPassportTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - 13B07F861A680F5B00A75B9A /* ProofOfPassport */ = { + 13B07F861A680F5B00A75B9A /* OpenPassport */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ProofOfPassport" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "OpenPassport" */; buildPhases = ( - CC47E87AFD57D7866D1463AC /* [CP] Check Pods Manifest.lock */, + 0F781D3EBD6F8DD7E63316E1 /* [CP] Check Pods Manifest.lock */, FD10A7F022414F080027D42C /* Start Packager */, 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, 13B07F8E1A680F5B00A75B9A /* Resources */, 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, - A8CC45FE941CED993895A21C /* [CP] Embed Pods Frameworks */, + DF7986E9DBA454E2407E80A3 /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); dependencies = ( ); - name = ProofOfPassport; - productName = ProofOfPassport; - productReference = 13B07F961A680F5B00A75B9A /* ProofOfPassport.app */; + name = OpenPassport; + productName = OpenPassport; + productReference = 13B07F961A680F5B00A75B9A /* OpenPassport.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -344,7 +344,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ProofOfPassport" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "OpenPassport" */; compatibilityVersion = "Xcode 12.0"; developmentRegion = en; hasScannedForEncodings = 0; @@ -357,8 +357,8 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* ProofOfPassport */, - 00E356ED1AD99517003FC87E /* ProofOfPassportTests */, + 13B07F861A680F5B00A75B9A /* OpenPassport */, + 00E356ED1AD99517003FC87E /* OpenPassportTests */, ); }; /* End PBXProject section */ @@ -427,7 +427,7 @@ shellPath = /bin/sh; shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; }; - 30EF76FEB71F2239D12E988C /* [CP] Check Pods Manifest.lock */ = { + 095376EF00B07A916686CBD0 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( @@ -442,67 +442,67 @@ outputFileListPaths = ( ); outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-ProofOfPassport-ProofOfPassportTests-checkManifestLockResult.txt", + "$(DERIVED_FILE_DIR)/Pods-OpenPassport-OpenPassportTests-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; 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; }; - 3407A7677F910117EC6ADA91 /* [CP] Embed Pods Frameworks */ = { + 0F781D3EBD6F8DD7E63316E1 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ProofOfPassport-ProofOfPassportTests/Pods-ProofOfPassport-ProofOfPassportTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - name = "[CP] Embed Pods Frameworks"; + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ProofOfPassport-ProofOfPassportTests/Pods-ProofOfPassport-ProofOfPassportTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-OpenPassport-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ProofOfPassport-ProofOfPassportTests/Pods-ProofOfPassport-ProofOfPassportTests-frameworks.sh\"\n"; + 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; }; - A8CC45FE941CED993895A21C /* [CP] Embed Pods Frameworks */ = { + DF7986E9DBA454E2407E80A3 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ProofOfPassport/Pods-ProofOfPassport-frameworks-${CONFIGURATION}-input-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-OpenPassport/Pods-OpenPassport-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - "${PODS_ROOT}/Target Support Files/Pods-ProofOfPassport/Pods-ProofOfPassport-frameworks-${CONFIGURATION}-output-files.xcfilelist", + "${PODS_ROOT}/Target Support Files/Pods-OpenPassport/Pods-OpenPassport-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ProofOfPassport/Pods-ProofOfPassport-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OpenPassport/Pods-OpenPassport-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; - CC47E87AFD57D7866D1463AC /* [CP] Check Pods Manifest.lock */ = { + F5F0F71D37DB5C4B9CCFE9F5 /* [CP] Embed Pods Frameworks */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; files = ( ); inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-OpenPassport-OpenPassportTests/Pods-OpenPassport-OpenPassportTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); - inputPaths = ( - "${PODS_PODFILE_DIR_PATH}/Podfile.lock", - "${PODS_ROOT}/Manifest.lock", - ); - name = "[CP] Check Pods Manifest.lock"; + name = "[CP] Embed Pods Frameworks"; outputFileListPaths = ( - ); - outputPaths = ( - "$(DERIVED_FILE_DIR)/Pods-ProofOfPassport-checkManifestLockResult.txt", + "${PODS_ROOT}/Target Support Files/Pods-OpenPassport-OpenPassportTests/Pods-OpenPassport-OpenPassportTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - 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"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OpenPassport-OpenPassportTests/Pods-OpenPassport-OpenPassportTests-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; FD10A7F022414F080027D42C /* Start Packager */ = { @@ -560,7 +560,7 @@ /* Begin PBXTargetDependency section */ 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* ProofOfPassport */; + target = 13B07F861A680F5B00A75B9A /* OpenPassport */; targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -568,7 +568,7 @@ /* Begin XCBuildConfiguration section */ 00E356F61AD99517003FC87E /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 918081ECA23C8F232594E334 /* Pods-ProofOfPassport-ProofOfPassportTests.debug.xcconfig */; + baseConfigurationReference = DEBCA1D9B9B7ED1BF998F4A1 /* Pods-OpenPassport-OpenPassportTests.debug.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; @@ -576,7 +576,7 @@ "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = ProofOfPassportTests/Info.plist; + INFOPLIST_FILE = OpenPassportTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -590,18 +590,18 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ProofOfPassport.app/ProofOfPassport"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OpenPassport.app/OpenPassport"; }; name = Debug; }; 00E356F71AD99517003FC87E /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 22FDF2ADA5789E09558ADB4E /* Pods-ProofOfPassport-ProofOfPassportTests.release.xcconfig */; + baseConfigurationReference = 8A94FF2ACC255C722460867D /* Pods-OpenPassport-OpenPassportTests.release.xcconfig */; buildSettings = { ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; - INFOPLIST_FILE = ProofOfPassportTests/Info.plist; + INFOPLIST_FILE = OpenPassportTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", @@ -615,20 +615,20 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ProofOfPassport.app/ProofOfPassport"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/OpenPassport.app/OpenPassport"; }; name = Release; }; 13B07F941A680F5B00A75B9A /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = CE0B085EC65BAFEB61DD9C49 /* Pods-ProofOfPassport.debug.xcconfig */; + baseConfigurationReference = 453D60E43CC0F08D884424E7 /* Pods-OpenPassport.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = ProofOfPassport/ProofOfPassport.entitlements; + CODE_SIGN_ENTITLEMENTS = OpenPassport/OpenPassport.entitlements; CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 52; + CURRENT_PROJECT_VERSION = 53; DEVELOPMENT_TEAM = 5B29R5LYHQ; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( @@ -727,7 +727,7 @@ "\"$(PODS_ROOT)/Headers/Private/React-Core\"", "$(PROJECT_DIR)", ); - INFOPLIST_FILE = ProofOfPassport/Info.plist; + INFOPLIST_FILE = OpenPassport/Info.plist; INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Needed only if you want to upload QRcodes"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( @@ -748,9 +748,9 @@ "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = com.warroom.proofofpassport; - PRODUCT_NAME = ProofOfPassport; + PRODUCT_NAME = OpenPassport; PROVISIONING_PROFILE_SPECIFIER = ""; - SWIFT_OBJC_BRIDGING_HEADER = "$(PROJECT_DIR)/ProofOfPassport-Bridging-Header.h"; + SWIFT_OBJC_BRIDGING_HEADER = "$(PROJECT_DIR)/OpenPassport-Bridging-Header.h"; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; @@ -759,12 +759,12 @@ }; 13B07F951A680F5B00A75B9A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2B01EC4981C171CA304E6D2B /* Pods-ProofOfPassport.release.xcconfig */; + baseConfigurationReference = DC9D466C01604E7CE1392D92 /* Pods-OpenPassport.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CODE_SIGN_ENTITLEMENTS = ProofOfPassport/ProofOfPassport.entitlements; - CURRENT_PROJECT_VERSION = 52; + CODE_SIGN_ENTITLEMENTS = OpenPassport/OpenPassport.entitlements; + CURRENT_PROJECT_VERSION = 53; DEVELOPMENT_TEAM = 5B29R5LYHQ; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -862,7 +862,7 @@ "\"$(PODS_ROOT)/Headers/Private/React-Core\"", "$(PROJECT_DIR)", ); - INFOPLIST_FILE = ProofOfPassport/Info.plist; + INFOPLIST_FILE = OpenPassport/Info.plist; INFOPLIST_KEY_NSDocumentsFolderUsageDescription = ""; INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Needed only if you want to upload QRcodes"; IPHONEOS_DEPLOYMENT_TARGET = 15.0; @@ -883,8 +883,8 @@ "-lc++", ); PRODUCT_BUNDLE_IDENTIFIER = com.warroom.proofofpassport; - PRODUCT_NAME = ProofOfPassport; - SWIFT_OBJC_BRIDGING_HEADER = "$(PROJECT_DIR)/ProofOfPassport-Bridging-Header.h"; + PRODUCT_NAME = OpenPassport; + SWIFT_OBJC_BRIDGING_HEADER = "$(PROJECT_DIR)/OpenPassport-Bridging-Header.h"; SWIFT_VERSION = 5.0; VERSIONING_SYSTEM = "apple-generic"; }; @@ -1050,7 +1050,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ProofOfPassportTests" */ = { + 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "OpenPassportTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 00E356F61AD99517003FC87E /* Debug */, @@ -1059,7 +1059,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ProofOfPassport" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "OpenPassport" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -1068,7 +1068,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ProofOfPassport" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "OpenPassport" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/app/ios/ProofOfPassport.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/app/ios/OpenPassport.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from app/ios/ProofOfPassport.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to app/ios/OpenPassport.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/app/ios/ProofOfPassport.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/app/ios/OpenPassport.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from app/ios/ProofOfPassport.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to app/ios/OpenPassport.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/app/ios/ProofOfPassport.xcodeproj/xcshareddata/xcschemes/ProofOfPassport.xcscheme b/app/ios/OpenPassport.xcodeproj/xcshareddata/xcschemes/OpenPassport.xcscheme similarity index 79% rename from app/ios/ProofOfPassport.xcodeproj/xcshareddata/xcschemes/ProofOfPassport.xcscheme rename to app/ios/OpenPassport.xcodeproj/xcshareddata/xcschemes/OpenPassport.xcscheme index 80f5bc14..f228ec9b 100644 --- a/app/ios/ProofOfPassport.xcodeproj/xcshareddata/xcschemes/ProofOfPassport.xcscheme +++ b/app/ios/OpenPassport.xcodeproj/xcshareddata/xcschemes/OpenPassport.xcscheme @@ -15,9 +15,9 @@ + BuildableName = "OpenPassport.app" + BlueprintName = "OpenPassport" + ReferencedContainer = "container:OpenPassport.xcodeproj"> @@ -33,9 +33,9 @@ + BuildableName = "OpenPassportTests.xctest" + BlueprintName = "OpenPassportTests" + ReferencedContainer = "container:OpenPassport.xcodeproj"> @@ -55,9 +55,9 @@ + BuildableName = "OpenPassport.app" + BlueprintName = "OpenPassport" + ReferencedContainer = "container:OpenPassport.xcodeproj"> @@ -72,9 +72,9 @@ + BuildableName = "OpenPassport.app" + BlueprintName = "OpenPassport" + ReferencedContainer = "container:OpenPassport.xcodeproj"> diff --git a/app/ios/ProofOfPassport.xcworkspace/contents.xcworkspacedata b/app/ios/OpenPassport.xcworkspace/contents.xcworkspacedata similarity index 77% rename from app/ios/ProofOfPassport.xcworkspace/contents.xcworkspacedata rename to app/ios/OpenPassport.xcworkspace/contents.xcworkspacedata index 74485f6f..f87476a6 100644 --- a/app/ios/ProofOfPassport.xcworkspace/contents.xcworkspacedata +++ b/app/ios/OpenPassport.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:OpenPassport.xcodeproj"> diff --git a/app/ios/ProofOfPassport.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/app/ios/OpenPassport.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from app/ios/ProofOfPassport.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to app/ios/OpenPassport.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/app/ios/ProofOfPassport/AppDelegate.h b/app/ios/OpenPassport/AppDelegate.h similarity index 100% rename from app/ios/ProofOfPassport/AppDelegate.h rename to app/ios/OpenPassport/AppDelegate.h diff --git a/app/ios/ProofOfPassport/AppDelegate.mm b/app/ios/OpenPassport/AppDelegate.mm similarity index 95% rename from app/ios/ProofOfPassport/AppDelegate.mm rename to app/ios/OpenPassport/AppDelegate.mm index fd3025c9..7dcbbf93 100644 --- a/app/ios/ProofOfPassport/AppDelegate.mm +++ b/app/ios/OpenPassport/AppDelegate.mm @@ -8,7 +8,7 @@ @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - self.moduleName = @"ProofOfPassport"; + self.moduleName = @"OpenPassport"; // You can add your custom initial props in the dictionary below. // They will be passed down to the ViewController used by React Native. self.initialProps = @{}; diff --git a/app/ios/ProofOfPassport/Assets.xcassets/disclose.dat.dataset/Contents.json b/app/ios/OpenPassport/Assets.xcassets/disclose.dat.dataset/Contents.json similarity index 100% rename from app/ios/ProofOfPassport/Assets.xcassets/disclose.dat.dataset/Contents.json rename to app/ios/OpenPassport/Assets.xcassets/disclose.dat.dataset/Contents.json diff --git a/app/ios/ProofOfPassport/Assets.xcassets/disclose.dat.dataset/disclose.dat b/app/ios/OpenPassport/Assets.xcassets/disclose.dat.dataset/disclose.dat similarity index 100% rename from app/ios/ProofOfPassport/Assets.xcassets/disclose.dat.dataset/disclose.dat rename to app/ios/OpenPassport/Assets.xcassets/disclose.dat.dataset/disclose.dat diff --git a/app/ios/ProofOfPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/Contents.json b/app/ios/OpenPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/Contents.json similarity index 100% rename from app/ios/ProofOfPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/Contents.json rename to app/ios/OpenPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/Contents.json diff --git a/app/ios/ProofOfPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/register_sha256WithRSAEncryption_65537.dat b/app/ios/OpenPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/register_sha256WithRSAEncryption_65537.dat similarity index 100% rename from app/ios/ProofOfPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/register_sha256WithRSAEncryption_65537.dat rename to app/ios/OpenPassport/Assets.xcassets/register_sha256WithRSAEncryption_65537.dat.dataset/register_sha256WithRSAEncryption_65537.dat diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/100.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/100.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/100.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/100.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/1024.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/1024.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/1024.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/1024.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/114.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/114.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/114.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/114.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/120.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/120.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/120.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/120.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/144.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/144.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/144.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/144.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/152.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/152.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/152.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/152.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/167.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/167.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/167.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/167.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/180.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/180.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/180.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/180.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/20.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/20.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/20.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/20.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/29.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/29.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/29.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/29.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/40.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/40.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/40.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/40.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/50.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/50.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/50.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/50.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/57.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/57.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/57.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/57.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/58.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/58.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/58.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/58.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/60.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/60.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/60.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/60.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/72.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/72.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/72.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/72.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/76.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/76.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/76.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/76.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/80.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/80.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/80.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/80.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/87.png b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/87.png similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/87.png rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/87.png diff --git a/app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/Contents.json b/app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/AppIcon.appiconset/Contents.json rename to app/ios/OpenPassport/Images.xcassets/AppIcon.appiconset/Contents.json diff --git a/app/ios/ProofOfPassport/Images.xcassets/Contents.json b/app/ios/OpenPassport/Images.xcassets/Contents.json similarity index 100% rename from app/ios/ProofOfPassport/Images.xcassets/Contents.json rename to app/ios/OpenPassport/Images.xcassets/Contents.json diff --git a/app/ios/ProofOfPassport/Info.plist b/app/ios/OpenPassport/Info.plist similarity index 98% rename from app/ios/ProofOfPassport/Info.plist rename to app/ios/OpenPassport/Info.plist index 4f93f4e4..9b7b0a6b 100644 --- a/app/ios/ProofOfPassport/Info.plist +++ b/app/ios/OpenPassport/Info.plist @@ -5,7 +5,7 @@ CFBundleDevelopmentRegion en CFBundleDisplayName - ProofOfPassport + OpenPassport CFBundleExecutable $(EXECUTABLE_NAME) CFBundleGetInfoString diff --git a/app/ios/ProofOfPassport/LaunchScreen.storyboard b/app/ios/OpenPassport/LaunchScreen.storyboard similarity index 92% rename from app/ios/ProofOfPassport/LaunchScreen.storyboard rename to app/ios/OpenPassport/LaunchScreen.storyboard index 029abec9..63cf5626 100644 --- a/app/ios/ProofOfPassport/LaunchScreen.storyboard +++ b/app/ios/OpenPassport/LaunchScreen.storyboard @@ -17,7 +17,7 @@ -

FAQ

My passport is not supported

- Please contact us on Telegram, or if you have programming skills, you can easily Linking.openURL('https://t.me/proofofpassport')} color={blueColorLight} style={{ textDecorationLine: 'underline', fontStyle: 'italic' }}>contribute to the project by adding your signature algorithm. + Please contact us on Telegram, or if you have programming skills, you can easily Linking.openURL('https://t.me/openpassport')} color={blueColorLight} style={{ textDecorationLine: 'underline', fontStyle: 'italic' }}>contribute to the project by adding your signature algorithm.
@@ -570,17 +570,17 @@ const MainScreen: React.FC = () => { - Linking.openURL('https://proofofpassport.com')}> + Linking.openURL('https://openpassport.app')}> - Linking.openURL('https://t.me/proofofpassport')}> + Linking.openURL('https://t.me/openpassport')}> - Linking.openURL('https://x.com/proofofpassport')}> + Linking.openURL('https://x.com/openpassportapp')}> diff --git a/app/src/stores/userStore.ts b/app/src/stores/userStore.ts index 45193d78..3b95ca4f 100644 --- a/app/src/stores/userStore.ts +++ b/app/src/stores/userStore.ts @@ -20,7 +20,7 @@ import { sendRegisterTransaction } from '../utils/transactions'; import { loadPassportData, loadSecret, loadSecretOrCreateIt, storePassportData } from '../utils/keychain'; import { ethers } from 'ethers'; import { isCommitmentRegistered } from '../utils/registration'; -import { ProofOfPassportVerifierReport } from '@proofofpassport/sdk'; +import { OpenPassportVerifierReport } from '@proofofpassport/sdk'; interface UserState { diff --git a/app/src/utils/prover.ts b/app/src/utils/prover.ts index 75db42b8..0d6a22f0 100644 --- a/app/src/utils/prover.ts +++ b/app/src/utils/prover.ts @@ -12,7 +12,7 @@ export const generateProof = async ( console.log('circuit', circuit); const zkey_path = `${RNFS.DocumentDirectoryPath}/${circuit}.zkey` - // Example: "/data/user/0/com.proofofpassport/files/register_sha256WithRSAEncryption_65537.zkey" on android + // Example: "/data/user/0/com.proofofpassportapp/files/register_sha256WithRSAEncryption_65537.zkey" on android const witness_calculator = circuit; const dat_file_name = Platform.OS == "android" ? circuit.toLowerCase() : circuit; diff --git a/app/src/utils/transactions.ts b/app/src/utils/transactions.ts index e1a1c7e7..720e9684 100644 --- a/app/src/utils/transactions.ts +++ b/app/src/utils/transactions.ts @@ -2,7 +2,7 @@ import { ethers } from "ethers"; import axios from 'axios'; import groth16ExportSolidityCallData from '../../utils/snarkjs'; import contractAddresses from "../../deployments/deployed_addresses.json"; -import registerArtefacts from "../../deployments/artifacts/Deploy_Registry#ProofOfPassportRegister.json"; +import registerArtefacts from "../../deployments/artifacts/Deploy_Registry#OpenPassportRegister.json"; import sbtArtefacts from "../../deployments/artifacts/Deploy_Registry#SBT.json"; import { CHAIN_NAME, RELAYER_URL, RPC_URL, SignatureAlgorithm } from '../../../common/src/constants/constants'; import { Proof } from "../../../common/src/utils/types"; @@ -15,7 +15,7 @@ export const sendRegisterTransaction = async ( ) => { const provider = new ethers.JsonRpcProvider(RPC_URL); - if (!contractAddresses["Deploy_Registry#ProofOfPassportRegister"] || !registerArtefacts.abi) { + if (!contractAddresses["Deploy_Registry#OpenPassportRegister"] || !registerArtefacts.abi) { console.log('contracts addresses or abi not found'); return; } @@ -37,7 +37,7 @@ export const sendRegisterTransaction = async ( try { const registerContract = new ethers.Contract( - contractAddresses["Deploy_Registry#ProofOfPassportRegister"], + contractAddresses["Deploy_Registry#OpenPassportRegister"], registerArtefacts.abi, provider ); diff --git a/app/witnesscalc/src/proof_of_passport.cpp b/app/witnesscalc/src/proof_of_passport.cpp index 35ca68cd..c10ce651 100644 --- a/app/witnesscalc/src/proof_of_passport.cpp +++ b/app/witnesscalc/src/proof_of_passport.cpp @@ -581,8 +581,8 @@ void Bytes2Packed_287_create(uint soffset,uint coffset,Circom_CalcWit* ctx,std:: void Bytes2Packed_287_run(uint ctx_index,Circom_CalcWit* ctx); void PackBytes_288_create(uint soffset,uint coffset,Circom_CalcWit* ctx,std::string componentName,uint componentFather); void PackBytes_288_run(uint ctx_index,Circom_CalcWit* ctx); -void ProofOfPassport_289_create(uint soffset,uint coffset,Circom_CalcWit* ctx,std::string componentName,uint componentFather); -void ProofOfPassport_289_run(uint ctx_index,Circom_CalcWit* ctx); +void OpenPassport_289_create(uint soffset,uint coffset,Circom_CalcWit* ctx,std::string componentName,uint componentFather); +void OpenPassport_289_run(uint ctx_index,Circom_CalcWit* ctx); void POSEIDON_C_0(Circom_CalcWit* ctx,FrElement* lvar,uint componentFather,FrElement* destination,int destination_size); void POSEIDON_S_1(Circom_CalcWit* ctx,FrElement* lvar,uint componentFather,FrElement* destination,int destination_size); void POSEIDON_M_2(Circom_CalcWit* ctx,FrElement* lvar,uint componentFather,FrElement* destination,int destination_size); @@ -898,7 +898,7 @@ IsOlderThan_285_run, Num2Bits_286_run, Bytes2Packed_287_run, PackBytes_288_run, -ProofOfPassport_289_run }; +OpenPassport_289_run }; Circom_TemplateFunction _functionTableParallel[290] = { NULL, NULL, @@ -971817,9 +971817,9 @@ if (index_subc != 0)release_memory_component(ctx,index_subc); } } -void ProofOfPassport_289_create(uint soffset,uint coffset,Circom_CalcWit* ctx,std::string componentName,uint componentFather){ +void OpenPassport_289_create(uint soffset,uint coffset,Circom_CalcWit* ctx,std::string componentName,uint componentFather){ ctx->componentMemory[coffset].templateId = 289; -ctx->componentMemory[coffset].templateName = "ProofOfPassport"; +ctx->componentMemory[coffset].templateName = "OpenPassport"; ctx->componentMemory[coffset].signalStart = soffset; ctx->componentMemory[coffset].inputCounter = 715; ctx->componentMemory[coffset].componentName = componentName; @@ -971827,7 +971827,7 @@ ctx->componentMemory[coffset].idFather = componentFather; ctx->componentMemory[coffset].subcomponents = new uint[5]{0}; } -void ProofOfPassport_289_run(uint ctx_index,Circom_CalcWit* ctx){ +void OpenPassport_289_run(uint ctx_index,Circom_CalcWit* ctx){ FrElement* signalValues = ctx->signalValues; u64 mySignalStart = ctx->componentMemory[ctx_index].signalStart; std::string myTemplateName = ctx->componentMemory[ctx_index].templateName; @@ -972293,8 +972293,8 @@ if (index_subc != 0)release_memory_component(ctx,index_subc); } void run(Circom_CalcWit* ctx){ -ProofOfPassport_289_create(1,0,ctx,"main",0); -ProofOfPassport_289_run(0,ctx); +OpenPassport_289_create(1,0,ctx,"main",0); +OpenPassport_289_run(0,ctx); } } diff --git a/contracts/contracts/ProofOfPassportRegister.sol b/contracts/contracts/OpenPassportRegister.sol similarity index 99% rename from contracts/contracts/ProofOfPassportRegister.sol rename to contracts/contracts/OpenPassportRegister.sol index a22cde03..22d2b35d 100644 --- a/contracts/contracts/ProofOfPassportRegister.sol +++ b/contracts/contracts/OpenPassportRegister.sol @@ -53,7 +53,7 @@ import "@zk-kit/imt.sol/internal/InternalLeanIMT.sol"; ***/ -contract ProofOfPassportRegister is IRegister, Ownable { +contract OpenPassportRegister is IRegister, Ownable { Registry public immutable registry; using Base64 for *; using Strings for uint256; diff --git a/contracts/contracts/SBT.sol b/contracts/contracts/SBT.sol index f8ef29d2..7cda2c49 100644 --- a/contracts/contracts/SBT.sol +++ b/contracts/contracts/SBT.sol @@ -55,7 +55,7 @@ contract SBT is ERC721Enumerable, Ownable { Verifier_disclose v, Formatter f, IRegister r - ) ERC721("ProofOfPassport", "ProofOfPassport") { + ) ERC721("OpenPassport", "OpenPassport") { verifier = v; formatter = f; register = r; @@ -381,7 +381,7 @@ contract SBT is ERC721Enumerable, Ownable { baseURI = abi.encodePacked( baseURI, - '],"description": "OpenPassport guarantees possession of a valid passport.","external_url": "https://proofofpassport.com","image": "https://i.imgur.com/9kvetij.png","name": "OpenPassport #', + '],"description": "OpenPassport guarantees possession of a valid passport.","external_url": "https://openpassport.app","image": "https://i.imgur.com/9kvetij.png","name": "OpenPassport #', _tokenId.toString(), '"}' ); diff --git a/contracts/ignition/modules/Deploy_All.ts b/contracts/ignition/modules/Deploy_All.ts index 2ca27cb7..1b6d4c39 100644 --- a/contracts/ignition/modules/Deploy_All.ts +++ b/contracts/ignition/modules/Deploy_All.ts @@ -11,7 +11,7 @@ export default buildModule("Deploy_Registry", (m) => { const poseidonT3 = m.contract("PoseidonT3"); m.call(formatter, "addCountryCodes", [Object.entries(countryCodes)]); - const register = m.contract("ProofOfPassportRegister", [registry], { libraries: { PoseidonT3: poseidonT3 } }); + const register = m.contract("OpenPassportRegister", [registry], { libraries: { PoseidonT3: poseidonT3 } }); const Verifier_register_sha256WithRSAEncryption_65537 = m.contract("Verifier_register_sha256WithRSAEncryption_65537"); const Verifier_register_sha1WithRSAEncryption_65537 = m.contract("Verifier_register_sha1WithRSAEncryption_65537"); const Verifier_dsc_sha256_rsa_4096 = m.contract("Verifier_dsc_sha256_rsa_4096"); diff --git a/contracts/ignition/modules/Deploy_Register.ts b/contracts/ignition/modules/Deploy_Register.ts index 9f46032e..d243cadf 100644 --- a/contracts/ignition/modules/Deploy_Register.ts +++ b/contracts/ignition/modules/Deploy_Register.ts @@ -4,7 +4,7 @@ export default buildModule("Deploy_Verify_register", (m) => { const registry = "0x06A37831d423F5a3A77f9Ab052760d3698fce7A8"; const libposeidonT3 = m.library("PoseidonT3", { id: "PoseidonT3lib" }); - const register = m.contract("ProofOfPassportRegister", [registry], { libraries: { PoseidonT3: libposeidonT3 } }); + const register = m.contract("OpenPassportRegister", [registry], { libraries: { PoseidonT3: libposeidonT3 } }); return { register }; }); diff --git a/contracts/scripts/mint.ts b/contracts/scripts/mint.ts index 03df7005..991b642e 100644 --- a/contracts/scripts/mint.ts +++ b/contracts/scripts/mint.ts @@ -8,7 +8,7 @@ import fs from 'fs'; async function main() { const proofOfPassportAddress = "0xF3F619aB057E3978204Be68549f9D4a503EAa535" - const proofOfPassport = await ethers.getContractAt("ProofOfPassport", proofOfPassportAddress); + const proofOfPassport = await ethers.getContractAt("OpenPassport", proofOfPassportAddress); const passportData = mockPassportData_sha256WithRSAEncryption_65537; diff --git a/contracts/scripts/testTokenUri.ts b/contracts/scripts/testTokenUri.ts index c59eb8ae..e9dfaf45 100644 --- a/contracts/scripts/testTokenUri.ts +++ b/contracts/scripts/testTokenUri.ts @@ -56,11 +56,11 @@ async function main() { await registry.waitForDeployment(); console.log(`Registry deployed to ${registry.target}`); - const ProofOfPassport = await ethers.getContractFactory("ProofOfPassport"); - const proofOfPassport = await ProofOfPassport.deploy(verifier.target, formatter.target, registry.target); + const OpenPassport = await ethers.getContractFactory("OpenPassport"); + const proofOfPassport = await OpenPassport.deploy(verifier.target, formatter.target, registry.target); await proofOfPassport.waitForDeployment(); - console.log(`ProofOfPassport NFT deployed to ${proofOfPassport.target}`); + console.log(`OpenPassport NFT deployed to ${proofOfPassport.target}`); console.log('generating proof...'); const { proof, publicSignals } = await groth16.fullProve( diff --git a/contracts/test/RegisterAndDisclose.ts b/contracts/test/RegisterAndDisclose.ts index 86a920d6..f23b96c1 100644 --- a/contracts/test/RegisterAndDisclose.ts +++ b/contracts/test/RegisterAndDisclose.ts @@ -195,7 +195,7 @@ describe("OpenPassport - Contracts - Register & Disclose flow", function () { console.log('\x1b[34m%s\x1b[0m', `PoseidonT3 deployed to: ${poseidonT3.target}`); const poseidonT3Address = poseidonT3.target; - const Register = await ethers.getContractFactory("ProofOfPassportRegister", { + const Register = await ethers.getContractFactory("OpenPassportRegister", { libraries: { PoseidonT3: poseidonT3Address } diff --git a/sdk/ProofOfPassportQRCode.ts b/sdk/OpenPassportQRCode.ts similarity index 100% rename from sdk/ProofOfPassportQRCode.ts rename to sdk/OpenPassportQRCode.ts diff --git a/sdk/ProofOfPassportRegister.ts b/sdk/OpenPassportRegister.ts similarity index 100% rename from sdk/ProofOfPassportRegister.ts rename to sdk/OpenPassportRegister.ts diff --git a/sdk/ProofOfPassportVerifierReport.ts b/sdk/OpenPassportVerifierReport.ts similarity index 83% rename from sdk/ProofOfPassportVerifierReport.ts rename to sdk/OpenPassportVerifierReport.ts index 39a16f5f..f591a523 100644 --- a/sdk/ProofOfPassportVerifierReport.ts +++ b/sdk/OpenPassportVerifierReport.ts @@ -1,4 +1,4 @@ -export class ProofOfPassportVerifierReport { +export class OpenPassportVerifierReport { scope: boolean = true; merkle_root: boolean = true; attestation_id: boolean = true; @@ -21,7 +21,7 @@ export class ProofOfPassportVerifierReport { constructor() { } - exposeAttribute(attribute: keyof ProofOfPassportVerifierReport, value: any = "", expectedValue: any = "") { + exposeAttribute(attribute: keyof OpenPassportVerifierReport, value: any = "", expectedValue: any = "") { console.log('exposeAttribute', attribute, "value:", value, "expectedValue:", expectedValue); (this[attribute] as boolean) = false; this.valid = false; diff --git a/sdk/ProofOfPassportWeb2Verifier.ts b/sdk/OpenPassportWeb2Verifier.ts similarity index 90% rename from sdk/ProofOfPassportWeb2Verifier.ts rename to sdk/OpenPassportWeb2Verifier.ts index 7325cc64..cee23f37 100644 --- a/sdk/ProofOfPassportWeb2Verifier.ts +++ b/sdk/OpenPassportWeb2Verifier.ts @@ -1,27 +1,27 @@ import { groth16 } from 'snarkjs'; import { attributeToPosition, countryCodes, DEFAULT_RPC_URL, PASSPORT_ATTESTATION_ID } from './common/src/constants/constants'; import { checkMerkleRoot, getCurrentDateFormatted, parsePublicSignals, unpackReveal } from './utils'; -import { ProofOfPassportVerifierReport } from './ProofOfPassportVerifierReport'; +import { OpenPassportVerifierReport } from './OpenPassportVerifierReport'; import { vkey_disclose } from './common/src/constants/vkey'; const MOCK_MERKLE_ROOT_CHECK = false; -export class ProofOfPassportWeb2Verifier { +export class OpenPassportWeb2Verifier { scope: string; attestationId: string; requirements: string[][]; rpcUrl: string; - report: ProofOfPassportVerifierReport; + report: OpenPassportVerifierReport; constructor(options: { scope: string, attestationId?: string, requirements?: string[][], rpcUrl?: string }) { this.scope = options.scope; this.attestationId = options.attestationId || PASSPORT_ATTESTATION_ID; this.requirements = options.requirements || []; this.rpcUrl = options.rpcUrl || DEFAULT_RPC_URL; - this.report = new ProofOfPassportVerifierReport(); + this.report = new OpenPassportVerifierReport(); } - async verify(proofOfPassportWeb2Inputs: ProofOfPassportWeb2Inputs): Promise { + async verify(proofOfPassportWeb2Inputs: OpenPassportWeb2Inputs): Promise { const parsedPublicSignals = parsePublicSignals(proofOfPassportWeb2Inputs.publicSignals); //1. Verify the scope if (parsedPublicSignals.scope !== this.scope) { @@ -60,12 +60,12 @@ export class ProofOfPassportWeb2Verifier { } if (requirement[0] === "nationality" || requirement[0] === "issuing_state") { if (!countryCodes[attributeValue] || countryCodes[attributeValue] !== value) { - this.report.exposeAttribute(attribute as keyof ProofOfPassportVerifierReport); + this.report.exposeAttribute(attribute as keyof OpenPassportVerifierReport); } } else { if (attributeValue !== value) { - this.report.exposeAttribute(attribute as keyof ProofOfPassportVerifierReport); + this.report.exposeAttribute(attribute as keyof OpenPassportVerifierReport); } } console.log('\x1b[32m%s\x1b[0m', `- requirement ${requirement[0]} verified`); @@ -94,7 +94,7 @@ export class ProofOfPassportWeb2Verifier { } } -export class ProofOfPassportWeb2Inputs { +export class OpenPassportWeb2Inputs { publicSignals: string[]; proof: string[]; diff --git a/sdk/ProofOfPassportWeb3Verifier.ts b/sdk/OpenPassportWeb3Verifier.ts similarity index 80% rename from sdk/ProofOfPassportWeb3Verifier.ts rename to sdk/OpenPassportWeb3Verifier.ts index 060f5545..1555acd8 100644 --- a/sdk/ProofOfPassportWeb3Verifier.ts +++ b/sdk/OpenPassportWeb3Verifier.ts @@ -1,24 +1,24 @@ import { DEFAULT_RPC_URL, PASSPORT_ATTESTATION_ID, SBT_ABI, SBT_CONTRACT_ADDRESS } from './common/src/constants/constants'; import { ethers } from 'ethers'; import { attributeToGetter } from './utils'; -import { ProofOfPassportVerifierReport } from './ProofOfPassportVerifierReport'; +import { OpenPassportVerifierReport } from './OpenPassportVerifierReport'; -export class ProofOfPassportWeb3Verifier { +export class OpenPassportWeb3Verifier { scope: string; attestationId: string; requirements: Array<[string, number | string]>; rpcUrl: string; - report: ProofOfPassportVerifierReport; + report: OpenPassportVerifierReport; constructor(options: { scope: string, attestationId?: string, requirements?: Array<[string, number | string]>, rpcUrl?: string }) { this.scope = options.scope; this.attestationId = options.attestationId || PASSPORT_ATTESTATION_ID; this.requirements = options.requirements || []; this.rpcUrl = options.rpcUrl || DEFAULT_RPC_URL; - this.report = new ProofOfPassportVerifierReport(); + this.report = new OpenPassportVerifierReport(); } - async verify(address: string, tokenID: number): Promise { + async verify(address: string, tokenID: number): Promise { const provider = new ethers.JsonRpcProvider(this.rpcUrl); const contract = new ethers.Contract(SBT_CONTRACT_ADDRESS, SBT_ABI, provider); @@ -39,7 +39,7 @@ export class ProofOfPassportWeb3Verifier { } const SBTAttribute = await contract[getterName](tokenID); if (SBTAttribute !== value) { - this.report.exposeAttribute(attribute as keyof ProofOfPassportVerifierReport); + this.report.exposeAttribute(attribute as keyof OpenPassportVerifierReport); } } return this.report; diff --git a/sdk/index.ts b/sdk/index.ts index 4eefa133..70120731 100644 --- a/sdk/index.ts +++ b/sdk/index.ts @@ -1,16 +1,16 @@ -import { ProofOfPassportWeb2Verifier } from './ProofOfPassportWeb2Verifier'; -import { ProofOfPassportWeb2Inputs } from './ProofOfPassportWeb2Verifier'; -import { ProofOfPassportVerifierReport } from './ProofOfPassportVerifierReport'; -// import { ProofOfPassportWeb3Verifier } from './ProofOfPassportWeb3Verifier'; +import { OpenPassportWeb2Verifier } from './OpenPassportWeb2Verifier'; +import { OpenPassportWeb2Inputs } from './OpenPassportWeb2Verifier'; +import { OpenPassportVerifierReport } from './OpenPassportVerifierReport'; +// import { OpenPassportWeb3Verifier } from './OpenPassportWeb3Verifier'; import { countryCodes } from './common/src/constants/constants'; import { QRCodeGenerator } from './QRCodeGenerator'; import { AppType } from '../common/src/utils/appType'; export { - ProofOfPassportWeb2Verifier, - // ProofOfPassportWeb3Verifier, - ProofOfPassportWeb2Inputs, - ProofOfPassportVerifierReport, + OpenPassportWeb2Verifier, + // OpenPassportWeb3Verifier, + OpenPassportWeb2Inputs, + OpenPassportVerifierReport, QRCodeGenerator, AppType, countryCodes diff --git a/sdk/tests/register.test.ts b/sdk/tests/register.test.ts index c049de91..1b4b59df 100644 --- a/sdk/tests/register.test.ts +++ b/sdk/tests/register.test.ts @@ -48,7 +48,7 @@ let inputs: any; let attestation_id: string; import path from "path"; import { poseidon1 } from "poseidon-lite"; -import { getDSCModulus, getNullifier, getSIV, verifyProofs } from "../ProofOfPassportRegister"; +import { getDSCModulus, getNullifier, getSIV, verifyProofs } from "../OpenPassportRegister"; let proof: any; let publicSignals: any; let cscaProof: any; diff --git a/sdk/tests/sdk.test.ts b/sdk/tests/sdk.test.ts index 7f807de6..caf8828c 100644 --- a/sdk/tests/sdk.test.ts +++ b/sdk/tests/sdk.test.ts @@ -8,7 +8,7 @@ import { poseidon2, poseidon6 } from "poseidon-lite"; import { PASSPORT_ATTESTATION_ID } from "../../common/src/constants/constants"; import { formatMrz, packBytes } from '../../common/src/utils/utils'; import { getLeaf } from '../../common/src/utils/pubkeyTree'; -import { ProofOfPassportWeb2Inputs, ProofOfPassportWeb2Verifier } from '../index'; +import { OpenPassportWeb2Inputs, OpenPassportWeb2Verifier } from '../index'; // import dotenv from 'dotenv'; // dotenv.config(); @@ -58,11 +58,11 @@ describe('Circuit Proving Tests', function () { ); /// Verify using web2 verifier - const proofOfPassportWeb2Verifier = new ProofOfPassportWeb2Verifier({ + const proofOfPassportWeb2Verifier = new OpenPassportWeb2Verifier({ scope: scope, requirements: [["older_than", "18"], ["nationality", "France"]] }); - const proofOfPassportWeb2Inputs = new ProofOfPassportWeb2Inputs(publicSignals, proof as any); + const proofOfPassportWeb2Inputs = new OpenPassportWeb2Inputs(publicSignals, proof as any); const result = await proofOfPassportWeb2Verifier.verify(proofOfPassportWeb2Inputs); @@ -73,7 +73,7 @@ describe('Circuit Proving Tests', function () { // it('proofOfPassportWeb3Verifier - should succeed', async () => { // const scope = BigInt(1).toString(); // /// Verify using web3 verifier - // const proofOfPassportWeb3Verifier = new ProofOfPassportWeb3Verifier({ + // const proofOfPassportWeb3Verifier = new OpenPassportWeb3Verifier({ // scope: scope // }); // const result = await proofOfPassportWeb3Verifier.verify(process.env.TEST_ADDRESS, Number(process.env.TOKEN_ID)); @@ -83,7 +83,7 @@ describe('Circuit Proving Tests', function () { // it('proofOfPassportWeb3Verifier - should fail', async () => { // const scope = BigInt(1).toString(); // /// Verify using web3 verifier - // const proofOfPassportWeb3Verifier = new ProofOfPassportWeb3Verifier({ + // const proofOfPassportWeb3Verifier = new OpenPassportWeb3Verifier({ // scope: scope, // requirements: [["older_than", "18"]] // });