Files
inji-wallet/package.json
KiruthikaJeyashankar 4695c7ddc8 [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation (#1303)
* [INJIMOB-531] send base64 encode data to encrypt to avoid data truncation

When we pass data from a react native app with <part1>\x00<part2> value, any data post the \x00 gets truncated (i.e., part2 is trimmed off). This happens most likely with the react native bridge. To avoid this issue of truncation, we are required to pass the data as base64 encoded string and secure-keystore module will perform decoding before processing for encryption.

Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

* [INJIMOB-531] upgrade secure-keystore package version

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>

---------

Signed-off-by: KiruthikaJeyashankar <81218987+KiruthikaJeyashankar@users.noreply.github.com>
Co-authored-by: Harsh Vardhan <harsh59v@gmail.com>
2024-02-28 20:16:50 +05:30

141 lines
5.2 KiB
JSON

{
"scripts": {
"prepare": "husky install",
"jetify": "jetify",
"start": "react-native start",
"android:mosip": "react-native run-android --variant=residentappDebug",
"ios": "react-native run-ios",
"build:android:mosip": "cd android && ./gradlew :app:assembleResidentappRelease && cd ..",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --fix",
"test": "jest",
"postinstall": "patch-package && npm run jetify && sh tools/talisman/talisman-precommit.sh"
},
"dependencies": {
"@digitalbazaar/ed25519-signature-2018": "digitalbazaar/ed25519-signature-2018",
"@digitalbazaar/ed25519-verification-key-2018": "digitalbazaar/ed25519-verification-key-2018",
"@digitalbazaar/rsa-signature-2018": "digitalbazaar/rsa-signature-2018#initial",
"@digitalbazaar/rsa-verification-key-2018": "digitalbazaar/rsa-verification-key-2018#initial",
"@digitalcredentials/vc": "^1.1.2",
"@expo-google-fonts/inter": "^0.2.3",
"@expo/metro-config": "~0.10.0",
"@iriscan/biometric-sdk-react-native": "0.2.6",
"@mosip/secure-keystore": "^0.1.7",
"@mosip/tuvali": "^0.4.9",
"@react-native-clipboard/clipboard": "^1.10.0",
"@react-native-community/netinfo": "9.3.7",
"@react-native-google-signin/google-signin": "^10.1.1",
"@react-native-picker/picker": "2.4.8",
"@react-navigation/bottom-tabs": "^6.0.7",
"@react-navigation/native": "^6.0.8",
"@react-navigation/native-stack": "^6.1.0",
"@robinbobin/react-native-google-drive-api-wrapper": "^1.2.4",
"@xstate/react": "^3.0.1",
"base64url-universal": "^1.1.0",
"buffer": "^6.0.3",
"date-fns": "^2.26.0",
"expo": "^49.0.16",
"expo-auth-session": "^5.2.0",
"expo-barcode-scanner": "~12.3.2",
"expo-camera": "^13.6.0",
"expo-constants": "^14.4.2",
"expo-font": "~11.1.1",
"expo-local-authentication": "~13.3.0",
"expo-localization": "~14.1.1",
"expo-modules-autolinking": "^1.5.1",
"expo-splash-screen": "^0.22.0",
"expo-updates": "^0.18.17",
"expo-web-browser": "^12.5.0",
"i18next": "^21.6.16",
"iso-639-3": "^3.0.1",
"jwt-decode": "^3.1.2",
"node-forge": "^1.3.1",
"node-jose": "^2.2.0",
"patch-package": "^6.5.1",
"postinstall-postinstall": "^2.1.0",
"react": "18.2.0",
"react-i18next": "^11.16.6",
"react-native": "0.71.8",
"react-native-android-location-services-dialog-box": "^2.8.2",
"react-native-app-auth": "^7.0.0",
"react-native-app-intro-slider": "^4.0.4",
"react-native-argon2": "^2.0.1",
"react-native-biometrics-changed": "^1.1.8",
"react-native-bluetooth-state-manager": "^1.3.2",
"react-native-cli": "^2.0.1",
"react-native-cloud-storage": "^1.3.0",
"react-native-device-info": "^8.4.8",
"react-native-dotenv": "^3.3.1",
"react-native-elements": "3.4.3",
"react-native-fs": "^2.18.0",
"react-native-gesture-handler": "~2.9.0",
"react-native-keychain": "^8.0.0",
"react-native-linear-gradient": "^2.8.0",
"react-native-localize": "^3.0.2",
"react-native-location": "^2.5.0",
"react-native-mmkv-storage": "^0.9.1",
"react-native-permissions": "^3.8.0",
"react-native-popable": "^0.4.3",
"react-native-qrcode-svg": "^6.2.0",
"react-native-restart": "^0.0.24",
"react-native-rsa-native": "^2.0.5",
"react-native-safe-area-context": "4.5.0",
"react-native-screens": "~3.20.0",
"react-native-secure-key-store": "^2.0.10",
"react-native-securerandom": "^1.0.1",
"react-native-shimmer-placeholder": "^2.0.9",
"react-native-spinkit": "^1.5.1",
"react-native-svg": "13.4.0",
"react-native-vector-icons": "^10.0.0",
"react-native-zip-archive": "^6.1.0",
"short-unique-id": "^4.4.4",
"simple-pem2jwk": "^0.2.4",
"telemetry-sdk": "git://github.com/mosip/sunbird-telemetry-sdk.git#f762be5732ee552c0c70bdd540aa4e2701554c71",
"xstate": "^4.35.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native-community/eslint-config": "^3.2.0",
"@react-navigation/devtools": "^6.0.19",
"@tsconfig/react-native": "^2.0.2",
"@types/node-forge": "^1.3.9",
"@types/react": "^18.0.24",
"@types/react-native": "~0.64.12",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"babel-jest": "^29.2.1",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-module-resolver": "^5.0.0",
"eslint": "^8.19.0",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-sonarjs": "^0.13.0",
"glob": "^8.0.1",
"husky": "^7.0.4",
"jest": "^29.2.1",
"jetifier": "^2.0.0",
"lint-staged": "^12.3.7",
"prettier": "^2.6.1",
"react-native-flipper": "^0.212.0",
"react-native-flipper-xstate": "^1.0.5",
"react-native-svg-transformer": "^1.1.0",
"react-native-url-polyfill": "^2.0.0",
"rn-mmkv-storage-flipper": "^1.1.1",
"typescript": "^4.9.4"
},
"private": true,
"name": "mosip-resident-app",
"version": "1.0.0",
"lint-staged": {
"*.{ts,tsx,js,css,md}": "prettier --write"
},
"overrides": {
"react": "18.2.0",
"react-native": "0.71.8",
"node-forge": "^1.3.1"
},
"engines": {
"node": ">=16"
}
}