diff --git a/packages/dids/src/did-ion.ts b/packages/dids/src/did-ion.ts index 46c1bc722..65587126f 100644 --- a/packages/dids/src/did-ion.ts +++ b/packages/dids/src/did-ion.ts @@ -166,7 +166,7 @@ export class DidIonApi implements DidMethodResolver, DidMethodCreator { keyPair : await generateKeyPair('secp256k1'), purposes : ['authentication'], }, { - id : 'encr', + id : 'enc', type : 'JsonWebKey2020', keyPair : await generateKeyPair('secp256k1'), purposes : ['keyAgreement'], @@ -178,7 +178,7 @@ export class DidIonApi implements DidMethodResolver, DidMethodCreator { 'serviceEndpoint' : { 'nodes' : dwnUrls, 'messageAuthorizationKeys' : ['#authz'], - 'recordEncryptionKeys' : ['#encr'] + 'recordEncryptionKeys' : ['#enc'] } }];