Tuvali and SecureKeystore version change (#1475)

* [INJIMOB-890]: revert tuvali version to 0.4.9

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1387]: bump up the secure-keystore version

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1387]: update signing key from RSA-4096 to RSA-2048

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

* [INJIMOB-1387]: change tuvali version to 0.4.9

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>

---------

Signed-off-by: Alka Prasad <prasadalka1998@gmail.com>
This commit is contained in:
Alka Prasad
2024-06-03 14:21:47 +05:30
committed by GitHub
parent 366ee955fd
commit 0ebba67a7c
4 changed files with 9 additions and 33 deletions

View File

@@ -257,7 +257,7 @@ dependencies {
implementation("com.facebook.react:react-android")
implementation 'com.facebook.soloader:soloader:0.10.1+'
implementation("io.mosip:pixelpass:1.2-SNAPSHOT")
implementation("io.mosip:secure-keystore:1.1-SNAPSHOT")
implementation("io.mosip:secure-keystore:1.2-SNAPSHOT")
def isGifEnabled = (findProperty('expo.gif.enabled') ?: "") == "true";
def isWebpEnabled = (findProperty('expo.webp.enabled') ?: "") == "true";

36
package-lock.json generated
View File

@@ -18,7 +18,7 @@
"@expo/metro-config": "~0.10.0",
"@invertase/react-native-apple-authentication": "^2.3.0",
"@iriscan/biometric-sdk-react-native": "0.2.6",
"@mosip/tuvali": "git://github.com/mosip/tuvali.git#develop",
"@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",
@@ -138,13 +138,6 @@
"node": ">=16"
}
},
".yalc/react-native-pixelpass": {
"version": "1.0.0",
"extraneous": true,
"peerDependencies": {
"react-native": "^0.41.2"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
@@ -5694,9 +5687,8 @@
},
"node_modules/@mosip/tuvali": {
"version": "0.4.9",
"resolved": "git+ssh://git@github.com/mosip/tuvali.git#1b7fb2575bead357da73f971aceb317e384be543",
"integrity": "sha512-220+zbZ3m9LOp2f3upeu500mOr3uxEdnnHvbHayzaZMsBEvK8D7/5UoXSF3OLRJZlZ/f4VKD7GKxMVlZ1thP3Q==",
"license": "MIT",
"resolved": "https://registry.npmjs.org/@mosip/tuvali/-/tuvali-0.4.9.tgz",
"integrity": "sha512-WnpnM9EAJKEBdZ71DPSeh2va5LDy01iWFI3Ngtc4KfJ4XHWyQbRQA/1T4QPDgofMTP8wy9wehD7w4m8K8YJdhw==",
"peerDependencies": {
"react": "*",
"react-native": "*"
@@ -33422,26 +33414,10 @@
}
}
},
"@mosip/pixelpass": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@mosip/pixelpass/-/pixelpass-0.1.5.tgz",
"integrity": "sha512-4vVB9P54xDi9g+1fwBnD/9h97w/nm0J5RNKkN1L0gCqLdKzzPitehnCreZEhF0pN4uOBKDDwZsRKL5KdZVsFWg==",
"requires": {
"base45-web": "^1.0.2",
"cbor-web": "^9.0.2",
"pako": "^2.1.0",
"qrcode": "^1.5.3"
}
},
"@mosip/secure-keystore": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/@mosip/secure-keystore/-/secure-keystore-0.1.7.tgz",
"integrity": "sha512-Yo9pCj1do8mKkwMkhRVbnf0cqOQaD3EJlMgcM8OyEedvB/dA5qQKJ2nDt7SkA+Rjnl1XHmvv6qAmLD1xuOD8kQ=="
},
"@mosip/tuvali": {
"version": "git+ssh://git@github.com/mosip/tuvali.git#1b7fb2575bead357da73f971aceb317e384be543",
"integrity": "sha512-220+zbZ3m9LOp2f3upeu500mOr3uxEdnnHvbHayzaZMsBEvK8D7/5UoXSF3OLRJZlZ/f4VKD7GKxMVlZ1thP3Q==",
"from": "@mosip/tuvali@git://github.com/mosip/tuvali.git#develop",
"version": "0.4.9",
"resolved": "https://registry.npmjs.org/@mosip/tuvali/-/tuvali-0.4.9.tgz",
"integrity": "sha512-WnpnM9EAJKEBdZ71DPSeh2va5LDy01iWFI3Ngtc4KfJ4XHWyQbRQA/1T4QPDgofMTP8wy9wehD7w4m8K8YJdhw==",
"requires": {}
},
"@nicolo-ribaudo/eslint-scope-5-internals": {

View File

@@ -21,7 +21,7 @@
"@expo/metro-config": "~0.10.0",
"@invertase/react-native-apple-authentication": "^2.3.0",
"@iriscan/biometric-sdk-react-native": "0.2.6",
"@mosip/tuvali": "git://github.com/mosip/tuvali.git#develop",
"@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",

View File

@@ -15,7 +15,7 @@ export const DUMMY_KEY_FOR_BIOMETRIC_ALIAS =
'9a6cfc0e-4248-11ee-be56-0242ac120002';
export function generateKeys(): Promise<KeyPair> {
return Promise.resolve(RSA.generateKeys(4096));
return Promise.resolve(RSA.generateKeys(2048));
}
/**