@credo-ts/core 0.5.1-alpha.30 → 0.5.1-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/modules/didcomm/services/DidCommDocumentService.js +7 -2
- package/build/modules/didcomm/services/DidCommDocumentService.js.map +1 -1
- package/build/modules/didcomm/util/matchingEd25519Key.js +1 -1
- package/build/modules/didcomm/util/matchingEd25519Key.js.map +1 -1
- package/build/modules/dids/domain/DidDocument.d.ts +2 -2
- package/build/modules/dids/domain/DidDocument.js +3 -11
- package/build/modules/dids/domain/DidDocument.js.map +1 -1
- package/package.json +2 -2
|
@@ -45,13 +45,18 @@ let DidCommDocumentService = class DidCommDocumentService {
|
|
|
45
45
|
const routingKeys = [];
|
|
46
46
|
for (const routingKey of (_b = didCommService.routingKeys) !== null && _b !== void 0 ? _b : []) {
|
|
47
47
|
const routingDidDocument = await this.didResolverService.resolveDidDocument(agentContext, routingKey);
|
|
48
|
-
routingKeys.push((0, domain_1.
|
|
48
|
+
routingKeys.push((0, domain_1.getKeyFromVerificationMethod)(routingDidDocument.dereferenceKey(routingKey, ['authentication', 'keyAgreement'])));
|
|
49
49
|
}
|
|
50
50
|
// DidCommV1Service has keys encoded as key references
|
|
51
51
|
// Dereference recipientKeys
|
|
52
52
|
const recipientKeys = didCommService.recipientKeys.map((recipientKeyReference) => {
|
|
53
|
-
|
|
53
|
+
// FIXME: we allow authentication keys as historically ed25519 keys have been used in did documents
|
|
54
|
+
// for didcomm. In the future we should update this to only be allowed for IndyAgent and DidCommV1 services
|
|
55
|
+
// as didcomm v2 doesn't have this issue anymore
|
|
56
|
+
const key = (0, domain_1.getKeyFromVerificationMethod)(didDocument.dereferenceKey(recipientKeyReference, ['authentication', 'keyAgreement']));
|
|
54
57
|
// try to find a matching Ed25519 key (https://sovrin-foundation.github.io/sovrin/spec/did-method-spec-template.html#did-document-notes)
|
|
58
|
+
// FIXME: Now that indy-sdk is deprecated, we should look into the possiblty of using the X25519 key directly
|
|
59
|
+
// removing the need to also include the Ed25519 key in the did document.
|
|
55
60
|
if (key.keyType === crypto_1.KeyType.X25519) {
|
|
56
61
|
const matchingEd25519Key = (0, matchingEd25519Key_1.findMatchingEd25519Key)(key, didDocument);
|
|
57
62
|
if (matchingEd25519Key)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommDocumentService.js","sourceRoot":"","sources":["../../../../src/modules/didcomm/services/DidCommDocumentService.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"DidCommDocumentService.js","sourceRoot":"","sources":["../../../../src/modules/didcomm/services/DidCommDocumentService.ts"],"names":[],"mappings":";;;;;;;;;;;;AAIA,4CAAyC;AACzC,8CAA6C;AAC7C,qCAA+C;AAC/C,8CAA8G;AAC9G,gDAA0D;AAC1D,mEAAmE;AAG5D,IAAM,sBAAsB,GAA5B,MAAM,sBAAsB;IAGjC,YAAmB,kBAAsC;QACvD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAA;IAC9C,CAAC;IAEM,KAAK,CAAC,sBAAsB,CAAC,YAA0B,EAAE,GAAW;;QACzE,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,YAAY,EAAE,GAAG,CAAC,CAAA;QAEvF,MAAM,gBAAgB,GAA6B,EAAE,CAAA;QAErD,0DAA0D;QAC1D,MAAM,eAAe,GAAG,IAAA,iBAAQ,EAAC,GAAG,CAAC,CAAC,QAAQ;YAC5C,CAAC,CAAC,WAAW,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,EAAE,KAAK,GAAG,CAAC;YACrE,CAAC,CAAC,WAAW,CAAC,eAAe,CAAA;QAE/B,qHAAqH;QACrH,uIAAuI;QACvI,KAAK,MAAM,cAAc,IAAI,eAAe,EAAE;YAC5C,IAAI,cAAc,CAAC,IAAI,KAAK,yBAAgB,CAAC,I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C,GAAG,EAAE,WAAW,CAAC,CAAA;wBACnE,IAAI,kBAAkB;4BAAE,OAAO,kBAAkB,CAAA;qBAClD;oBACD,OAAO,GAAG,CAAA;gBACZ,CAAC,CAAC,CAAA;gBAEF,gBAAgB,CAAC,IAAI,CAAC;oBACpB,EAAE,EAAE,cAAc,CAAC,EAAE;oBACrB,aAAa;oBACb,WAAW;oBACX,eAAe,EAAE,cAAc,CAAC,eAAe;iBAChD,CAAC,CAAA;aACH;SACF;QAED,OAAO,gBAAgB,CAAA;IACzB,CAAC;CACF,CAAA;AAxEY,sBAAsB;IADlC,IAAA,oBAAU,GAAE;qCAI4B,yBAAkB;GAH9C,sBAAsB,CAwElC;AAxEY,wDAAsB"}
|
|
@@ -23,7 +23,7 @@ function findMatchingEd25519Key(x25519Key, didDocument) {
|
|
|
23
23
|
...keyAgreements.filter((keyAgreement) => typeof keyAgreement !== 'string'),
|
|
24
24
|
];
|
|
25
25
|
return allKeyReferences
|
|
26
|
-
.map((keyReference) => (0, dids_1.
|
|
26
|
+
.map((keyReference) => (0, dids_1.getKeyFromVerificationMethod)(didDocument.dereferenceKey(keyReference.id)))
|
|
27
27
|
.filter((key) => (key === null || key === void 0 ? void 0 : key.keyType) === crypto_1.KeyType.Ed25519)
|
|
28
28
|
.find((keyEd25519) => {
|
|
29
29
|
const keyX25519 = crypto_1.Key.fromPublicKey((0, ed25519_1.convertPublicKeyToX25519)(keyEd25519.publicKey), crypto_1.KeyType.X25519);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"matchingEd25519Key.js","sourceRoot":"","sources":["../../../../src/modules/didcomm/util/matchingEd25519Key.ts"],"names":[],"mappings":";;;AAEA,4CAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"matchingEd25519Key.js","sourceRoot":"","sources":["../../../../src/modules/didcomm/util/matchingEd25519Key.ts"],"names":[],"mappings":";;;AAEA,4CAA8C;AAC9C,qCAAyD;AACzD,gEAA6E;AAE7E;;;;;GAKG;AAC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1Service } from './service';
|
|
4
4
|
import { VerificationMethod } from './verificationMethod';
|
|
5
5
|
export type DidPurpose = 'authentication' | 'keyAgreement' | 'assertionMethod' | 'capabilityInvocation' | 'capabilityDelegation';
|
|
6
|
+
type DidVerificationMethods = DidPurpose | 'verificationMethod';
|
|
6
7
|
interface DidDocumentOptions {
|
|
7
8
|
context?: string | string[];
|
|
8
9
|
id: string;
|
|
@@ -30,7 +31,7 @@ export declare class DidDocument {
|
|
|
30
31
|
capabilityDelegation?: Array<string | VerificationMethod>;
|
|
31
32
|
constructor(options: DidDocumentOptions);
|
|
32
33
|
dereferenceVerificationMethod(keyId: string): VerificationMethod;
|
|
33
|
-
dereferenceKey(keyId: string, allowedPurposes?:
|
|
34
|
+
dereferenceKey(keyId: string, allowedPurposes?: DidVerificationMethods[]): VerificationMethod;
|
|
34
35
|
/**
|
|
35
36
|
* Returns all of the service endpoints matching the given type.
|
|
36
37
|
*
|
|
@@ -51,7 +52,6 @@ export declare class DidDocument {
|
|
|
51
52
|
get recipientKeys(): Key[];
|
|
52
53
|
toJSON(): Record<string, any>;
|
|
53
54
|
}
|
|
54
|
-
export declare function keyReferenceToKey(didDocument: DidDocument, keyId: string): Key;
|
|
55
55
|
/**
|
|
56
56
|
* Extracting the verification method for signature type
|
|
57
57
|
* @param type Signature type
|
|
@@ -16,7 +16,7 @@ var __asyncValues = (this && this.__asyncValues) || function (o) {
|
|
|
16
16
|
function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.findVerificationMethodByKeyType = exports.
|
|
19
|
+
exports.findVerificationMethodByKeyType = exports.DidDocument = void 0;
|
|
20
20
|
const class_transformer_1 = require("class-transformer");
|
|
21
21
|
const class_validator_1 = require("class-validator");
|
|
22
22
|
const Key_1 = require("../../../crypto/Key");
|
|
@@ -64,6 +64,7 @@ class DidDocument {
|
|
|
64
64
|
'assertionMethod',
|
|
65
65
|
'capabilityInvocation',
|
|
66
66
|
'capabilityDelegation',
|
|
67
|
+
'verificationMethod',
|
|
67
68
|
];
|
|
68
69
|
const purposes = allowedPurposes !== null && allowedPurposes !== void 0 ? allowedPurposes : allPurposes;
|
|
69
70
|
for (const purpose of purposes) {
|
|
@@ -120,7 +121,7 @@ class DidDocument {
|
|
|
120
121
|
else if (service.type === service_1.DidCommV1Service.type) {
|
|
121
122
|
recipientKeys = [
|
|
122
123
|
...recipientKeys,
|
|
123
|
-
...service.recipientKeys.map((recipientKey) =>
|
|
124
|
+
...service.recipientKeys.map((recipientKey) => (0, key_type_1.getKeyFromVerificationMethod)(this.dereferenceKey(recipientKey, ['authentication', 'keyAgreement']))),
|
|
124
125
|
];
|
|
125
126
|
}
|
|
126
127
|
}
|
|
@@ -199,15 +200,6 @@ __decorate([
|
|
|
199
200
|
__metadata("design:type", Array)
|
|
200
201
|
], DidDocument.prototype, "capabilityDelegation", void 0);
|
|
201
202
|
exports.DidDocument = DidDocument;
|
|
202
|
-
function keyReferenceToKey(didDocument, keyId) {
|
|
203
|
-
// FIXME: we allow authentication keys as historically ed25519 keys have been used in did documents
|
|
204
|
-
// for didcomm. In the future we should update this to only be allowed for IndyAgent and DidCommV1 services
|
|
205
|
-
// as didcomm v2 doesn't have this issue anymore
|
|
206
|
-
const verificationMethod = didDocument.dereferenceKey(keyId, ['authentication', 'keyAgreement']);
|
|
207
|
-
const key = (0, key_type_1.getKeyFromVerificationMethod)(verificationMethod);
|
|
208
|
-
return key;
|
|
209
|
-
}
|
|
210
|
-
exports.keyReferenceToKey = keyReferenceToKey;
|
|
211
203
|
/**
|
|
212
204
|
* Extracting the verification method for signature type
|
|
213
205
|
* @param type Signature type
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidDocument.js","sourceRoot":"","sources":["../../../../src/modules/dids/domain/DidDocument.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,yDAA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ED,OAAO,IAAI,CAAA;AACb,CAAC;AA1BD,0EA0BC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@credo-ts/core",
|
|
3
3
|
"main": "build/index",
|
|
4
4
|
"types": "build/index",
|
|
5
|
-
"version": "0.5.1-alpha.
|
|
5
|
+
"version": "0.5.1-alpha.31+5d986f0d",
|
|
6
6
|
"files": [
|
|
7
7
|
"build"
|
|
8
8
|
],
|
|
@@ -69,5 +69,5 @@
|
|
|
69
69
|
"tslog": "^4.8.2",
|
|
70
70
|
"typescript": "~4.9.5"
|
|
71
71
|
},
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "5d986f0da67de78b4df2ad7ab92eeb2bdf9f2c83"
|
|
73
73
|
}
|