mirror of
https://github.com/selfxyz/self.git
synced 2026-04-05 03:00:53 -04:00
SELF-1060: Move passport-reader (#1349)
* rm passport-reader * update CI scripts * yarn nice * update android workflow files * ignore leaks * fix write access error * ignore passport read build.gradle file * update message condition * fix read access * revert earlier changes. the failures were do to token permissions * fix wasm test * update jest * fix tests * simplify tests to avoid oom issues * fix tests * fix notification test * fix nfcScanner tests --------- Co-authored-by: Justin Hernandez <justin.hernandez@self.xyz>
This commit is contained in:
@@ -196,7 +196,7 @@ const AccountRecoveryChoiceScreen: React.FC = () => {
|
||||
<Description>
|
||||
By continuing, you certify that this passport belongs to you and is
|
||||
not stolen or forged.{' '}
|
||||
{biometricsAvailable && (
|
||||
{!biometricsAvailable && (
|
||||
<>
|
||||
Your device doesn't support biometrics or is disabled for apps
|
||||
and is required for cloud storage.
|
||||
|
||||
@@ -267,7 +267,8 @@ const handleResponseAndroid = (response: AndroidScanResponse): PassportData => {
|
||||
const dgHashesObj = JSON.parse(dataGroupHashes);
|
||||
const dg1HashString = dgHashesObj['1'];
|
||||
const dg1Hash = Array.from(Buffer.from(dg1HashString, 'hex'));
|
||||
const dg2Hash = dgHashesObj['2'];
|
||||
const dg2HashString = dgHashesObj['2'];
|
||||
const dg2Hash = Array.from(Buffer.from(dg2HashString, 'hex'));
|
||||
const pem =
|
||||
'-----BEGIN CERTIFICATE-----' +
|
||||
documentSigningCertificate +
|
||||
|
||||
Reference in New Issue
Block a user