Fork of github.com/did-method-plc/did-method-plc
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

relax constraints on service key format

+2 -3
+2 -3
packages/server/src/constraints.ts
··· 111 111 `Verification Method id too long (max ${MAX_ID_LENGTH}): ${id}`, 112 112 ) 113 113 } 114 - try { 115 - parseDidKey(key) 116 - } catch (err) { 114 + // perform only minimal did:key syntax checking 115 + if (!key.startsWith('did:key:')) { 117 116 throw new ServerError(400, `Invalid verificationMethod key: ${key}`) 118 117 } 119 118 }