From c25f9a73aa1eda6ede2a44902269547b336d896b Mon Sep 17 00:00:00 2001 From: hawkbee1 Date: Fri, 3 May 2024 07:11:46 +0000 Subject: [PATCH] As a proofPurpose, use assertionMethod instead of authentication except for DidAuth --- lib/scan/cubit/scan_cubit.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/scan/cubit/scan_cubit.dart b/lib/scan/cubit/scan_cubit.dart index 92e505ca6..f326b6758 100644 --- a/lib/scan/cubit/scan_cubit.dart +++ b/lib/scan/cubit/scan_cubit.dart @@ -358,7 +358,7 @@ class ScanCubit extends Cubit { }), jsonEncode({ 'verificationMethod': kid, - 'proofPurpose': 'authentication', + 'proofPurpose': 'assertionMethod', 'challenge': challenge, 'domain': domain, }), @@ -891,7 +891,7 @@ class ScanCubit extends Cubit { if (presentLdpVc) { final options = jsonEncode({ 'verificationMethod': kid, - 'proofPurpose': 'authentication', + 'proofPurpose': 'assertionMethod', 'challenge': nonce, 'domain': clientId, });