Skip to content

Commit

Permalink
correct rule to check cnf of presented credential #2877
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Sep 13, 2024
1 parent 665faf8 commit 734c2fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ class _SelectiveDisclosurePickViewState
};

// If there no cnf in the payload, then no need to add signature
if (payload['cnf'] != null) {
if (widget.credentialToBePresented.data['cnf'] != null) {
/// sign and get token
final jwtToken = profileCubit.oidc4vc.generateToken(
payload: payload,
Expand Down
8 changes: 4 additions & 4 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,10 @@ packages:
dependency: "direct main"
description:
name: asn1lib
sha256: "58082b3f0dca697204dbab0ef9ff208bfaea7767ea771076af9a343488428dda"
sha256: "2ca377ad4d677bbadca278e0ba4da4e057b80a10b927bfc8f7d8bda8fe2ceb75"
url: "https://pub.dev"
source: hosted
version: "1.5.3"
version: "1.5.4"
async:
dependency: "direct main"
description:
Expand Down Expand Up @@ -1844,10 +1844,10 @@ packages:
dependency: transitive
description:
name: permission_handler_platform_interface
sha256: fe0ffe274d665be8e34f9c59705441a7d248edebbe5d9e3ec2665f88b79358ea
sha256: e9c8eadee926c4532d0305dff94b85bf961f16759c3af791486613152af4b4f9
url: "https://pub.dev"
source: hosted
version: "4.2.2"
version: "4.2.3"
permission_handler_windows:
dependency: transitive
description:
Expand Down

0 comments on commit 734c2fa

Please sign in to comment.