summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
Diffstat (limited to 'cli')
-rw-r--r--cli/tests/node_compat/config.json6
-rw-r--r--cli/tests/node_compat/test/fixtures/keys/agent1-cert.pem7
-rw-r--r--cli/tests/node_compat/test/fixtures/keys/agent1-key.pem7
-rw-r--r--cli/tests/node_compat/test/fixtures/keys/ca1-cert.pem2
-rw-r--r--cli/tests/node_compat/test/parallel/test-crypto-secret-keygen.js9
5 files changed, 14 insertions, 17 deletions
diff --git a/cli/tests/node_compat/config.json b/cli/tests/node_compat/config.json
index 5ee86a03c..60d5beb34 100644
--- a/cli/tests/node_compat/config.json
+++ b/cli/tests/node_compat/config.json
@@ -43,7 +43,10 @@
"test-child-process-stdout-flush-exit.js",
"test-child-process-stdout-flush.js",
"test-console-instance.js",
+ "test-crypto-hkdf.js",
"test-crypto-hmac.js",
+ "test-crypto-prime.js",
+ "test-crypto-x509.js",
"test-dgram-custom-lookup.js",
"test-dgram-ipv6only.js",
"test-dgram-send-cb-quelches-error.js",
@@ -131,7 +134,8 @@
],
"fixtures/keys": [
"agent1-cert.pem",
- "agent1-key.pem"
+ "agent1-key.pem",
+ "ca1-cert.pem"
],
"internet": [
"test-dns-any.js",
diff --git a/cli/tests/node_compat/test/fixtures/keys/agent1-cert.pem b/cli/tests/node_compat/test/fixtures/keys/agent1-cert.pem
index 938ec42b7..bef645b0f 100644
--- a/cli/tests/node_compat/test/fixtures/keys/agent1-cert.pem
+++ b/cli/tests/node_compat/test/fixtures/keys/agent1-cert.pem
@@ -1,10 +1,3 @@
-// deno-fmt-ignore-file
-// deno-lint-ignore-file
-
-// Copyright Joyent and Node contributors. All rights reserved. MIT license.
-// Taken from Node 18.12.1
-// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
-
-----BEGIN CERTIFICATE-----
MIID6DCCAtCgAwIBAgIUFH02wcL3Qgben6tfIibXitsApCYwDQYJKoZIhvcNAQEL
BQAwejELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAkNBMQswCQYDVQQHDAJTRjEPMA0G
diff --git a/cli/tests/node_compat/test/fixtures/keys/agent1-key.pem b/cli/tests/node_compat/test/fixtures/keys/agent1-key.pem
index b182ac5ed..1bd840716 100644
--- a/cli/tests/node_compat/test/fixtures/keys/agent1-key.pem
+++ b/cli/tests/node_compat/test/fixtures/keys/agent1-key.pem
@@ -1,10 +1,3 @@
-// deno-fmt-ignore-file
-// deno-lint-ignore-file
-
-// Copyright Joyent and Node contributors. All rights reserved. MIT license.
-// Taken from Node 18.12.1
-// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
-
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA1FYyCvsg04Jwk9wsQoTtBN+6vVbh3a5Snii3kM1CVtsnM0nz
c1/9M3x6Y2Psylont/c9xwialsbYhtsMYjiPHN1qljr81ZnVgA5YehH5CJYPhO1Q
diff --git a/cli/tests/node_compat/test/fixtures/keys/ca1-cert.pem b/cli/tests/node_compat/test/fixtures/keys/ca1-cert.pem
index 4ba203b58..e1a012c6b 100644
--- a/cli/tests/node_compat/test/fixtures/keys/ca1-cert.pem
+++ b/cli/tests/node_compat/test/fixtures/keys/ca1-cert.pem
@@ -19,4 +19,4 @@ F7KvAZpYYKN9EMH1S/267By6H2I33BT/Ethv//n8dSfmuCurR1kYRaiOC4PVeyFk
B3sj8TtolrN0y/nToWUhmKiaVFnDx3odQ00yhmxR3t21iB7yDkko6D8Vf2dVC4j/
YYBVprXGlTP/hiYRLDoP20xKOYznx5cvHPJ9p+lVcOZUJsJj/Iy750+2n5UiBmXt
lz88C25ucKA=
------END CERTIFICATE----- \ No newline at end of file
+-----END CERTIFICATE-----
diff --git a/cli/tests/node_compat/test/parallel/test-crypto-secret-keygen.js b/cli/tests/node_compat/test/parallel/test-crypto-secret-keygen.js
index 098882215..a9db29806 100644
--- a/cli/tests/node_compat/test/parallel/test-crypto-secret-keygen.js
+++ b/cli/tests/node_compat/test/parallel/test-crypto-secret-keygen.js
@@ -1,3 +1,10 @@
+// deno-fmt-ignore-file
+// deno-lint-ignore-file
+
+// Copyright Joyent and Node contributors. All rights reserved. MIT license.
+// Taken from Node 18.12.1
+// This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually
+
'use strict';
const common = require('../common');
if (!common.hasCrypto)
@@ -134,4 +141,4 @@ assert.throws(
assert.throws(() => generateKeySync('unknown', { length: 123 }), {
code: 'ERR_INVALID_ARG_VALUE',
message: /The argument 'type' must be a supported key type/
-}); \ No newline at end of file
+});