Skip to content

Commit

Permalink
change default id for encryption key
Browse files Browse the repository at this point in the history
  • Loading branch information
mistermoe authored and frankhinek committed May 19, 2023
1 parent 05153e4 commit e6ec1d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/dids/src/did-ion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -178,7 +178,7 @@ export class DidIonApi implements DidMethodResolver, DidMethodCreator {
'serviceEndpoint' : {
'nodes' : dwnUrls,
'messageAuthorizationKeys' : ['#authz'],
'recordEncryptionKeys' : ['#encr']
'recordEncryptionKeys' : ['#enc']
}
}];

Expand Down

0 comments on commit e6ec1d0

Please sign in to comment.