@sphereon/ssi-sdk-ext.jwt-service 0.24.1-unstable.130 → 0.24.1-unstable.132
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/dist/agent/JwtService.d.ts +2 -0
- package/dist/agent/JwtService.d.ts.map +1 -1
- package/dist/agent/JwtService.js +71 -0
- package/dist/agent/JwtService.js.map +1 -1
- package/dist/functions/JWE.d.ts +75 -0
- package/dist/functions/JWE.d.ts.map +1 -0
- package/dist/functions/JWE.js +280 -0
- package/dist/functions/JWE.js.map +1 -0
- package/dist/functions/index.d.ts +3 -3
- package/dist/functions/index.js +4 -4
- package/dist/functions/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/types/IJwtService.d.ts +116 -13
- package/dist/types/IJwtService.d.ts.map +1 -1
- package/dist/types/IJwtService.js +36 -3
- package/dist/types/IJwtService.js.map +1 -1
- package/package.json +12 -10
- package/plugin.schema.json +2171 -896
- package/src/agent/JwtService.ts +103 -47
- package/src/functions/JWE.ts +358 -0
- package/src/functions/index.ts +15 -15
- package/src/index.ts +4 -0
- package/src/types/IJwtService.ts +239 -76
package/dist/index.js
CHANGED
|
@@ -14,12 +14,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.JwtService = exports.schema = void 0;
|
|
17
|
+
exports.JwtService = exports.JwtLogger = exports.schema = void 0;
|
|
18
|
+
const ssi_types_1 = require("@sphereon/ssi-types");
|
|
18
19
|
/**
|
|
19
20
|
* @internal
|
|
20
21
|
*/
|
|
21
22
|
const schema = require('../plugin.schema.json');
|
|
22
23
|
exports.schema = schema;
|
|
24
|
+
exports.JwtLogger = ssi_types_1.Loggers.DEFAULT.get('sphereon:sdk:jwt');
|
|
23
25
|
/**
|
|
24
26
|
* @public
|
|
25
27
|
*/
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,MAAM,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAA;AACtC,wBAAM;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,mDAA4C;AAE5C;;GAEG;AACH,MAAM,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAA;AACtC,wBAAM;AAEF,QAAA,SAAS,GAAG,mBAAO,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAA;AAChE;;GAEG;AACH,iDAA+C;AAAtC,wGAAA,UAAU,OAAA;AACnB,8CAA2B;AAC3B,sDAAmC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ExternalIdentifierDidOpts, ExternalIdentifierResult, ExternalIdentifierX5cOpts, IIdentifierResolution, ManagedIdentifierOptsOrResult, ManagedIdentifierResult } from '@sphereon/ssi-sdk-ext.identifier-resolution';
|
|
2
2
|
import { ClientIdScheme } from '@sphereon/ssi-sdk-ext.x509-utils';
|
|
3
|
-
import { IValidationResult, JoseSignatureAlgorithm, JoseSignatureAlgorithmString, JWK } from '@sphereon/ssi-types';
|
|
3
|
+
import { BaseJWK, IValidationResult, JoseSignatureAlgorithm, JoseSignatureAlgorithmString, JWK } from '@sphereon/ssi-types';
|
|
4
4
|
import { IAgentContext, IKeyManager, IPluginMethodMap } from '@veramo/core';
|
|
5
5
|
export type IRequiredContext = IAgentContext<IIdentifierResolution & IKeyManager>;
|
|
6
6
|
export declare const jwtServiceContextMethods: Array<string>;
|
|
@@ -8,29 +8,61 @@ export interface IJwtService extends IPluginMethodMap {
|
|
|
8
8
|
jwtPrepareJws(args: CreateJwsJsonArgs, context: IRequiredContext): Promise<PreparedJwsObject>;
|
|
9
9
|
jwtCreateJwsJsonGeneralSignature(args: CreateJwsJsonArgs, context: IRequiredContext): Promise<JwsJsonGeneral>;
|
|
10
10
|
jwtCreateJwsJsonFlattenedSignature(args: CreateJwsFlattenedArgs, context: IRequiredContext): Promise<JwsJsonFlattened>;
|
|
11
|
-
jwtCreateJwsCompactSignature(args: CreateJwsCompactArgs, context: IRequiredContext): Promise<
|
|
11
|
+
jwtCreateJwsCompactSignature(args: CreateJwsCompactArgs, context: IRequiredContext): Promise<JwtCompactResult>;
|
|
12
12
|
jwtVerifyJwsSignature(args: VerifyJwsArgs, context: IRequiredContext): Promise<IJwsValidationResult>;
|
|
13
|
+
jwtEncryptJweCompactJwt(args: EncryptJweCompactJwtArgs, context: IRequiredContext): Promise<JwtCompactResult>;
|
|
14
|
+
jwtDecryptJweCompactJwt(args: DecryptJweCompactJwtArgs, context: IRequiredContext): Promise<JwtCompactResult>;
|
|
13
15
|
}
|
|
14
16
|
export type IJwsValidationResult = IValidationResult & {
|
|
15
17
|
jws: JwsJsonGeneralWithIdentifiers;
|
|
16
18
|
};
|
|
17
19
|
export interface PreparedJws {
|
|
18
|
-
protectedHeader:
|
|
20
|
+
protectedHeader: JwsHeader;
|
|
19
21
|
payload: Uint8Array;
|
|
20
|
-
unprotectedHeader?:
|
|
22
|
+
unprotectedHeader?: JwsHeader;
|
|
21
23
|
existingSignatures?: Array<JwsJsonSignature>;
|
|
22
24
|
}
|
|
23
25
|
export interface JwsJsonSignature {
|
|
24
26
|
protected: string;
|
|
25
|
-
header?:
|
|
27
|
+
header?: JwsHeader;
|
|
26
28
|
signature: string;
|
|
27
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* The JWK representation of an ephemeral public key.
|
|
32
|
+
* See https://www.rfc-editor.org/rfc/rfc7518.html#section-6
|
|
33
|
+
*/
|
|
34
|
+
export type EphemeralPublicKey = Omit<BaseJWK, 'alg'>;
|
|
35
|
+
export interface JweHeader extends Omit<BaseJwtHeader, 'alg'> {
|
|
36
|
+
alg: string;
|
|
37
|
+
enc: string;
|
|
38
|
+
jku?: string;
|
|
39
|
+
jwk?: BaseJWK;
|
|
40
|
+
epk?: EphemeralPublicKey;
|
|
41
|
+
x5u?: string;
|
|
42
|
+
x5c?: string[];
|
|
43
|
+
x5t?: string;
|
|
44
|
+
cty?: string;
|
|
45
|
+
crit?: string[];
|
|
46
|
+
[k: string]: any;
|
|
47
|
+
}
|
|
48
|
+
export interface JweRecipientUnprotectedHeader {
|
|
49
|
+
alg: string;
|
|
50
|
+
iv: string;
|
|
51
|
+
tag: string;
|
|
52
|
+
epk?: EphemeralPublicKey;
|
|
53
|
+
kid?: string;
|
|
54
|
+
apv?: string;
|
|
55
|
+
apu?: string;
|
|
56
|
+
}
|
|
57
|
+
export interface JweProtectedHeader extends Partial<JweHeader> {
|
|
58
|
+
zip?: 'DEF' | string;
|
|
59
|
+
}
|
|
28
60
|
export type Jws = JwsCompact | JwsJsonFlattened | JwsJsonGeneral;
|
|
29
61
|
export type JwsCompact = string;
|
|
30
62
|
export interface JwsJsonFlattened {
|
|
31
63
|
payload: string;
|
|
32
64
|
protected: string;
|
|
33
|
-
header?:
|
|
65
|
+
header?: JwsHeader;
|
|
34
66
|
signature: string;
|
|
35
67
|
}
|
|
36
68
|
export interface JwsJsonGeneral {
|
|
@@ -43,6 +75,31 @@ export interface JwsJsonGeneralWithIdentifiers extends JwsJsonGeneral {
|
|
|
43
75
|
export interface JwsJsonSignatureWithIdentifier extends JwsJsonSignature {
|
|
44
76
|
identifier: ExternalIdentifierResult;
|
|
45
77
|
}
|
|
78
|
+
export type Jwe = JweCompact | JweJsonFlattened | JweJsonGeneral;
|
|
79
|
+
export type JweCompact = string;
|
|
80
|
+
export interface JweJsonFlattened {
|
|
81
|
+
protected: string;
|
|
82
|
+
unprotected: JweHeader;
|
|
83
|
+
header: JweHeader | JweRecipientUnprotectedHeader;
|
|
84
|
+
encrypted_key?: string;
|
|
85
|
+
aad?: string;
|
|
86
|
+
iv: string;
|
|
87
|
+
ciphertext: string;
|
|
88
|
+
tag?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface JweRecipient {
|
|
91
|
+
header?: JweRecipientUnprotectedHeader;
|
|
92
|
+
encrypted_key?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface JweJsonGeneral {
|
|
95
|
+
protected: string;
|
|
96
|
+
unprotected?: JweHeader;
|
|
97
|
+
recipients: Array<JweRecipient>;
|
|
98
|
+
aad?: string;
|
|
99
|
+
iv: string;
|
|
100
|
+
ciphertext: string;
|
|
101
|
+
tag?: string;
|
|
102
|
+
}
|
|
46
103
|
export interface PreparedJwsObject {
|
|
47
104
|
jws: PreparedJws;
|
|
48
105
|
b64: {
|
|
@@ -65,19 +122,38 @@ export interface BaseJwtPayload {
|
|
|
65
122
|
iat?: number;
|
|
66
123
|
jti?: string;
|
|
67
124
|
}
|
|
68
|
-
export interface
|
|
125
|
+
export interface JwsHeader extends BaseJwtHeader {
|
|
69
126
|
kid?: string;
|
|
70
127
|
jwk?: JWK;
|
|
71
128
|
x5c?: string[];
|
|
72
129
|
[key: string]: unknown;
|
|
73
130
|
}
|
|
74
|
-
export interface
|
|
131
|
+
export interface JwsPayload extends BaseJwtPayload {
|
|
75
132
|
[key: string]: unknown;
|
|
76
133
|
}
|
|
77
134
|
export interface JwsHeaderOpts {
|
|
78
135
|
alg: JoseSignatureAlgorithm | JoseSignatureAlgorithmString;
|
|
79
136
|
}
|
|
80
137
|
export type JwsIdentifierMode = 'x5c' | 'kid' | 'jwk' | 'did' | 'auto';
|
|
138
|
+
export type EncryptJweCompactJwtArgs = {
|
|
139
|
+
payload: JwsPayload;
|
|
140
|
+
protectedHeader?: JweProtectedHeader | undefined;
|
|
141
|
+
aad?: Uint8Array | undefined;
|
|
142
|
+
recipientKey: ExternalIdentifierResult & {
|
|
143
|
+
kid?: string;
|
|
144
|
+
};
|
|
145
|
+
alg?: JweAlg;
|
|
146
|
+
enc?: JweEnc;
|
|
147
|
+
apu?: string;
|
|
148
|
+
apv?: string;
|
|
149
|
+
expirationTime?: number | string | Date;
|
|
150
|
+
issuer?: string;
|
|
151
|
+
audience?: string | string[];
|
|
152
|
+
};
|
|
153
|
+
export type DecryptJweCompactJwtArgs = {
|
|
154
|
+
jwe: JweCompact;
|
|
155
|
+
idOpts: ManagedIdentifierOptsOrResult;
|
|
156
|
+
};
|
|
81
157
|
export type CreateJwsArgs = {
|
|
82
158
|
mode?: JwsIdentifierMode;
|
|
83
159
|
issuer: ManagedIdentifierOptsOrResult & {
|
|
@@ -86,8 +162,20 @@ export type CreateJwsArgs = {
|
|
|
86
162
|
};
|
|
87
163
|
clientId?: string;
|
|
88
164
|
clientIdScheme?: ClientIdScheme | 'did' | string;
|
|
89
|
-
protectedHeader:
|
|
90
|
-
payload:
|
|
165
|
+
protectedHeader: JwsHeader;
|
|
166
|
+
payload: JwsPayload | Uint8Array | string;
|
|
167
|
+
};
|
|
168
|
+
export type CreateJweArgs = {
|
|
169
|
+
mode?: JwsIdentifierMode;
|
|
170
|
+
issuer: ManagedIdentifierOptsOrResult & {
|
|
171
|
+
noIssPayloadUpdate?: boolean;
|
|
172
|
+
noIdentifierInHeader?: boolean;
|
|
173
|
+
};
|
|
174
|
+
protectedHeader: JweProtectedHeader;
|
|
175
|
+
encryptedKey: string | EphemeralPublicKey;
|
|
176
|
+
iv: string;
|
|
177
|
+
ciphertext: string;
|
|
178
|
+
tag: string;
|
|
91
179
|
};
|
|
92
180
|
export type CreateJwsCompactArgs = CreateJwsArgs;
|
|
93
181
|
export type CreateJwsFlattenedArgs = Exclude<CreateJwsJsonArgs, 'existingSignatures'>;
|
|
@@ -103,17 +191,32 @@ export type VerifyJwsArgs = {
|
|
|
103
191
|
* @public
|
|
104
192
|
*/
|
|
105
193
|
export type CreateJwsJsonArgs = CreateJwsArgs & {
|
|
106
|
-
unprotectedHeader?:
|
|
194
|
+
unprotectedHeader?: JwsHeader;
|
|
107
195
|
existingSignatures?: Array<JwsJsonSignature>;
|
|
108
196
|
};
|
|
197
|
+
export type CreateJweJsonArgs = CreateJweArgs & {
|
|
198
|
+
unprotectedHeader?: JweHeader;
|
|
199
|
+
};
|
|
109
200
|
/**
|
|
110
201
|
* @public
|
|
111
202
|
*/
|
|
112
|
-
export interface
|
|
113
|
-
jwt: JwsCompact;
|
|
203
|
+
export interface JwtCompactResult {
|
|
204
|
+
jwt: JwsCompact | JweCompact;
|
|
114
205
|
}
|
|
115
206
|
export declare function isJwsCompact(jws: Jws): jws is JwsCompact;
|
|
207
|
+
export declare function isJweCompact(jwe: Jwe): jwe is JweCompact;
|
|
116
208
|
export declare function isJwsJsonFlattened(jws: Jws): jws is JwsJsonFlattened;
|
|
117
209
|
export declare function isJwsJsonGeneral(jws: Jws): jws is JwsJsonGeneral;
|
|
210
|
+
export declare function isJweJsonFlattened(jwe: Jwe): jwe is JweJsonFlattened;
|
|
211
|
+
export declare function isJweJsonGeneral(jwe: Jwe): jwe is JweJsonGeneral;
|
|
212
|
+
export declare function isJwsHeader(header: BaseJwtHeader & Record<string, any>): header is JwsHeader;
|
|
213
|
+
export declare function isJweHeader(header: BaseJwtHeader & Record<string, any>): header is JweHeader;
|
|
118
214
|
export declare const COMPACT_JWS_REGEX: RegExp;
|
|
215
|
+
export declare const COMPACT_JWE_REGEX: RegExp;
|
|
216
|
+
export declare const JweAlgs: readonly ["RSA1_5", "RSA-OAEP", "RSA-OAEP-256", "A128KW", "A192KW", "A256KW", "dir", "ECDH-ES", "ECDH-ES+A128KW", "ECDH-ES+A192KW", "ECDH-ES+A256KW", "A128GCMKW", "A192GCMKW", "A256GCMKW", "PBES2-HS256+A128KW", "PBES2-HS384+A192KW", "PBES2-HS512+A256KW"];
|
|
217
|
+
export type JweAlg = typeof JweAlgs[number];
|
|
218
|
+
export declare function jweAlg(alg?: string | JweAlg): JweAlg | undefined;
|
|
219
|
+
export declare const JweEncs: readonly ["A128CBC-HS256", "A192CBC-HS384", "A256CBC-HS512", "A128GCM", "A192GCM", "A256GCM"];
|
|
220
|
+
export type JweEnc = typeof JweEncs[number];
|
|
221
|
+
export declare function jweEnc(alg?: string | JweEnc): JweEnc | undefined;
|
|
119
222
|
//# sourceMappingURL=IJwtService.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IJwtService.d.ts","sourceRoot":"","sources":["../../src/types/IJwtService.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"IJwtService.d.ts","sourceRoot":"","sources":["../../src/types/IJwtService.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EACzB,wBAAwB,EACxB,yBAAyB,EACzB,qBAAqB,EACrB,6BAA6B,EAC7B,uBAAuB,EAC1B,MAAM,6CAA6C,CAAA;AACpD,OAAO,EAAC,cAAc,EAAC,MAAM,kCAAkC,CAAA;AAC/D,OAAO,EACH,OAAO,EACP,iBAAiB,EACjB,sBAAsB,EACtB,4BAA4B,EAC5B,GAAG,EACN,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAC,aAAa,EAAE,WAAW,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAA;AAEzE,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC,qBAAqB,GAAG,WAAW,CAAC,CAAA;AAEjF,eAAO,MAAM,wBAAwB,EAAE,KAAK,CAAC,MAAM,CAQlD,CAAA;AAED,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACjD,aAAa,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAA;IAE7F,gCAAgC,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,cAAc,CAAC,CAAA;IAE7G,kCAAkC,CAAC,IAAI,EAAE,sBAAsB,EAAE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,MAAM,GAAG,MAAM,GAAG,SAAS,CAEhE;AAGD,eAAO,MAAM,OAAO,+FAAiH,CAAA;AACrI,MAAM,MAAM,MAAM,GAAG,OAAO,OAAO,CAAC,MAAM,CAAC,CAAA;AAE3C,wBAAgB,MAAM,CAAC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAEhE"}
|
|
@@ -1,24 +1,57 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMPACT_JWS_REGEX = exports.isJwsJsonGeneral = exports.isJwsJsonFlattened = exports.isJwsCompact = exports.jwtServiceContextMethods = void 0;
|
|
3
|
+
exports.jweEnc = exports.JweEncs = exports.jweAlg = exports.JweAlgs = exports.COMPACT_JWE_REGEX = exports.COMPACT_JWS_REGEX = exports.isJweHeader = exports.isJwsHeader = exports.isJweJsonGeneral = exports.isJweJsonFlattened = exports.isJwsJsonGeneral = exports.isJwsJsonFlattened = exports.isJweCompact = exports.isJwsCompact = exports.jwtServiceContextMethods = void 0;
|
|
4
4
|
exports.jwtServiceContextMethods = [
|
|
5
5
|
'jwtPrepareJws',
|
|
6
6
|
'jwtCreateJwsJsonGeneralSignature',
|
|
7
7
|
'jwtCreateJwsJsonFlattenedSignature',
|
|
8
8
|
'jwtCreateJwsCompactSignature',
|
|
9
9
|
'jwtVerifyJwsSignature',
|
|
10
|
+
'jwtEncryptJweCompactJwt',
|
|
11
|
+
'jwtDecryptJweCompactJwt'
|
|
10
12
|
];
|
|
11
13
|
function isJwsCompact(jws) {
|
|
12
14
|
return typeof jws === 'string' && jws.split('~')[0].match(exports.COMPACT_JWS_REGEX) !== null;
|
|
13
15
|
}
|
|
14
16
|
exports.isJwsCompact = isJwsCompact;
|
|
17
|
+
function isJweCompact(jwe) {
|
|
18
|
+
return typeof jwe === 'string' && jwe.split('~')[0].match(exports.COMPACT_JWE_REGEX) !== null;
|
|
19
|
+
}
|
|
20
|
+
exports.isJweCompact = isJweCompact;
|
|
15
21
|
function isJwsJsonFlattened(jws) {
|
|
16
|
-
return typeof jws === 'object' && 'signature' in jws && 'protected' in jws;
|
|
22
|
+
return typeof jws === 'object' && 'signature' in jws && 'protected' in jws && !('ciphertext' in jws);
|
|
17
23
|
}
|
|
18
24
|
exports.isJwsJsonFlattened = isJwsJsonFlattened;
|
|
19
25
|
function isJwsJsonGeneral(jws) {
|
|
20
|
-
return typeof jws === 'object' && 'signatures' in jws;
|
|
26
|
+
return typeof jws === 'object' && 'signatures' in jws && !('ciphertext' in jws);
|
|
21
27
|
}
|
|
22
28
|
exports.isJwsJsonGeneral = isJwsJsonGeneral;
|
|
29
|
+
function isJweJsonFlattened(jwe) {
|
|
30
|
+
return typeof jwe === 'object' && 'signature' in jwe && 'ciphertext' in jwe && !('payload' in jwe);
|
|
31
|
+
}
|
|
32
|
+
exports.isJweJsonFlattened = isJweJsonFlattened;
|
|
33
|
+
function isJweJsonGeneral(jwe) {
|
|
34
|
+
return typeof jwe === 'object' && 'signatures' in jwe && 'ciphertext' in jwe && !('payload' in jwe);
|
|
35
|
+
}
|
|
36
|
+
exports.isJweJsonGeneral = isJweJsonGeneral;
|
|
37
|
+
function isJwsHeader(header) {
|
|
38
|
+
return header && !isJweHeader(header);
|
|
39
|
+
}
|
|
40
|
+
exports.isJwsHeader = isJwsHeader;
|
|
41
|
+
function isJweHeader(header) {
|
|
42
|
+
return ('enc' in header && header.enc && jweEnc(header.enc)) || (header.alg && jweAlg(header.alg));
|
|
43
|
+
}
|
|
44
|
+
exports.isJweHeader = isJweHeader;
|
|
23
45
|
exports.COMPACT_JWS_REGEX = /^([a-zA-Z0-9_=-]+).([a-zA-Z0-9_=-]+)?.([a-zA-Z0-9_=-]+)?$/;
|
|
46
|
+
exports.COMPACT_JWE_REGEX = /^([a-zA-Z0-9_=-]+)\.([a-zA-Z0-9_=-]+)?\.([a-zA-Z0-9_=-]+)\.([a-zA-Z0-9_=-]+)?\.([a-zA-Z0-9_=-]+)?$/;
|
|
47
|
+
exports.JweAlgs = ['RSA1_5', 'RSA-OAEP', 'RSA-OAEP-256', 'A128KW', 'A192KW', 'A256KW', 'dir', 'ECDH-ES' /*interop value*/, 'ECDH-ES+A128KW', 'ECDH-ES+A192KW', 'ECDH-ES+A256KW', 'A128GCMKW', 'A192GCMKW', 'A256GCMKW', 'PBES2-HS256+A128KW', 'PBES2-HS384+A192KW', 'PBES2-HS512+A256KW'];
|
|
48
|
+
function jweAlg(alg) {
|
|
49
|
+
return exports.JweAlgs.find((supportedVal) => supportedVal === alg);
|
|
50
|
+
}
|
|
51
|
+
exports.jweAlg = jweAlg;
|
|
52
|
+
exports.JweEncs = ['A128CBC-HS256', 'A192CBC-HS384', 'A256CBC-HS512', 'A128GCM', 'A192GCM', 'A256GCM' /*interop value*/];
|
|
53
|
+
function jweEnc(alg) {
|
|
54
|
+
return exports.JweEncs.find((supportedVal) => supportedVal === alg);
|
|
55
|
+
}
|
|
56
|
+
exports.jweEnc = jweEnc;
|
|
24
57
|
//# sourceMappingURL=IJwtService.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IJwtService.js","sourceRoot":"","sources":["../../src/types/IJwtService.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"IJwtService.js","sourceRoot":"","sources":["../../src/types/IJwtService.ts"],"names":[],"mappings":";;;AAoBa,QAAA,wBAAwB,GAAkB;IACnD,eAAe;IACf,kCAAkC;IAClC,oCAAoC;IACpC,8BAA8B;IAC9B,uBAAuB;IACvB,yBAAyB;IACzB,yBAAyB;CAC5B,CAAA;AA0PD,SAAgB,YAAY,CAAC,GAAQ;IACjC,OAAO,OAAO,GAAG,KAAK,QAAQ,IAAI,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,yBAAiB,CAAC,KAAK,IAAI,CAAA;AACzF,CAAC;AAFD,oCAEC;AAED,SAAgB,YAAY,CAAC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AC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;AACtG,CAAC;AAFD,kCAEC;AAEY,QAAA,iBAAiB,GAAG,2DAA2D,CAAA;AAC/E,QAAA,iBAAiB,GAAG,oGAAoG,CAAA;AAExH,QAAA,OAAO,GAAG,CAAC,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,SAAS,CAAA,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,oBAAoB,CAAU,CAAC;AAEvS,SAAgB,MAAM,CAAC,GAAqB;IACxC,OAAO,eAAO,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,KAAK,GAAG,CAAC,CAAC;AAChE,CAAC;AAFD,wBAEC;AAGY,QAAA,OAAO,GAAG,CAAC,eAAe,EAAE,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAA,iBAAiB,CAAU,CAAA;AAGrI,SAAgB,MAAM,CAAC,GAAqB;IACxC,OAAO,eAAO,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,YAAY,KAAK,GAAG,CAAC,CAAC;AAChE,CAAC;AAFD,wBAEC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk-ext.jwt-service",
|
|
3
|
-
"version": "0.24.1-unstable.
|
|
3
|
+
"version": "0.24.1-unstable.132+8c68022",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,23 +15,25 @@
|
|
|
15
15
|
"generate-plugin-schema": "sphereon dev generate-plugin-schema"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.
|
|
19
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.24.1-unstable.
|
|
20
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.
|
|
21
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.
|
|
22
|
-
"@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.
|
|
18
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.132+8c68022",
|
|
19
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.24.1-unstable.132+8c68022",
|
|
20
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.132+8c68022",
|
|
21
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.132+8c68022",
|
|
22
|
+
"@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.132+8c68022",
|
|
23
23
|
"@sphereon/ssi-sdk.agent-config": "0.29.1-unstable.161",
|
|
24
24
|
"@sphereon/ssi-types": "0.29.1-unstable.161",
|
|
25
|
+
"@stablelib/random": "^1.0.2",
|
|
25
26
|
"@veramo/core": "4.2.0",
|
|
26
27
|
"@veramo/utils": "4.2.0",
|
|
27
28
|
"debug": "^4.3.4",
|
|
29
|
+
"jose": "^5.9.3",
|
|
28
30
|
"jwt-decode": "^4.0.0",
|
|
29
31
|
"uint8arrays": "^3.1.1"
|
|
30
32
|
},
|
|
31
33
|
"devDependencies": {
|
|
32
|
-
"@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.
|
|
33
|
-
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.
|
|
34
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.
|
|
34
|
+
"@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.132+8c68022",
|
|
35
|
+
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.132+8c68022",
|
|
36
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.132+8c68022",
|
|
35
37
|
"@sphereon/ssi-sdk.dev": "0.29.1-unstable.161",
|
|
36
38
|
"@veramo/data-store": "4.2.0",
|
|
37
39
|
"@veramo/did-manager": "4.2.0",
|
|
@@ -66,5 +68,5 @@
|
|
|
66
68
|
"X.509 Certificates",
|
|
67
69
|
"ARF"
|
|
68
70
|
],
|
|
69
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "8c68022a999ae67c1b06d9ba80ec40a92e9db8a2"
|
|
70
72
|
}
|