Skip to content

Commit

Permalink
Update Default value for Custom profile #2414
Browse files Browse the repository at this point in the history
  • Loading branch information
bibash28 committed Feb 16, 2024
1 parent 394037e commit 399c677
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/app/shared/constants/parameters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Parameters {
static const String appName = 'Altme';

static const DidKeyType didKeyTypeForEbsiV3 = DidKeyType.ebsiv3;
static const DidKeyType didKeyTypeForDefault = DidKeyType.edDSA;
static const DidKeyType didKeyTypeForDefault = DidKeyType.p256;
static const DidKeyType didKeyTypeForDutch = DidKeyType.jwkP256;
static const DidKeyType didKeyTypeForOwfBaselineProfile = DidKeyType.jwkP256;
}
6 changes: 3 additions & 3 deletions lib/dashboard/profile/models/profile.dart
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ class ProfileModel extends Equatable {
displayManageDecentralizedId: true,
customOidc4vcProfile: CustomOidc4VcProfile(
clientAuthentication: ClientAuthentication.clientId,
credentialManifestSupport: true,
credentialManifestSupport: false,
cryptoHolderBinding: true,
defaultDid: Parameters.didKeyTypeForDefault,
oidc4vciDraft: OIDC4VCIDraftType.draft11,
oidc4vpDraft: OIDC4VPDraftType.draft18,
scope: false,
securityLevel: false,
proofHeader: ProofHeaderType.kid, // N/A
proofHeader: ProofHeaderType.kid,
siopv2Draft: SIOPV2DraftType.draft12,
clientType: ClientType.did,
clientId: clientId,
clientSecret: clientSecret,
vcFormatType: VCFormatType.ldpVc,
vcFormatType: VCFormatType.jwtVcJson,
),
),
settingsMenu: SettingsMenu.initial(),
Expand Down

0 comments on commit 399c677

Please sign in to comment.