Commit 1e9eabf
committed
Remove dead wrapKey module
- Delete the unreachable msrcryptoWrapKey module (src/wrapKey.js): its
operations.register("wrapKey"/"unwrapKey") handlers were never dispatched,
since executeOperation is only ever called with encrypt/decrypt/sign/verify/
digest/generateKey/deriveBits/importKey/exportKey.
- Public subtle.wrapKey/unwrapKey remain fully functional via the standard
exportKey+encrypt / decrypt+importKey composition in subtleInterface.js.
- Drop src/wrapKey.js from the build.mjs fullBuild list.
- Remove the now-orphaned keyToJwkBytes serializer and its stringToArray
helper from src/jwk.js (keyToJwk/jwkToKey are unaffected).
- Remove the dead wrapKey/unwrapKey entries from subtleParametersSets and the
dead operationName === "wrapKey" branch in executeOperation.1 parent 043cd08 commit 1e9eabf
4 files changed
Lines changed: 2 additions & 191 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | 23 | | |
39 | 24 | | |
40 | 25 | | |
| |||
124 | 109 | | |
125 | 110 | | |
126 | 111 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | 112 | | |
156 | 113 | | |
157 | 114 | | |
| |||
170 | 127 | | |
171 | 128 | | |
172 | 129 | | |
173 | | - | |
174 | 130 | | |
175 | 131 | | |
176 | 132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 54 | + | |
57 | 55 | | |
58 | 56 | | |
59 | 57 | | |
| |||
200 | 198 | | |
201 | 199 | | |
202 | 200 | | |
203 | | - | |
| 201 | + | |
204 | 202 | | |
205 | 203 | | |
206 | 204 | | |
| |||
This file was deleted.
0 commit comments