From f22790641d80c02b39fe7a5a5598114c12cbeb8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?=
 <frederic.dalleau@collabora.com>
Date: Wed, 5 Jun 2019 10:41:21 +0000
Subject: [PATCH] Generate private keys in PEM format
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Currently paramiko do not support Keys in RFC4716 format that
have landed with the buster update.
So any keys need to be generated in legacy PEM format.

Fixes: APERTIS-5932
Signed-off-by: Frédéric Dalleau <frederic.dalleau@collabora.com>
---
 test-cases/sdk-ade-remote-debugging.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-cases/sdk-ade-remote-debugging.yaml b/test-cases/sdk-ade-remote-debugging.yaml
index 45cfb86..7640d64 100644
--- a/test-cases/sdk-ade-remote-debugging.yaml
+++ b/test-cases/sdk-ade-remote-debugging.yaml
@@ -40,7 +40,7 @@ run:
     - "Install an ARM 32bit sysroot on the host"
     - $ ade sysroot install
     - "Enable key-based SSH login on the target device"
-    - $ ssh-keygen
+    - $ ssh-keygen -t rsa -m PEM
     - $ ssh-copy-id USER@HOST
     - "Clone the source code for the HelloWorld sample agent on the SDK host"
     - $ git clone https://gitlab.apertis.org/sample-applications/helloworld-simple-agent
-- 
GitLab