@originator-profile/opvc 0.4.0 → 0.5.0-beta.2
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/README.md +6 -6
- package/dist/commands/ca/sign.d.mts +8 -8
- package/dist/commands/ca/unsigned.d.mts +4 -4
- package/dist/commands/key-gen/index.d.mts +2 -2
- package/dist/commands/sign.d.mts +9 -9
- package/dist/commands/wsp/unsigned.d.mts +4 -4
- package/dist/index.d.mts +3 -3
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -122,7 +122,7 @@ FLAG DESCRIPTIONS
|
|
|
122
122
|
}
|
|
123
123
|
```
|
|
124
124
|
|
|
125
|
-
_See code: [src/commands/ca/sign.ts](https://github.com/originator-profile/originator-profile/blob/v0.
|
|
125
|
+
_See code: [src/commands/ca/sign.ts](https://github.com/originator-profile/originator-profile/blob/v0.5.0-beta.2/packages/opvc/src/commands/ca/sign.ts)_
|
|
126
126
|
|
|
127
127
|
## `opvc ca:unsigned`
|
|
128
128
|
|
|
@@ -207,7 +207,7 @@ FLAG DESCRIPTIONS
|
|
|
207
207
|
}
|
|
208
208
|
```
|
|
209
209
|
|
|
210
|
-
_See code: [src/commands/ca/unsigned.ts](https://github.com/originator-profile/originator-profile/blob/v0.
|
|
210
|
+
_See code: [src/commands/ca/unsigned.ts](https://github.com/originator-profile/originator-profile/blob/v0.5.0-beta.2/packages/opvc/src/commands/ca/unsigned.ts)_
|
|
211
211
|
|
|
212
212
|
## `opvc help [COMMAND]`
|
|
213
213
|
|
|
@@ -227,7 +227,7 @@ DESCRIPTION
|
|
|
227
227
|
Display help for opvc.
|
|
228
228
|
```
|
|
229
229
|
|
|
230
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.
|
|
230
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v6.2.37/src/commands/help.ts)_
|
|
231
231
|
|
|
232
232
|
## `opvc key-gen`
|
|
233
233
|
|
|
@@ -245,7 +245,7 @@ DESCRIPTION
|
|
|
245
245
|
鍵ペアの生成
|
|
246
246
|
```
|
|
247
247
|
|
|
248
|
-
_See code: [src/commands/key-gen/index.ts](https://github.com/originator-profile/originator-profile/blob/v0.
|
|
248
|
+
_See code: [src/commands/key-gen/index.ts](https://github.com/originator-profile/originator-profile/blob/v0.5.0-beta.2/packages/opvc/src/commands/key-gen/index.ts)_
|
|
249
249
|
|
|
250
250
|
## `opvc sign`
|
|
251
251
|
|
|
@@ -412,7 +412,7 @@ FLAG DESCRIPTIONS
|
|
|
412
412
|
}
|
|
413
413
|
```
|
|
414
414
|
|
|
415
|
-
_See code: [src/commands/sign.ts](https://github.com/originator-profile/originator-profile/blob/v0.
|
|
415
|
+
_See code: [src/commands/sign.ts](https://github.com/originator-profile/originator-profile/blob/v0.5.0-beta.2/packages/opvc/src/commands/sign.ts)_
|
|
416
416
|
|
|
417
417
|
## `opvc wsp:unsigned`
|
|
418
418
|
|
|
@@ -477,7 +477,7 @@ FLAG DESCRIPTIONS
|
|
|
477
477
|
}
|
|
478
478
|
```
|
|
479
479
|
|
|
480
|
-
_See code: [src/commands/wsp/unsigned.ts](https://github.com/originator-profile/originator-profile/blob/v0.
|
|
480
|
+
_See code: [src/commands/wsp/unsigned.ts](https://github.com/originator-profile/originator-profile/blob/v0.5.0-beta.2/packages/opvc/src/commands/wsp/unsigned.ts)_
|
|
481
481
|
<!-- commandsstop -->
|
|
482
482
|
<!-- prettier-ignore-end -->
|
|
483
483
|
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Command } from "@oclif/core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _oclif_core_interfaces5 from "@oclif/core/interfaces";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/ca/sign.d.ts
|
|
5
5
|
declare class CaSign extends Command {
|
|
6
6
|
static summary: string;
|
|
7
7
|
static description: string;
|
|
8
8
|
static flags: {
|
|
9
|
-
identity:
|
|
9
|
+
identity: _oclif_core_interfaces5.OptionFlag<{
|
|
10
10
|
[x: string]: unknown;
|
|
11
|
+
kty: string;
|
|
12
|
+
kid: string;
|
|
11
13
|
use?: string | undefined;
|
|
12
14
|
key_ops?: string[] | undefined;
|
|
13
15
|
alg?: string | undefined;
|
|
@@ -15,12 +17,10 @@ declare class CaSign extends Command {
|
|
|
15
17
|
x5c?: string[] | undefined;
|
|
16
18
|
x5t?: string | undefined;
|
|
17
19
|
"x5t#S256"?: string | undefined;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"issued-at": _oclif_core_interfaces15.OptionFlag<string | undefined, _oclif_core_interfaces15.CustomOptions>;
|
|
23
|
-
"expired-at": _oclif_core_interfaces15.OptionFlag<Date | undefined, _oclif_core_interfaces15.CustomOptions>;
|
|
20
|
+
}, _oclif_core_interfaces5.CustomOptions>;
|
|
21
|
+
input: _oclif_core_interfaces5.OptionFlag<string, _oclif_core_interfaces5.CustomOptions>;
|
|
22
|
+
"issued-at": _oclif_core_interfaces5.OptionFlag<string | undefined, _oclif_core_interfaces5.CustomOptions>;
|
|
23
|
+
"expired-at": _oclif_core_interfaces5.OptionFlag<Date | undefined, _oclif_core_interfaces5.CustomOptions>;
|
|
24
24
|
};
|
|
25
25
|
static examples: string[];
|
|
26
26
|
run(): Promise<void>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Command } from "@oclif/core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _oclif_core_interfaces13 from "@oclif/core/interfaces";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/ca/unsigned.d.ts
|
|
5
5
|
declare class CaUnsigned extends Command {
|
|
6
6
|
static summary: string;
|
|
7
7
|
static description: string;
|
|
8
8
|
static flags: {
|
|
9
|
-
input:
|
|
10
|
-
"issued-at":
|
|
11
|
-
"expired-at":
|
|
9
|
+
input: _oclif_core_interfaces13.OptionFlag<string, _oclif_core_interfaces13.CustomOptions>;
|
|
10
|
+
"issued-at": _oclif_core_interfaces13.OptionFlag<string | undefined, _oclif_core_interfaces13.CustomOptions>;
|
|
11
|
+
"expired-at": _oclif_core_interfaces13.OptionFlag<Date | undefined, _oclif_core_interfaces13.CustomOptions>;
|
|
12
12
|
};
|
|
13
13
|
static examples: string[];
|
|
14
14
|
run(): Promise<void>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Command } from "@oclif/core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _oclif_core_interfaces29 from "@oclif/core/interfaces";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/key-gen/index.d.ts
|
|
5
5
|
declare class KeyGen extends Command {
|
|
6
6
|
static description: string;
|
|
7
7
|
static flags: {
|
|
8
|
-
output:
|
|
8
|
+
output: _oclif_core_interfaces29.OptionFlag<string, _oclif_core_interfaces29.CustomOptions>;
|
|
9
9
|
};
|
|
10
10
|
run(): Promise<void>;
|
|
11
11
|
}
|
package/dist/commands/sign.d.mts
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { Command } from "@oclif/core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _oclif_core_interfaces19 from "@oclif/core/interfaces";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/sign.d.ts
|
|
5
5
|
declare class VcSign extends Command {
|
|
6
6
|
static summary: string;
|
|
7
7
|
static description: string;
|
|
8
8
|
static flags: {
|
|
9
|
-
identity:
|
|
9
|
+
identity: _oclif_core_interfaces19.OptionFlag<{
|
|
10
10
|
[x: string]: unknown;
|
|
11
|
+
kty: string;
|
|
12
|
+
kid: string;
|
|
11
13
|
use?: string | undefined;
|
|
12
14
|
key_ops?: string[] | undefined;
|
|
13
15
|
alg?: string | undefined;
|
|
@@ -15,13 +17,11 @@ declare class VcSign extends Command {
|
|
|
15
17
|
x5c?: string[] | undefined;
|
|
16
18
|
x5t?: string | undefined;
|
|
17
19
|
"x5t#S256"?: string | undefined;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"issued-at": _oclif_core_interfaces0.OptionFlag<string | undefined, _oclif_core_interfaces0.CustomOptions>;
|
|
24
|
-
"expired-at": _oclif_core_interfaces0.OptionFlag<Date | undefined, _oclif_core_interfaces0.CustomOptions>;
|
|
20
|
+
}, _oclif_core_interfaces19.CustomOptions>;
|
|
21
|
+
id: _oclif_core_interfaces19.OptionFlag<string | undefined, _oclif_core_interfaces19.CustomOptions>;
|
|
22
|
+
input: _oclif_core_interfaces19.OptionFlag<string, _oclif_core_interfaces19.CustomOptions>;
|
|
23
|
+
"issued-at": _oclif_core_interfaces19.OptionFlag<string | undefined, _oclif_core_interfaces19.CustomOptions>;
|
|
24
|
+
"expired-at": _oclif_core_interfaces19.OptionFlag<Date | undefined, _oclif_core_interfaces19.CustomOptions>;
|
|
25
25
|
};
|
|
26
26
|
static examples: string[];
|
|
27
27
|
run(): Promise<void>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Command } from "@oclif/core";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _oclif_core_interfaces0 from "@oclif/core/interfaces";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/wsp/unsigned.d.ts
|
|
5
5
|
declare class WspUnsigned extends Command {
|
|
6
6
|
static summary: string;
|
|
7
7
|
static description: string;
|
|
8
8
|
static flags: {
|
|
9
|
-
input:
|
|
10
|
-
"issued-at":
|
|
11
|
-
"expired-at":
|
|
9
|
+
input: _oclif_core_interfaces0.OptionFlag<string, _oclif_core_interfaces0.CustomOptions>;
|
|
10
|
+
"issued-at": _oclif_core_interfaces0.OptionFlag<string | undefined, _oclif_core_interfaces0.CustomOptions>;
|
|
11
|
+
"expired-at": _oclif_core_interfaces0.OptionFlag<Date | undefined, _oclif_core_interfaces0.CustomOptions>;
|
|
12
12
|
};
|
|
13
13
|
static examples: string[];
|
|
14
14
|
run(): Promise<void>;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Jwk, RawTarget, UnsignedContentAttestation,
|
|
1
|
+
import { Jwk, RawTarget, UnsignedContentAttestation, UnsignedWebsiteProfile } from "@originator-profile/model";
|
|
2
2
|
|
|
3
3
|
//#region src/document-provider.d.ts
|
|
4
4
|
declare function documentProvider({
|
|
@@ -42,12 +42,12 @@ declare namespace website_profile_d_exports {
|
|
|
42
42
|
* @param uwsp 未署名 Website Profile オブジェクト
|
|
43
43
|
* @return 未署名 Website Profile オブジェクト
|
|
44
44
|
*/
|
|
45
|
-
declare function unsignedWsp(uwsp:
|
|
45
|
+
declare function unsignedWsp(uwsp: UnsignedWebsiteProfile, {
|
|
46
46
|
issuedAt: issuedAtDateOrString,
|
|
47
47
|
expiredAt: expiredAtDateOrString
|
|
48
48
|
}: {
|
|
49
49
|
issuedAt?: Date | string;
|
|
50
50
|
expiredAt?: Date | string;
|
|
51
|
-
}): Promise<
|
|
51
|
+
}): Promise<UnsignedWebsiteProfile>;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { content_attestation_d_exports as ContentAttestation, website_profile_d_exports as WebsiteProfile, documentProvider };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@originator-profile/opvc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0-beta.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"homepage": "https://docs.originator-profile.org",
|
|
6
6
|
"repository": {
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"http-errors-enhanced": "^4.0.0",
|
|
40
40
|
"jose": "^6.0.11",
|
|
41
41
|
"jsdom": "^27.0.0",
|
|
42
|
-
"@originator-profile/core": "0.
|
|
43
|
-
"@originator-profile/
|
|
44
|
-
"@originator-profile/
|
|
45
|
-
"@originator-profile/
|
|
46
|
-
"@originator-profile/
|
|
42
|
+
"@originator-profile/core": "0.5.0-beta.2",
|
|
43
|
+
"@originator-profile/securing-mechanism": "0.5.0-beta.2",
|
|
44
|
+
"@originator-profile/cryptography": "0.5.0-beta.2",
|
|
45
|
+
"@originator-profile/sign": "0.5.0-beta.2",
|
|
46
|
+
"@originator-profile/model": "0.5.0-beta.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@types/node": "^24.3.1",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"tsdown": "^0.16.7",
|
|
53
53
|
"typescript": "^5.8.3",
|
|
54
54
|
"websri": "^1.0.1",
|
|
55
|
-
"eslint-config-originator-profile": "0.
|
|
56
|
-
"@originator-profile/tsconfig": "0.
|
|
55
|
+
"eslint-config-originator-profile": "0.5.0-beta.2",
|
|
56
|
+
"@originator-profile/tsconfig": "0.5.0-beta.2"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsdown && oclif manifest && oclif readme",
|