Skip to content

Commit

Permalink
fix: Used edDSA private key - did for chat #2753
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Jul 1, 2024
1 parent a271b91 commit 120fd3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/chat_room/matrix_chat/matrix_chat_impl.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,16 @@ class MatrixChatImpl extends MatrixChatInterface {
return user!;
}

final didKeyType = profileCubit.state.model.profileSetting
.selfSovereignIdentityOptions.customOidc4vcProfile.defaultDid;
// final didKeyType = profileCubit.state.model.profileSetting
// .selfSovereignIdentityOptions.customOidc4vcProfile.defaultDid;

final privateKey = await getPrivateKey(
profileCubit: profileCubit,
didKeyType: didKeyType,
didKeyType: DidKeyType.edDSA,
);

final (did, kid) = await getDidAndKid(
didKeyType: didKeyType,
didKeyType: DidKeyType.edDSA,
privateKey: privateKey,
profileCubit: profileCubit,
);
Expand Down

0 comments on commit 120fd3f

Please sign in to comment.