diff --git a/lib/app/shared/helper_functions/helper_functions.dart b/lib/app/shared/helper_functions/helper_functions.dart index 5412df3a7..9900c2af5 100644 --- a/lib/app/shared/helper_functions/helper_functions.dart +++ b/lib/app/shared/helper_functions/helper_functions.dart @@ -1579,11 +1579,8 @@ Future<(String?, String?, String?, String?)> getClientDetails({ final didKeyType = customOidc4vcProfile.defaultDid; - final privateKey = await fetchPrivateKey( - profileCubit: profileCubit, - isEBSIV3: isEBSIV3, - didKeyType: didKeyType, - ); + final privateKey = + await getP256KeyToGetAndPresentVC(profileCubit.secureStorageProvider); final (did, _) = await fetchDidAndKid( privateKey: privateKey,