Commit 341947e
crypto: reject unintended raw key format string input
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
PR-URL: #62974
Backport-PR-URL: #63173
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 28a7874 commit 341947eCopy full SHA for 341947e
2 files changed
+45-1Lines changed: 45 additions & 1 deletion
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- lib/internal/crypto
- test/parallel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
lib/internal/crypto/keys.js
Copy file name to clipboardExpand all lines: lib/internal/crypto/keys.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
765 | 765 | |
766 | 766 | |
767 | 767 | |
768 | | - |
| 768 | + |
769 | 769 | |
770 | 770 | |
771 | 771 | |
|
Collapse file
test/parallel/test-crypto-key-objects-raw.js
Copy file name to clipboardExpand all lines: test/parallel/test-crypto-key-objects-raw.js+44Lines changed: 44 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
32 | 32 | |
33 | 33 | |
34 | 34 | |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
35 | 79 | |
36 | 80 | |
37 | 81 | |
|
0 commit comments