@webex/plugin-encryption 3.13.0-next.1 → 3.13.0-next.10
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/.repo-context.json +467 -0
- package/.sdd/manifest.json +425 -0
- package/AGENTS.md +212 -0
- package/dist/webex.js +1 -1
- package/docs/adr/0001-retain-product-docs.md +107 -0
- package/docs/adr/index.md +25 -0
- package/docs/architecture.md +248 -0
- package/docs/getting-started.md +143 -0
- package/docs/index.md +45 -0
- package/docs/specs/README.md +69 -0
- package/package.json +4 -4
- package/schemas/repo-context.schema.json +796 -0
- package/src/docs/README.md +397 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: ADR
|
|
3
|
+
title: ADR-0001 - Retain the product docs
|
|
4
|
+
description: SDD onboarding keeps README.md and developer-quickstart.md as product documentation and routes them only as context.
|
|
5
|
+
tags: [adr]
|
|
6
|
+
timestamp: 2026-11-16T06:56:00Z
|
|
7
|
+
status: accepted
|
|
8
|
+
---
|
|
9
|
+
<!-- sdd-generated-metadata
|
|
10
|
+
doc_kind: standing-doc
|
|
11
|
+
generated_from: adr@0.3.0
|
|
12
|
+
generated_by: claude-code
|
|
13
|
+
approved_by: rarajes2@cisco.com
|
|
14
|
+
updated_at: 2026-11-16T07:57:20Z
|
|
15
|
+
validation_status: pass
|
|
16
|
+
-->
|
|
17
|
+
|
|
18
|
+
# ADR-0001 - Retain the product docs
|
|
19
|
+
|
|
20
|
+
| Field | Value |
|
|
21
|
+
| ------------- | ----- |
|
|
22
|
+
| Status | Accepted |
|
|
23
|
+
| Decision date | 2026-11-16 |
|
|
24
|
+
| Deciders | rarajes2@cisco.com (chosen in chat during onboarding) |
|
|
25
|
+
| Supersedes | N/A |
|
|
26
|
+
| Superseded by | N/A |
|
|
27
|
+
|
|
28
|
+
## Context
|
|
29
|
+
|
|
30
|
+
Onboarding found two existing documents. `README.md` is the npm page: install and CDN snippets, a
|
|
31
|
+
pointer to the API reference, a "KMS certificate validation" section, links to the API docs and the
|
|
32
|
+
hosted sample app, sample code for `register`, `downloadAndDecryptFile`, and `deregister`, and a short
|
|
33
|
+
Development section. `developer-quickstart.md` guides a developer through the encryption sample app
|
|
34
|
+
in the workspace (token, init and register, decrypt and save a file). No other intent, design, or
|
|
35
|
+
AI-authored spec exists in this package.
|
|
36
|
+
|
|
37
|
+
Checked against code at onboarding:
|
|
38
|
+
|
|
39
|
+
| Document content | Code |
|
|
40
|
+
| ---------------- | ---- |
|
|
41
|
+
| `import Webex from '@webex/plugin-encryption'`, `Webex.init`, `webex.cypher.register()`, `downloadAndDecryptFile(attachmentURL, options)`, `deregister()` | Agree with `src/webex.js` and `src/cypher/index.ts` |
|
|
42
|
+
| The CDN bundle `webex/umd/encryption.min.js` | Built by the workspace from `src/webex.js` |
|
|
43
|
+
| "KMS certificate validation": the `config.encryption` fields `shouldValidateKMSCertificate`, `caroots`, `reportOnlyAssetsBaseUrl`, and `carootsReportOnly` | Owned and read by `@webex/internal-plugin-encryption`; this package passes the config through unchanged |
|
|
44
|
+
| Development: files in a `src/@webex/plugin-encryption` folder are compiled and served as `encryption.js` | No such folder exists; the workspace webpack builds the bundle from `src/webex.js` |
|
|
45
|
+
| Quickstart: a token with the `spark:kms` scope; register after `ready`; build the file from the returned buffer | Agree with the code; the build steps are workspace scripts |
|
|
46
|
+
|
|
47
|
+
## Decision
|
|
48
|
+
|
|
49
|
+
Keep `README.md` and `developer-quickstart.md` unchanged. Do not migrate them into the module
|
|
50
|
+
specification. Record `spec_source_policy.mode` as `keep-separate` with `migrated_source_disposition`
|
|
51
|
+
`retain`, and route both in `spec_sources` as `reference-only` and `context-only`.
|
|
52
|
+
|
|
53
|
+
The canonical behavior is `src/` plus `test/`. The module specification follows code.
|
|
54
|
+
|
|
55
|
+
## Why
|
|
56
|
+
|
|
57
|
+
The README is the npm-facing page and the quickstart serves the sample app; both are written for
|
|
58
|
+
application developers and agree with the code on this package's API. The module specification
|
|
59
|
+
restates that behavior from code with requirement IDs, so nothing is lost by leaving the documents
|
|
60
|
+
where their readers look. The certificate-validation section documents another package's
|
|
61
|
+
configuration and is specified there. The developer chose `keep-separate` in chat, the same choice as
|
|
62
|
+
the other onboarded packages in this workspace.
|
|
63
|
+
|
|
64
|
+
## Alternatives considered
|
|
65
|
+
|
|
66
|
+
| Alternative | Why it was not selected |
|
|
67
|
+
| ----------- | ----------------------- |
|
|
68
|
+
| Migrate both documents into `src/docs/README.md` and delete them | The npm page and the sample-app guide would lose their user documentation; deletion was not requested |
|
|
69
|
+
| Reconcile them with the module specification | It would copy application-facing wording into the specification for no behavioral gain; the developer chose `keep-separate` |
|
|
70
|
+
| Rewrite the README during onboarding | Onboarding writes the SDD tree only and does not edit product documents |
|
|
71
|
+
|
|
72
|
+
## Consequences
|
|
73
|
+
|
|
74
|
+
**Positive:**
|
|
75
|
+
|
|
76
|
+
- The npm page and the sample-app guide stay stable.
|
|
77
|
+
- The module specification is the single behavioral reference for agents.
|
|
78
|
+
|
|
79
|
+
**Negative / tradeoffs:**
|
|
80
|
+
|
|
81
|
+
- The README sample code and the module specification describe the same API and can drift; an API
|
|
82
|
+
change must update both.
|
|
83
|
+
- The wrong Development folder path and the certificate-validation section stay until a maintainer
|
|
84
|
+
edits the README.
|
|
85
|
+
|
|
86
|
+
## Constraint on future changes
|
|
87
|
+
|
|
88
|
+
Do not delete either document as part of spec maintenance. When the `webex.cypher` API changes, update
|
|
89
|
+
the module specification from code and check the README sample code and the quickstart in the same
|
|
90
|
+
change.
|
|
91
|
+
|
|
92
|
+
## Follow-up
|
|
93
|
+
|
|
94
|
+
- [ ] A maintainer may correct the Development section's folder path and point the certificate
|
|
95
|
+
section at the internal encryption plugin, in a separate product-doc change.
|
|
96
|
+
|
|
97
|
+
## Revisit when
|
|
98
|
+
|
|
99
|
+
- A maintainer rewrites the README or the quickstart, or the sample app moves.
|
|
100
|
+
|
|
101
|
+
## References
|
|
102
|
+
|
|
103
|
+
- `README.md`
|
|
104
|
+
- `developer-quickstart.md`
|
|
105
|
+
- `src/webex.js`
|
|
106
|
+
- `src/cypher/index.ts`
|
|
107
|
+
- `.sdd/manifest.json` `spec_source_policy`
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- sdd-generated-metadata
|
|
2
|
+
doc_kind: standing-doc
|
|
3
|
+
generated_from: adr-index@0.3.0
|
|
4
|
+
generated_by: claude-code
|
|
5
|
+
approved_by: rarajes2@cisco.com
|
|
6
|
+
updated_at: 2026-11-16T07:57:20Z
|
|
7
|
+
validation_status: pass
|
|
8
|
+
-->
|
|
9
|
+
|
|
10
|
+
# Architectural decision records
|
|
11
|
+
|
|
12
|
+
Numbered, append-only records of structural decisions affecting this package and its documentation.
|
|
13
|
+
Add a concrete ADR (for example, `0042-cache-policy.md`) when a decision is non-obvious, hard to
|
|
14
|
+
reverse, or worth explaining to a future contributor. Do not edit an accepted decision in place when
|
|
15
|
+
its outcome changes; supersede it with a new ADR and link both records.
|
|
16
|
+
|
|
17
|
+
## Index
|
|
18
|
+
|
|
19
|
+
- [ADR-0001 - Retain the product docs](0001-retain-product-docs.md) — accepted 2026-11-16
|
|
20
|
+
|
|
21
|
+
Add new entries as ADRs are accepted. Keep this list in numeric order.
|
|
22
|
+
|
|
23
|
+
Each ADR should state its context, decision, alternatives, consequences, and the condition that would
|
|
24
|
+
cause the team to revisit it. Record the deciders, any superseded decision, and the constraint future
|
|
25
|
+
changes must preserve.
|
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Architecture
|
|
3
|
+
title: '@webex/plugin-encryption architecture'
|
|
4
|
+
description: Package-wide boundaries, resources, interactions, dependencies, and cross-cutting architecture.
|
|
5
|
+
tags: [architecture]
|
|
6
|
+
---
|
|
7
|
+
<!-- sdd-generated-metadata
|
|
8
|
+
doc_kind: standing-doc
|
|
9
|
+
generated_from: architecture@0.3.0
|
|
10
|
+
generated_by: claude-code
|
|
11
|
+
approved_by: rarajes2@cisco.com
|
|
12
|
+
updated_at: 2026-11-16T07:57:20Z
|
|
13
|
+
validation_status: pass
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# @webex/plugin-encryption architecture
|
|
17
|
+
|
|
18
|
+
Canonical architecture for this package. Flow behavior lives in the
|
|
19
|
+
[Cypher plugin specification](../src/docs/README.md). This page owns package boundaries, the entry
|
|
20
|
+
points, the contract index, and how the package meets the rest of the SDK.
|
|
21
|
+
|
|
22
|
+
Related context: [specification registry](specs/README.md) ·
|
|
23
|
+
[package agent instructions](../AGENTS.md)
|
|
24
|
+
|
|
25
|
+
## Applicability
|
|
26
|
+
|
|
27
|
+
| Condition ID | Status | Evidence or reason | Owned section |
|
|
28
|
+
| ------------------------------------ | ---------- | ------------------ | ------------- |
|
|
29
|
+
| `repo.owns_datastore` | N/A | Nothing under src writes storage; cached keys belong to internal-plugin-encryption | Repository data and schema |
|
|
30
|
+
| `repo.holds_client_state` | Applicable | `src/cypher/index.ts` keeps the registered flag per instance | Client state model |
|
|
31
|
+
| `repo.components_interact` | Applicable | `src/webex.js` requires `src/index.ts`, which registers `src/cypher/index.ts`; the plugin calls the internal encryption and device plugins | Dependency and interaction topology |
|
|
32
|
+
| `repo.domain_data_across_components` | N/A | The key URI, JWE, and SCR pass straight through to internal-plugin-encryption; no package-owned data spans resources | Object and data ownership |
|
|
33
|
+
| `repo.caches_data` | N/A | No cache under src | Caching catalog |
|
|
34
|
+
| `repo.observability_convention` | Applicable | Cypher: log prefix and logged error messages in `src/cypher/index.ts` | Observability patterns |
|
|
35
|
+
| `repo.deploys_to_infra` | N/A | Library published to npm (`package.json`); no service runtime | Runtime and infrastructure |
|
|
36
|
+
| `repo.shared_base_libs` | Applicable | Extends WebexPlugin and WebexCore and uses the legacy build, lint, and test stack (`babel.config.js`, `.eslintrc.js`, `jest.config.js`) | Shared and base libraries |
|
|
37
|
+
| `repo.is_monorepo` | N/A | This SDD root is one package; the workspace around it is out of scope | Package map and inter-package dependencies |
|
|
38
|
+
| `repo.multi_platform` | N/A | `package.json` has no browser field and src has no platform branch; Node and the browser UMD bundle run the same code | Platform matrix |
|
|
39
|
+
| `repo.published_package` | Applicable | `package.json` name is @webex/plugin-encryption and deploy:npm publishes it | Release and versioning |
|
|
40
|
+
| `repo.embedded_in_host` | N/A | No host theme or embed API | Host integration and theming |
|
|
41
|
+
| `repo.exposes_commands_or_artifacts` | Applicable | build, build:src, and build:docs in `package.json`; `src/webex.js` is the workspace UMD entry | Commands and generated artifacts |
|
|
42
|
+
| `repo.cross_repo_deps_material` | Applicable | KMS, WDM, and the file host or files service decide every result of `src/cypher/index.ts` | Cross-repository topology |
|
|
43
|
+
| `repo.security_arch_warranted` | Applicable | Access tokens, KMS key URIs, encrypted SCRs, and decrypted file bytes pass through `src/cypher/index.ts` | Security architecture |
|
|
44
|
+
|
|
45
|
+
## Design overview
|
|
46
|
+
|
|
47
|
+
`@webex/plugin-encryption` is a published TypeScript library with one module. It registers the public
|
|
48
|
+
plugin `cypher`, reached as `webex.cypher`, which applications call to register the SDK device and to
|
|
49
|
+
turn an encrypted Webex attachment URL into decrypted bytes. The plugin holds no keys and does no
|
|
50
|
+
cryptography: `webex.internal.encryption` fetches the key, decrypts the SCR, downloads, and decrypts.
|
|
51
|
+
|
|
52
|
+
The package `main`, `src/webex.js`, is a small `Webex` constructor that loads only the authorization
|
|
53
|
+
plugin, the internal encryption plugin, and `cypher`. The workspace builds the same file as the UMD
|
|
54
|
+
`encryption` bundle, and the `webex` and `webex-node` packages require the package so their instances
|
|
55
|
+
carry `webex.cypher`.
|
|
56
|
+
|
|
57
|
+
Its only client state is one registered flag per plugin instance.
|
|
58
|
+
|
|
59
|
+
## Resource inventory and responsibilities
|
|
60
|
+
|
|
61
|
+
| Resource | Kind | Responsibility | Owner | Source | Detailed specification |
|
|
62
|
+
| -------- | ---- | -------------- | ----- | ------ | ---------------------- |
|
|
63
|
+
| Cypher plugin | package (one module) | Registration of `cypher`; device registration; encrypted file download and decryption; the standalone constructor | @webex/web-sdk | src | [`src/docs/README.md`](../src/docs/README.md) |
|
|
64
|
+
|
|
65
|
+
## Interaction and execution flows
|
|
66
|
+
|
|
67
|
+
Representative end-to-end flow: an application decrypts an attachment with the standalone constructor.
|
|
68
|
+
|
|
69
|
+
```mermaid
|
|
70
|
+
flowchart LR
|
|
71
|
+
App[application] -->|Webex.init| Webex[src/webex.js Webex]
|
|
72
|
+
App -->|register| Cy[webex.cypher]
|
|
73
|
+
Cy -->|register| Dev[internal device]
|
|
74
|
+
Dev --> WDM[WDM]
|
|
75
|
+
App -->|downloadAndDecryptFile| Cy
|
|
76
|
+
Cy -->|decryptScr| Enc[internal encryption]
|
|
77
|
+
Enc --> KMS[KMS]
|
|
78
|
+
Cy -->|download| Enc
|
|
79
|
+
Enc --> Host[file host or files service]
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
| From | To | Interaction or transport | Purpose | Failure or compatibility behavior |
|
|
83
|
+
| ---- | -- | ------------------------ | ------- | --------------------------------- |
|
|
84
|
+
| Application | `webex.cypher` | In-process calls | Register, deregister, download and decrypt | Rejections described in the module specification |
|
|
85
|
+
| `webex.cypher` | `webex.internal.encryption` | In-process calls | SCR decryption with the KMS key; download and byte decryption | Error shapes in the module specification (MOD-008) |
|
|
86
|
+
| `webex.cypher` | `webex.internal.device` | In-process calls | WDM registration | Errors logged and rethrown |
|
|
87
|
+
| `webex` and `webex-node` packages | This package | `require` at load | Add `webex.cypher` to their instances | First registration of `cypher` wins |
|
|
88
|
+
| Workspace webpack | `src/webex.js` | UMD build entry `encryption` | Script-tag `Webex` | Built and shipped by the `webex` package |
|
|
89
|
+
|
|
90
|
+
## Dependency topology
|
|
91
|
+
|
|
92
|
+
| Dependency | Type | Used by | Purpose | Version, failure, or fallback policy |
|
|
93
|
+
| ---------- | ---- | ------- | ------- | ------------------------------------ |
|
|
94
|
+
| `@webex/internal-plugin-encryption` | Internal | `src/webex.js`, `src/cypher/index.ts` | Key, SCR, download, and decryption | `workspace:*`; module spec consulted |
|
|
95
|
+
| `@webex/webex-core` | Internal | `src/index.ts`, `src/cypher/index.ts`, `src/webex.js`, `src/webex-config.ts` | Registration, plugin base, constructor base, memory storage adapter | `workspace:*`; module spec consulted |
|
|
96
|
+
| `@webex/plugin-authorization` | Internal, undeclared | `src/webex.js` | Authorization plugin for the constructor | Resolved through workspace hoisting; module spec consulted |
|
|
97
|
+
| `@webex/internal-plugin-device` | Internal, undeclared, transitive | `src/cypher/index.ts` through `webex.internal.device` | WDM registration | Registered by the authorization and encryption plugins; module spec consulted |
|
|
98
|
+
| `@babel/polyfill`, `lodash` | External, undeclared | `src/webex.js` | Polyfill; `merge` in `Webex.init` | Resolved through workspace hoisting |
|
|
99
|
+
| KMS, WDM, file hosts, Webex files service | External service | The internal plugins above | Keys, device registration, file bytes | Reached only through the internal plugins |
|
|
100
|
+
|
|
101
|
+
No import cycle exists: the internal plugins this package uses do not import it.
|
|
102
|
+
|
|
103
|
+
## Public and consumer surfaces
|
|
104
|
+
|
|
105
|
+
| Surface | Type | Owner | Consumers | Compatibility policy | Source |
|
|
106
|
+
| ------- | ---- | ----- | --------- | -------------------- | ------ |
|
|
107
|
+
| `plugin-encryption-sdk` — package @webex/plugin-encryption: the `Webex` constructor (`main`), `webex.cypher` and its methods, and the declared types | SDK, published to npm | Cypher plugin | Applications; the `webex` and `webex-node` packages; the encryption sample app | Public; no package versioning policy recorded; `types` and `main` disagree on the default export (a known defect in the module spec's Evidence register) | `package.json`, `src/webex.js`, `src/index.ts`, `src/cypher/index.ts` |
|
|
108
|
+
| `encryption-umd-entry` — UMD `encryption` bundle, global `Webex` | File, published in the `webex` package | Cypher plugin | Script-tag pages | Built by the workspace from this source | `src/webex.js` |
|
|
109
|
+
| `encrypted-attachment-url` — `keyUri` and `JWE` query parameters of a file URL | HTTP URL format, internal | Cypher plugin | Applications passing attachment URLs | Case-sensitive names; the whole URL is downloaded | `src/cypher/index.ts` |
|
|
110
|
+
|
|
111
|
+
The attachment URL format and the options object are described under *Protocol and wire format* in
|
|
112
|
+
the [module specification](../src/docs/README.md#protocol-and-wire-format). The contracts this package
|
|
113
|
+
requires are registered in `.sdd/manifest.json` `contract_catalog`.
|
|
114
|
+
|
|
115
|
+
## Client state model
|
|
116
|
+
|
|
117
|
+
| State or slice | Owner | Transition triggers | Persistence or reset boundary |
|
|
118
|
+
| -------------- | ----- | ------------------- | ----------------------------- |
|
|
119
|
+
| Registered flag | `Cypher` instance | Successful `register` and `deregister`, or a caller assigning the public field | Memory; see the module [Client state model](../src/docs/README.md#client-state-model) |
|
|
120
|
+
|
|
121
|
+
## Cross-cutting architecture
|
|
122
|
+
|
|
123
|
+
### Security
|
|
124
|
+
|
|
125
|
+
- Trust boundaries and identity flow: see [Security architecture](#security-architecture).
|
|
126
|
+
- Sensitive surfaces and data classes: the access token, KMS key URIs, the JWE of each SCR (the SCR
|
|
127
|
+
holds the file key), and decrypted file bytes returned to the caller.
|
|
128
|
+
- Encryption and secret boundaries: see [Security architecture](#security-architecture).
|
|
129
|
+
|
|
130
|
+
### Observability and operations
|
|
131
|
+
|
|
132
|
+
- Logging, metrics, and correlation: see [Observability patterns](#observability-patterns).
|
|
133
|
+
- Ownership and operational entry points: the workspace `.github/CODEOWNERS` default rule assigns
|
|
134
|
+
`@webex/web-sdk`; no line names this package. No dashboards or runbooks are recorded in this
|
|
135
|
+
package.
|
|
136
|
+
|
|
137
|
+
### Quality attributes
|
|
138
|
+
|
|
139
|
+
- Compatibility: callers rely on the plugin name `cypher`, the three method names, the
|
|
140
|
+
`FileDownloadOptions` fields, the `keyUri` and `JWE` query names, and the `Webex.init` entry.
|
|
141
|
+
- Latency: a first download waits for the KMS key (Mercury and an ECDH session in the internal
|
|
142
|
+
plugin) before the file GET starts; later calls reuse the internal key cache.
|
|
143
|
+
- Test confidence: 11 unit cases with an enforced 85% coverage threshold cover the plugin class; the
|
|
144
|
+
constructor, the registration entry, and the published entries have no test.
|
|
145
|
+
|
|
146
|
+
## Dependency and interaction topology
|
|
147
|
+
|
|
148
|
+
```mermaid
|
|
149
|
+
flowchart LR
|
|
150
|
+
Main[src/webex.js] -->|require| Auth[plugin-authorization]
|
|
151
|
+
Main -->|require| IEnc[internal-plugin-encryption]
|
|
152
|
+
Main -->|require| Index[src/index.ts]
|
|
153
|
+
Main -->|extend| Core[webex-core WebexCore]
|
|
154
|
+
Index -->|registerPlugin cypher| Core
|
|
155
|
+
Index --> Cy[src/cypher/index.ts]
|
|
156
|
+
Cy -->|decryptScr, download| IEnc
|
|
157
|
+
Cy -->|register, unregister| Dev[internal-plugin-device]
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
| From | To | Kind | Purpose | Ordering or failure boundary |
|
|
161
|
+
| ---- | -- | ---- | ------- | ---------------------------- |
|
|
162
|
+
| `src/webex.js` | `src/index.ts` and the two plugins | `require` at load | Register plugins before `WebexCore.extend` | Plugins registered after `extend` would be missing from instances (webex package INV-002) |
|
|
163
|
+
| `src/index.ts` | webex-core | Call at import | Register `cypher` | First registration wins |
|
|
164
|
+
| `src/cypher/index.ts` | Internal plugins | Calls through the parent `webex` | Delegated work | Their errors reach the caller |
|
|
165
|
+
|
|
166
|
+
## Observability patterns
|
|
167
|
+
|
|
168
|
+
| Signal | Convention or required fields | Propagation or naming rule | Primary evidence |
|
|
169
|
+
| ------- | ----------------------------- | -------------------------- | ---------------- |
|
|
170
|
+
| Logs | `webex.logger` info for registration outcomes and error for failures; error lines carry the error message only | Prefix `Cypher:`, except the two failure lines, which start `Error occurred during device.` | `src/cypher/index.ts` |
|
|
171
|
+
| Metrics | None emitted here | — | `src/cypher/index.ts` |
|
|
172
|
+
| Traces | None | Tracking ids come from the internal plugins' requests | `src/cypher/index.ts` |
|
|
173
|
+
| Audit | None | — | `src/cypher/index.ts` |
|
|
174
|
+
|
|
175
|
+
## Shared and base libraries
|
|
176
|
+
|
|
177
|
+
| Library | Inherited responsibility | Consumers | Version floor | Compatibility rule |
|
|
178
|
+
| ------- | ------------------------ | --------- | ------------- | ------------------ |
|
|
179
|
+
| `@webex/webex-core` `WebexPlugin`, `WebexCore`, `registerPlugin` | Parent `webex`, logger, namespace config; constructor; registration | `Cypher`, `Webex` | `workspace:*` | Keep the namespace `cypher` |
|
|
180
|
+
| `@webex/babel-config-legacy`, `@webex/eslint-config-legacy`, `@webex/jest-config-legacy`, `@webex/legacy-tools` | Build, lint, and test stack, plus the package-version Babel plugin | Package tooling | `workspace:*` | Extend, do not fork, the configs; the local `jest.config.js` adds the coverage threshold |
|
|
181
|
+
|
|
182
|
+
## Release and versioning
|
|
183
|
+
|
|
184
|
+
| Artifact | Publish target | Versioning rule | Deprecation window | Changelog or migration obligation |
|
|
185
|
+
| -------- | -------------- | --------------- | ------------------ | --------------------------------- |
|
|
186
|
+
| @webex/plugin-encryption, including dist/types | npm through `deploy:npm` | Workspace release process; no package policy recorded | None declared | None in the package; the workspace owns changelogs |
|
|
187
|
+
| UMD `encryption.min.js` | Shipped by the `webex` package | Follows the `webex` package release | None declared | Owned by the `webex` package |
|
|
188
|
+
|
|
189
|
+
## Commands and generated artifacts
|
|
190
|
+
|
|
191
|
+
| Command or artifact | Owner | Inputs | Output or side effect | Compatibility boundary |
|
|
192
|
+
| ------------------- | ----- | ------ | --------------------- | ---------------------- |
|
|
193
|
+
| `yarn workspace @webex/plugin-encryption build:src` | Package scripts | `src` | Writes JavaScript and maps to `dist/` through `webex-legacy-tools`, then runs `build` | `dist/` is generated |
|
|
194
|
+
| `yarn workspace @webex/plugin-encryption build` | Package scripts | `src`, `tsconfig.json` | Declarations in dist/types | `types` points at them |
|
|
195
|
+
| `yarn workspace @webex/plugin-encryption build:docs` | Package scripts | `src/index.ts` through typedoc | Writes the workspace `docs/plugin-encryption` API reference | Output lives outside this package |
|
|
196
|
+
| `yarn workspace @webex/plugin-encryption test:unit` | Package scripts | `test/unit/spec`, sibling `dist/` | Jest run with the coverage threshold; writes `coverage/` and `junit.xml` (ignored by Git) | Fails below 85% |
|
|
197
|
+
| `yarn workspace @webex/plugin-encryption test:style` | Package scripts | `src` | ESLint run | Skips `docs/**` and `*.md` |
|
|
198
|
+
| `yarn workspace @webex/plugin-encryption test:browser` | Package scripts | No integration files | Nothing | Runs no test |
|
|
199
|
+
|
|
200
|
+
## Cross-repository topology
|
|
201
|
+
|
|
202
|
+
| Repository or external system | Relationship | Exchanged contract or artifact | Owner | Sequencing constraint |
|
|
203
|
+
| ----------------------------- | ------------- | ------------------------------ | ----- | --------------------- |
|
|
204
|
+
| `@webex/internal-plugin-encryption` (workspace sibling; spec consulted) | Consumes | `decryptScr`, `download` | @webex/web-sdk | Required before `cypher` runs |
|
|
205
|
+
| `@webex/internal-plugin-device`, `@webex/webex-core`, `@webex/plugin-authorization` (workspace siblings; specs consulted) | Consumes | Device registration; plugin host; authorization | @webex/web-sdk | Registered before `WebexCore.extend` |
|
|
206
|
+
| `webex` and `webex-node` packages (workspace siblings; specs consulted) | Consumed by | `webex.cypher`; the UMD `encryption` bundle | @webex/web-sdk | Require this package at load |
|
|
207
|
+
| KMS, WDM, file hosts, Webex files service | Consumes, through the internal plugins | Keys, device registration, file bytes | Not recorded in this repository | — |
|
|
208
|
+
|
|
209
|
+
## Security architecture
|
|
210
|
+
|
|
211
|
+
```mermaid
|
|
212
|
+
flowchart LR
|
|
213
|
+
App[application] -->|access token| Webex[Webex instance]
|
|
214
|
+
App -->|URL with keyUri and JWE| Cy[webex.cypher]
|
|
215
|
+
Cy -->|keyUri, JWE| Enc[internal encryption]
|
|
216
|
+
Enc -->|spark:kms token over ECDH session| KMS[KMS]
|
|
217
|
+
Enc -->|GET https URL| Host[file host]
|
|
218
|
+
Enc -->|decrypted bytes| App
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
- The access token is the application's; this package never reads it. The internal plugin uses it
|
|
222
|
+
with the `spark:kms` scope to fetch the key.
|
|
223
|
+
- The JWE in an attachment URL holds the file's SCR encrypted with the KMS key; only a user KMS
|
|
224
|
+
authorizes for that key URI can decrypt it.
|
|
225
|
+
- By default the file is fetched straight from the given URL, and the internal plugin rejects a URL
|
|
226
|
+
that is not HTTPS (outside production, a URL containing `localhost` skips that check); with `useFileService` the files service maps the URL first.
|
|
227
|
+
- Decrypted bytes go only to the caller; the plugin does not store them.
|
|
228
|
+
- Logging rules are under [Observability patterns](#observability-patterns); the module spec's
|
|
229
|
+
`INV-003` lists what is never logged.
|
|
230
|
+
|
|
231
|
+
## Domain language
|
|
232
|
+
|
|
233
|
+
| Term | Repository-specific meaning | Authoritative source |
|
|
234
|
+
| ---- | --------------------------- | -------------------- |
|
|
235
|
+
| Cypher | This package's public plugin, `webex.cypher` | `src/cypher/index.ts` |
|
|
236
|
+
| SCR | Secure content resource: the key, IV, and location of an encrypted file | `src/cypher/index.ts` |
|
|
237
|
+
| JWE | Compact JSON Web Encryption; here the SCR encrypted with the KMS key | `src/cypher/types.ts` |
|
|
238
|
+
| Key URI | The KMS URI of the key that encrypts the SCR | `src/cypher/types.ts` |
|
|
239
|
+
| Files service | Webex service that maps a file URL to a download URL (`useFileService`) | `src/cypher/types.ts` |
|
|
240
|
+
| WDM | The device registration service reached through `webex.internal.device` | `src/cypher/index.ts` |
|
|
241
|
+
|
|
242
|
+
## References and maintenance
|
|
243
|
+
|
|
244
|
+
- Decisions: [adr/](adr/index.md)
|
|
245
|
+
- Instantiated specifications and routing: [specs/README.md](specs/README.md)
|
|
246
|
+
- Repository rules and patterns: [package agent instructions](../AGENTS.md)
|
|
247
|
+
- Update this document in the same change that alters package boundaries, resource ownership,
|
|
248
|
+
cross-resource interaction, or cross-cutting architecture.
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Getting Started
|
|
3
|
+
title: Getting started
|
|
4
|
+
description: Local setup, build, run, and test routing for @webex/plugin-encryption.
|
|
5
|
+
tags: [onboarding]
|
|
6
|
+
---
|
|
7
|
+
<!-- sdd-generated-metadata
|
|
8
|
+
doc_kind: standing-doc
|
|
9
|
+
generated_from: getting-started@0.3.0
|
|
10
|
+
generated_by: claude-code
|
|
11
|
+
approved_by: rarajes2@cisco.com
|
|
12
|
+
updated_at: 2026-11-16T07:57:20Z
|
|
13
|
+
validation_status: pass
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# Getting started
|
|
17
|
+
|
|
18
|
+
Onboarding for **@webex/plugin-encryption**, a package inside the `webex-js-sdk` Yarn workspace. Run every command from the workspace root: `yarn` to install, and `yarn workspace @webex/plugin-encryption <script>` for the package scripts, which `package.json` defines.
|
|
19
|
+
|
|
20
|
+
## Prerequisites
|
|
21
|
+
|
|
22
|
+
| Tool or access | Version or requirement |
|
|
23
|
+
| -------------- | ---------------------- |
|
|
24
|
+
| Node.js | Use 22.14: the workspace root `AGENTS.md` requires it and the workspace `.nvmrc` selects `lts/jod` (Node 22). This package's `engines` accepts `>=16`. The workspace root `package.json` `engines.node` reads `18.x`, which conflicts with the other pins; the build, tests, and lint pass on 22.14 |
|
|
25
|
+
| Yarn | `yarn@3.4.1` (`packageManager` in the workspace root `package.json`) |
|
|
26
|
+
| Registry or account access | N/A for building, unit tests, and linting. Using the plugin against Webex needs an access token with the `spark:kms` scope (`developer-quickstart.md`) |
|
|
27
|
+
|
|
28
|
+
## Install
|
|
29
|
+
|
|
30
|
+
```bash
|
|
31
|
+
yarn
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The workspace `deploy.yml` workflow installs with the same command.
|
|
35
|
+
|
|
36
|
+
Fresh-checkout workspace setup (building `webex-legacy-tools` and sibling `dist/`) is owned by the workspace root; see
|
|
37
|
+
[Prebuilding](../../../../CONTRIBUTING.md#prebuilding).
|
|
38
|
+
|
|
39
|
+
## Build
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
yarn workspace @webex/plugin-encryption build:src
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
`build:src` compiles the eight source files to `dist/` with source maps through `webex-legacy-tools`,
|
|
46
|
+
then runs the `build` script, which runs `tsc` with declarations only and writes `dist/types`. `dist/`
|
|
47
|
+
is ignored by Git.
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
yarn workspace @webex/plugin-encryption build
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
`yarn workspace @webex/plugin-encryption build` alone refreshes only the declarations.
|
|
54
|
+
|
|
55
|
+
## Run
|
|
56
|
+
|
|
57
|
+
N/A — this is a library with no start script. `require('@webex/plugin-encryption')` returns the
|
|
58
|
+
standalone `Webex` constructor and registers `webex.cypher`. The browser sample app that uses it is
|
|
59
|
+
served by the workspace, as `developer-quickstart.md` describes.
|
|
60
|
+
|
|
61
|
+
The API reference is generated with typedoc into the workspace `docs/plugin-encryption` folder,
|
|
62
|
+
outside this package:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
yarn workspace @webex/plugin-encryption build:docs
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
It was not run during onboarding.
|
|
69
|
+
|
|
70
|
+
## Tests
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
yarn workspace @webex/plugin-encryption build:src
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
yarn workspace @webex/plugin-encryption test:unit
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
yarn workspace @webex/plugin-encryption test:style
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
| Tier | Command | Test location | Framework | External dependencies |
|
|
85
|
+
| ---- | ------- | ------------- | --------- | --------------------- |
|
|
86
|
+
| Unit | `yarn workspace @webex/plugin-encryption test:unit` | `test/unit/spec` | jest (`webex-legacy-tools test --unit --runner jest`) with `@webex/test-helper-mock-webex` | None |
|
|
87
|
+
|
|
88
|
+
The unit spec imports `src/cypher` relatively, but loads `@webex/internal-plugin-encryption` and
|
|
89
|
+
`@webex/test-helper-mock-webex` by name, which resolve to their `dist/`. Make sure they are
|
|
90
|
+
built (see the workspace prebuild setup above) before trusting a result.
|
|
91
|
+
|
|
92
|
+
On 2026-11-16, `yarn workspace @webex/plugin-encryption build:src` and `yarn workspace @webex/plugin-encryption test:unit` passed all 11 cases in the one suite, with
|
|
93
|
+
statement coverage of 96.95% and branch coverage of 95.65% over the measured files.
|
|
94
|
+
|
|
95
|
+
`test:style` lints `src/` with eslint through `@webex/eslint-config-legacy`. On 2026-11-16 it exited 0
|
|
96
|
+
with 6 warnings, all in `src/webex.js`: three `import/no-extraneous-dependencies` (for
|
|
97
|
+
`@babel/polyfill`, `@webex/plugin-authorization`, and `lodash`) and three
|
|
98
|
+
`@typescript-eslint/no-var-requires`. Since this specification exists, it also prints a seventh
|
|
99
|
+
warning, "File ignored because of a matching ignore pattern", for `src/docs/README.md`: the shared
|
|
100
|
+
ignore list skips `docs/**` and `*.md`.
|
|
101
|
+
|
|
102
|
+
- Coverage or quality gate: 85% global lines, functions, branches, and statements, set by
|
|
103
|
+
`coverageThreshold` in `jest.config.js` with `collectCoverage: true`. It measures only the files
|
|
104
|
+
the unit spec loads, because no `collectCoverageFrom` is set
|
|
105
|
+
- Enforcement source: `yarn workspace @webex/plugin-encryption test:unit` exits nonzero below the threshold (a generator probe with a 99%
|
|
106
|
+
line threshold exited 1); the pull-request workflow's Test - Unit job runs `test:unit` for changed
|
|
107
|
+
packages and their dependents
|
|
108
|
+
- Test environment or QA dependencies: none
|
|
109
|
+
|
|
110
|
+
`yarn workspace @webex/plugin-encryption test:browser` (manifest command `browser-test`) asks karma to run the integration files, but
|
|
111
|
+
`webex-legacy-tools` starts karma only for a non-empty file list and this package has no
|
|
112
|
+
`test/integration` directory, so it prints nothing and exits 0 (2026-11-16). The package defines no aggregate
|
|
113
|
+
`test` script and no `test:integration` script.
|
|
114
|
+
|
|
115
|
+
## Configuration and secrets
|
|
116
|
+
|
|
117
|
+
- Required configuration: none. The registered plugin config is `{cypher: {}}` and is not read. The
|
|
118
|
+
defaults in `src/webex-config.ts` are not applied by `Webex.init` today; see the
|
|
119
|
+
[module specification](../src/docs/README.md#evidence-register) (known defect)
|
|
120
|
+
- Environment overrides: `HYDRA_SERVICE_URL` sets the Hydra URL in `src/webex-config.ts` (subject to
|
|
121
|
+
that defect); the workspace UMD build defines it per environment
|
|
122
|
+
- Secret source: N/A for this package; it holds no secret. Applications supply the access token
|
|
123
|
+
- Package or artifact access: N/A
|
|
124
|
+
- Required neighboring packages: `@webex/internal-plugin-encryption` and `@webex/webex-core`
|
|
125
|
+
(declared), plus `@webex/plugin-authorization`, `lodash`, and `@babel/polyfill`, which
|
|
126
|
+
`src/webex.js` requires without declaring them; all are present in the workspace install
|
|
127
|
+
- Platform, simulator, device, or SDK setup: none
|
|
128
|
+
- Never commit credentials or copy production secrets into a local config.
|
|
129
|
+
|
|
130
|
+
## First-run verification
|
|
131
|
+
|
|
132
|
+
1. Run `yarn workspace @webex/plugin-encryption build:src` and check that it reports `Built plugin-encryption: 8 files`.
|
|
133
|
+
2. Run `yarn workspace @webex/plugin-encryption test:unit` and check that all 11 cases pass and no coverage threshold message appears.
|
|
134
|
+
3. Run `yarn workspace @webex/plugin-encryption test:style`.
|
|
135
|
+
|
|
136
|
+
Expected result: all three commands exit zero, and `test:style` reports 7 warnings (the six in `src/webex.js` and "File ignored" for `src/docs/README.md`) and no
|
|
137
|
+
error.
|
|
138
|
+
|
|
139
|
+
## Next steps
|
|
140
|
+
|
|
141
|
+
- [Package architecture](architecture.md)
|
|
142
|
+
- [Specification registry](specs/README.md)
|
|
143
|
+
- [Documentation index](index.md)
|
package/docs/index.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
okf_version: '0.1'
|
|
3
|
+
---
|
|
4
|
+
<!-- sdd-generated-metadata
|
|
5
|
+
doc_kind: standing-doc
|
|
6
|
+
generated_from: docs-index@0.3.0
|
|
7
|
+
generated_by: claude-code
|
|
8
|
+
approved_by: rarajes2@cisco.com
|
|
9
|
+
updated_at: 2026-11-16T07:57:20Z
|
|
10
|
+
validation_status: pass
|
|
11
|
+
-->
|
|
12
|
+
|
|
13
|
+
# @webex/plugin-encryption documentation
|
|
14
|
+
|
|
15
|
+
Doc map for developers and agents working on the Cypher (encrypted file download) plugin.
|
|
16
|
+
|
|
17
|
+
## Start here
|
|
18
|
+
|
|
19
|
+
- [Getting started](getting-started.md)
|
|
20
|
+
- [Package architecture](architecture.md)
|
|
21
|
+
|
|
22
|
+
## Decisions
|
|
23
|
+
|
|
24
|
+
- [adr/](adr/index.md) — architectural decision records
|
|
25
|
+
|
|
26
|
+
## Specifications and contracts
|
|
27
|
+
|
|
28
|
+
- [architecture.md](architecture.md) — canonical package architecture and contract index
|
|
29
|
+
- [specs/README.md](specs/README.md) — manifest-backed module and contract registry
|
|
30
|
+
- [`src/docs/README.md`](../src/docs/README.md) — the Cypher plugin specification beside its code
|
|
31
|
+
- [adr/](adr/index.md) — concrete architectural decisions; blank ADR templates remain under the
|
|
32
|
+
monorepo root `.sdd/`
|
|
33
|
+
|
|
34
|
+
This package is a library, so there is no service specification and no OpenAPI document. Exact
|
|
35
|
+
contract details live in the native sources linked from the architecture index: `package.json` for the
|
|
36
|
+
entry points, `src/webex.js` for the constructor, `src/index.ts` for the registration and exported
|
|
37
|
+
types, and `src/cypher/index.ts` and `src/cypher/types.ts` for the API.
|
|
38
|
+
|
|
39
|
+
## Related repository resources
|
|
40
|
+
|
|
41
|
+
- [`README.md`](../README.md) — retained npm page with install, CDN, and sample code; context only,
|
|
42
|
+
see [ADR-0001](adr/0001-retain-product-docs.md)
|
|
43
|
+
- [`developer-quickstart.md`](../developer-quickstart.md) — retained guide to the encryption sample
|
|
44
|
+
app; context only
|
|
45
|
+
- [`AGENTS.md`](../AGENTS.md) — agent instructions for this package
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
---
|
|
2
|
+
type: Reference
|
|
3
|
+
title: Specification registry
|
|
4
|
+
description: Canonical specification registry and change-routing guide.
|
|
5
|
+
tags: [specifications, registry]
|
|
6
|
+
---
|
|
7
|
+
<!-- sdd-generated-metadata
|
|
8
|
+
doc_kind: standing-doc
|
|
9
|
+
generated_from: spec-index@0.3.0
|
|
10
|
+
generated_by: claude-code
|
|
11
|
+
approved_by: rarajes2@cisco.com
|
|
12
|
+
updated_at: 2026-11-16T07:57:20Z
|
|
13
|
+
validation_status: pass
|
|
14
|
+
-->
|
|
15
|
+
|
|
16
|
+
# Specification registry
|
|
17
|
+
|
|
18
|
+
Use this page to find the canonical package architecture and every instantiated module specification
|
|
19
|
+
plus native contract. Keep technical facts in one owning document and use this page only for
|
|
20
|
+
navigation, ownership, status, and change/test routing.
|
|
21
|
+
|
|
22
|
+
Start with the [package architecture](../architecture.md). No service specification exists because this
|
|
23
|
+
package is a library.
|
|
24
|
+
|
|
25
|
+
## Document roles
|
|
26
|
+
|
|
27
|
+
| Document | Canonical ownership |
|
|
28
|
+
| -------- | ------------------- |
|
|
29
|
+
| [Package architecture](../architecture.md) | Package boundaries, resource inventory, interactions, dependency topology, and cross-cutting architecture |
|
|
30
|
+
| Module specifications | Stable behavior and design at each manifest-routed `<module-path>/docs/README.md` |
|
|
31
|
+
| [ADR](../adr/index.md) | A durable decision, its deciders, rationale, consequences, and supersession lineage |
|
|
32
|
+
|
|
33
|
+
## Instantiated specification registry
|
|
34
|
+
|
|
35
|
+
| Resource | Role | Canonical path | Owner | Status | Last verified |
|
|
36
|
+
| -------- | ---- | -------------- | ----- | ------ | ------------- |
|
|
37
|
+
| Package | Architecture | `docs/architecture.md` | @webex/web-sdk | Draft | 2026-11-16 |
|
|
38
|
+
| Cypher plugin | Module | `src/docs/README.md` | @webex/web-sdk | Draft | 2026-11-16 |
|
|
39
|
+
| Retain the product docs | ADR | `docs/adr/0001-retain-product-docs.md` | @webex/web-sdk | Accepted | 2026-11-16 |
|
|
40
|
+
|
|
41
|
+
### Module registry
|
|
42
|
+
|
|
43
|
+
| Module | Responsibility | Manifest coverage state | Start here |
|
|
44
|
+
| --- | --- | --- | --- |
|
|
45
|
+
| `src/` | `webex.cypher`: device registration and encrypted file download and decryption through `webex.internal.encryption`, plus the standalone `Webex` constructor | Partial | `src/docs/README.md` |
|
|
46
|
+
|
|
47
|
+
Generator-side field measurement is complete (100%, assessed 2026-11-16). Independent validation passed on 2026-11-16 with 0 Blocking findings. The module remains Partial pending unit cases for the untested requirements, a characterization baseline, and promotion review.
|
|
48
|
+
|
|
49
|
+
## Change and verification routing
|
|
50
|
+
|
|
51
|
+
| Change affects | Load and update | Verification route |
|
|
52
|
+
| -------------- | --------------- | ------------------ |
|
|
53
|
+
| Package boundaries or cross-cutting architecture | `docs/architecture.md` and applicable ADRs | `yarn workspace @webex/plugin-encryption build:src`, `test:unit`, and `test:style`, and the module spec |
|
|
54
|
+
| A stable code, package, or component boundary | `src/docs/README.md` | Build, unit tests with coverage, and lint |
|
|
55
|
+
| `downloadAndDecryptFile`, its options, or its errors | `src/docs/README.md` (MOD-005 to MOD-008, INV-001, INV-003, and the download-error and progress-event known defects), `src/cypher/index.ts`, `src/cypher/types.ts` | Build, then `test/unit/spec/cypher/index.ts`; add cases for the untested paths |
|
|
56
|
+
| `register`, `deregister`, or the registered flag | The module spec (MOD-003, MOD-004, INV-002, State machine), `src/cypher/index.ts` | Build, unit tests, and lint |
|
|
57
|
+
| The standalone constructor, its defaults, or the package entries | The module spec (MOD-011 and the types and config known defects), `src/webex.js`, `src/webex-config.ts`, `package.json` | Build and lint; no unit case loads these files, so check the built main and the `webex` and `webex-node` packages |
|
|
58
|
+
| Registration of `cypher` | The module spec (MOD-001), `src/index.ts`, `src/config.ts` | Build, unit tests, and lint |
|
|
59
|
+
|
|
60
|
+
## Module and contract registration
|
|
61
|
+
|
|
62
|
+
The module specification is generated at the exact `modules[].canonical_spec` path recorded in
|
|
63
|
+
`.sdd/manifest.json`. Register every module and submodule in the Module registry above in manifest tree
|
|
64
|
+
order.
|
|
65
|
+
|
|
66
|
+
Contracts are registered in `.sdd/manifest.json` `contract_catalog` and indexed in
|
|
67
|
+
[`docs/architecture.md`](../architecture.md#public-and-consumer-surfaces) with a stable ID, publication
|
|
68
|
+
state, native source, and owning module. This page provides navigation and ownership rather than a copied
|
|
69
|
+
contract.
|