Skip to content

Commit

Permalink
remove attestation key from ion dwn configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mistermoe authored and frankhinek committed May 19, 2023
1 parent ea33290 commit 05153e4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/dids/src/did-ion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ export class DidIonApi implements DidMethodResolver, DidMethodCreator {
*/
static async generateDwnConfiguration(dwnUrls: string[]): Promise<DidIonCreateOptions> {
const keys = [{
id : 'attest',
type : 'JsonWebKey2020',
keyPair : await generateKeyPair('secp256k1'),
purposes : ['authentication'],
}, {
id : 'authz',
type : 'JsonWebKey2020',
keyPair : await generateKeyPair('secp256k1'),
Expand All @@ -182,7 +177,6 @@ export class DidIonApi implements DidMethodResolver, DidMethodCreator {
'type' : 'DecentralizedWebNode',
'serviceEndpoint' : {
'nodes' : dwnUrls,
'messageAttestationKeys' : ['#attest'],
'messageAuthorizationKeys' : ['#authz'],
'recordEncryptionKeys' : ['#encr']
}
Expand Down

0 comments on commit 05153e4

Please sign in to comment.