Skip to content

Commit

Permalink
chore: remove bprime (#214)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <[email protected]>
  • Loading branch information
TimoGlastra authored Nov 19, 2024
1 parent 7acb285 commit ca8ced3
Show file tree
Hide file tree
Showing 19 changed files with 364 additions and 1,656 deletions.
6 changes: 0 additions & 6 deletions apps/easypid/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,6 @@ The [app pacakge](packages/app) and [ui pacakge](packages/ui) contain the underl

The C flow supported in the Pardaym Wallet is mostly implemetned in Credo, the underlying identity framework we use.

For the B' flow, more custom work was needed and this is implemented in the following files:
- [src/crypto/bPrime.ts](src/crypto/bPrime.ts)
- [src/crypto/aes.ts](src/crypto/aes.ts)

The crypto for the B' flow is implemented using Aries Askar.

## Tech stack / base components

The following section lists the software components used to create the EasyPID wallet. The heavy lifting is done by [Credo](https://github.com/openwallet-foundation/credo-ts). The most notable dependencies consumed by Credo are the [OpenId4Vc](https://github.com/Sphereon-Opensource/OID4VC) [Mdoc](https://github.com/Sphereon-Opensource/mdoc-cbor-crypto-multiplatform) and [SdJwt](https://github.com/openwallet-foundation-labs/sd-jwt-js) libraries. Other notable dependencies include the Animo [Expo Secure Environment](https://github.com/animo/expo-secure-environment), which provides support for cryptographic operations using the device's secure environment (HSM, SE, etc.) hidden behind biometric authentication, and Animo [Ausweis Sdk](https://github.com/animo/expo-ausweis-sdk) for automatic setup and configuration of the Ausweis SDK for iOS and Android in Expo apps.
Expand Down
3 changes: 1 addition & 2 deletions apps/easypid/src/app/(app)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ import { Redirect, Stack, useRouter } from 'expo-router'
import { useSecureUnlock } from '@easypid/agent'
import { activityStorage } from '@easypid/features/activity/activityRecord'
import { useHasFinishedOnboarding } from '@easypid/features/onboarding'
import { seedCredentialStorage } from '@easypid/storage'
import { resetWallet, useResetWalletDevMenu } from '@easypid/utils/resetWallet'
import { AgentProvider, WalletJsonStoreProvider } from '@package/agent'
import { type CredentialDataHandlerOptions, DeeplinkHandler, useHaptics } from '@package/app'
import { HeroIcons, IconContainer } from '@package/ui'
import { useEffect, useState } from 'react'
import { useTheme } from 'tamagui'

const jsonRecordIds = [seedCredentialStorage.recordId, activityStorage.recordId]
const jsonRecordIds = [activityStorage.recordId]

// When deeplink routing we want to push
export const credentialDataHandlerOptions = {
Expand Down
1 change: 0 additions & 1 deletion apps/easypid/src/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export const EASYPID_WALLET_SEED_CREDENTIAL_RECORD_ID = 'EASYPID_WALLET_SEED_CREDENTIAL_RECORD_ID'
export const EASYPID_WALLET_PID_PIN_KEY_ID = 'EASYPID_WALLET_PID_PIN_KEY_ID_NO_BIOMETRICS'
export const EASYPID_WALLET_INSTANCE_LONG_TERM_AES_KEY_ID = 'EASYPID_WALLET_INSTANCE_LONG_TERM_AES_KEY_ID'

Expand Down
Loading

0 comments on commit ca8ced3

Please sign in to comment.