File 0870-common_test-Add-modern-ssh-host-keys-to-ct_netconfc_.patch of Package erlang

From 9c7a1250b30b4972877c62ab3417d7917577e32b Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Wed, 18 Mar 2020 13:08:27 +0100
Subject: [PATCH] common_test: Add modern ssh host keys to ct_netconfc_SUITE

---
 .../ssh_dir/ssh_host_ecdsa_key                     |  5 ++++
 .../ssh_dir/ssh_host_ecdsa_key.pub                 |  1 +
 .../ssh_dir/ssh_host_ed25519_key                   |  7 ++++++
 .../ssh_dir/ssh_host_ed25519_key.pub               |  1 +
 .../ssh_dir/ssh_host_rsa_key                       | 27 ++++++++++++++++++++++
 .../ssh_dir/ssh_host_rsa_key.pub                   |  1 +
 6 files changed, 42 insertions(+)
 create mode 100644 lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key
 create mode 100644 lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key.pub
 create mode 100644 lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key
 create mode 100644 lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key.pub
 create mode 100644 lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key
 create mode 100644 lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key.pub

diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key
new file mode 100644
index 0000000000..3c4f2511e3
--- /dev/null
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key
@@ -0,0 +1,5 @@
+-----BEGIN EC PRIVATE KEY-----
+MHcCAQEEIGOpCH9PXImAb4f6KaRMmk+qu48TxeYRyE0OwjLAF6nsoAoGCCqGSM49
+AwEHoUQDQgAE/hLY0r6Jm2305buEMWohEO0tvuf3pvVQ/DmJ1P2Mjyh9MTZJjb7q
+ciLVXS565yiuZZ5hBDun4kjPk2Uk50PbPA==
+-----END EC PRIVATE KEY-----
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key.pub b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key.pub
new file mode 100644
index 0000000000..83745f2f70
--- /dev/null
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ecdsa_key.pub
@@ -0,0 +1 @@
+ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP4S2NK+iZtt9OW7hDFqIRDtLb7n96b1UPw5idT9jI8ofTE2SY2+6nIi1V0ueucormWeYQQ7p+JIz5NlJOdD2zw= uabhnil@elxadlj3q32
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key
new file mode 100644
index 0000000000..b5d1caac6e
--- /dev/null
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key
@@ -0,0 +1,7 @@
+-----BEGIN OPENSSH PRIVATE KEY-----
+b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
+QyNTUxOQAAACDulNEQ8e5932nxfsjvAqamGARz4kCimQoEDoXMvXwMbwAAAJjL1zxIy9c8
+SAAAAAtzc2gtZWQyNTUxOQAAACDulNEQ8e5932nxfsjvAqamGARz4kCimQoEDoXMvXwMbw
+AAAEBduLyMCbEq12IBJyO/tUAhFuV62Upb7Z4i2cjLmzm6nO6U0RDx7n3fafF+yO8CpqYY
+BHPiQKKZCgQOhcy9fAxvAAAAE3VhYmhuaWxAZWx4YWRsajNxMzIBAg==
+-----END OPENSSH PRIVATE KEY-----
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key.pub b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key.pub
new file mode 100644
index 0000000000..433cf5c3dc
--- /dev/null
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_ed25519_key.pub
@@ -0,0 +1 @@
+ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO6U0RDx7n3fafF+yO8CpqYYBHPiQKKZCgQOhcy9fAxv uabhnil@elxadlj3q32
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key
new file mode 100644
index 0000000000..4154ede882
--- /dev/null
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key
@@ -0,0 +1,27 @@
+-----BEGIN RSA PRIVATE KEY-----
+MIIEogIBAAKCAQEA11eaLZ1RQ7RU8Snmm5ruA4v1sn/PRBuBqOTZK6IPSDoQeMjO
+QD/pk4fG5VZMouSEZQFmp1qgRQH+kPd316DR8c1Mf0sEMm0Y15EOzQDp22pXIhx0
+SxL0KJfnhb2zcPUX21vBJwYgmG9rX52LGYLBB6SteYdmNUjEjtPnTpd/4RPrQ1am
+/M3sQogpncWHDfm27OJSWIn6HSRW8YmIfzqacN00gs6LdkdqrMUjOE47MO8w5E5L
+8ddefQ6DkCiFCqjYqngeH18dYDHkt3iUw7DKnf8AmhI1HmMPnsa+SwU81eOVBij4
+VhBxjHS287kbKaH/DdE2zY2gcub1Gn6O5JZaowIDAQABAoIBAAjvIn9n+nojni6P
+PXkROXS+NshcEx5RQdTfAb+UrquhdRN9yUjTHf638GGNbgqIDpIeN8MTuHiEd6pO
+ChPRIUS17smNNDRfYFt5MjMBKbKnu8u3gH+o3qZcfweGck5qbL32FZJn56xLWxoR
+cDbzvMxzYZscKfpl9XmzgvI4yN5u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DohTiz0SnwQiXXg=
+-----END RSA PRIVATE KEY-----
diff --git a/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key.pub b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key.pub
new file mode 100644
index 0000000000..f24e046209
--- /dev/null
+++ b/lib/common_test/test/ct_netconfc_SUITE_data/ssh_dir/ssh_host_rsa_key.pub
@@ -0,0 +1 @@
+ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXV5otnVFDtFTxKeabmu4Di/Wyf89EG4Go5Nkrog9IOhB4yM5AP+mTh8blVkyi5IRlAWanWqBFAf6Q93fXoNHxzUx/SwQybRjXkQ7NAOnbalciHHRLEvQol+eFvbNw9RfbW8EnBiCYb2tfnYsZgsEHpK15h2Y1SMSO0+dOl3/hE+tDVqb8zexCiCmdxYcN+bbs4lJYifodJFbxiYh/Oppw3TSCzot2R2qsxSM4Tjsw7zDkTkvx1159DoOQKIUKqNiqeB4fXx1gMeS3eJTDsMqd/wCaEjUeYw+exr5LBTzV45UGKPhWEHGMdLbzuRspof8N0TbNjaBy5vUafo7kllqj uabhnil@elxadlj3q32
-- 
2.16.4

openSUSE Build Service is sponsored by