From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 18 Oct 2021 08:28:23 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mcM8F-0004oG-G5 for lore@lore.pengutronix.de; Mon, 18 Oct 2021 08:28:23 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mcM8F-0005hR-08; Mon, 18 Oct 2021 08:28:23 +0200 Received: from enterprise02.smtp.diehl.com ([193.201.238.220]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcM7M-0005h5-Uc for ptxdist@pengutronix.de; Mon, 18 Oct 2021 08:27:30 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=diehl.com; i=@diehl.com; q=dns/txt; s=default; t=1634538449; x=1666074449; h=from:to:subject:date:message-id:references:in-reply-to: content-id:content-transfer-encoding:mime-version; bh=Ol7fbuNjLwZKQD8GCaTZ9I/7pvYI1YJPrhsxvUr/13Q=; b=NBBC/Tvy2DR5mJtCXmlWq/fqdiklJbzkLULE+vU5qgo5S4c9VHWw8TUA 45DheBVdg0lV1ooWh8youxvvfNCoTKtx8nwfXmZTsO66nHnRyrmbvpoQF pCBmVLk1+MCE+x+6x5ynf0tYIqN5AuX8bnqo5eaiKo/DUG+bICWShN9+l NxR3nXEGSJPxEgtAilJJvHd7OY9/qGi8kG3qGT4JdjRnA/7lskZ9rDfvv atcTTxV/+QO4y8Tg/uvNnUIjsUC8tjlXX4P06P3vkA0q8h+nhdqj14Vn+ 3Lzscv9iQ00Gr+zVauZOAwPv55tnIK2jChvsE8zAiiyw2p2bD10Jz1tHb A==; IronPort-Data: A9a23:WFWOuKwXhuaai3W2HzN6t+etxCrEfRIJ4+MujC+fZmUNr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DVhlsmEbxqX0+kfQLh3gaSocaYK85l/1qwGpFVJMbWC7q4oEuF+ djSMvG4uxNbF+cZ3fF+mFy3d2lRB0Ib1m7a1lHvtbQ3yldnXh/wUddztcYhG0c+JU0TIQB7/ jYM75viKpFQqYtHONA7K5oe7r0NoS6KSi8dV57Dz/cZeU60zOkke+23F1DjNvaO6Dh7PAJ6d P8uZNjxBsPkzGHM7zJ4HRmyGGyfIyNZ0We9igF3ekHhlTVfsubDcWAIGpeyvednw== X-IronPort-AV: E=Sophos;i="5.85,381,1624312800"; d="scan'208";a="17168647" From: Denis Osterland-Heim To: "ptxdist@pengutronix.de" Thread-Topic: [ptxdist] [RFC PATCH] rc-once: openssh: Do not overwrite existing keys Thread-Index: AQHXvp8jY/RnKv9abEabHn66QjXywqvT6FOAgAAIWQCABEL8gA== Date: Mon, 18 Oct 2021 06:27:26 +0000 Message-ID: <163d693d15eb799842302a50beb7acda2ce7a264.camel@diehl.com> References: <20211011125401.30402-1-ada@thorsis.com> <20211015125245.GD2239952@pengutronix.de> <2079639.0kxC3BAhfv@ada> In-Reply-To: <2079639.0kxC3BAhfv@ada> Accept-Language: de-DE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: Evolution 3.28.5-0ubuntu0.18.04.2 x-ms-exchange-messagesentrepresentingtype: 1 x-disclaimerprocessed: True Content-ID: <15B1969249995C41BF3ABFABBB93E237@diehl.internal> MIME-Version: 1.0 X-GBS-PROC: 5x5xXKsZ7k4sJw6jWwvS4nTMpKqTd/gl7hyRippfMsCIKH7bqTb000Kb1PRm4tGO X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-105.7 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,USER_IN_WELCOMELIST, USER_IN_WHITELIST autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [RFC PATCH] rc-once: openssh: Do not overwrite existing keys X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false SGksDQoNCkkgdGhpbmsgYSBjaGVjayBpZiB0aGUgdGhlIGZpbGUgZXhpc3RzIHdvdWxkIGJlIHN1 ZmZpY2llbnQsDQppZiB0aGUga2V5IGlzIGdlbmVyYXRlZCB0byBhIHRlbXBvcmFyeSBmaWxlIGZp cnN0Lg0KDQotLS0gYS9wcm9qZWN0cm9vdC9ldGMvcmMub25jZS5kL29wZW5zc2gNCisrKyBiL3By b2plY3Ryb290L2V0Yy9yYy5vbmNlLmQvb3BlbnNzaA0KQEAgLTE5LDcgKzE5LDExIEBAIGNyZWF0 ZV9rZXkoKSB7DQoNCiBlY2hvICJDcmVhdGUgJGtleXR5cGUga2V5OyB0aGlzIG1heSB0YWtlIHNv bWUgdGltZSAuLi4iDQogcm0gLWYgIiRrZXlmaWxlIiAmJg0KLXNzaC1rZXlnZW4gLXEgLWYgIiRr ZXlmaWxlIiAtTiAnJyAtdCAiJGtleXR5cGUiICRrZXlnZW5fYXJncyB8fCByZXR1cm4NCitzc2gt a2V5Z2VuIC1xIC1mICIka2V5ZmlsZS50bXAiIC1OICcnIC10ICIka2V5dHlwZSIgJGtleWdlbl9h cmdzIHx8IHJldHVybg0KK3N5bmMNCittdiAiJGtleWZpbGUudG1wIiAiJGtleWZpbGUiDQorbXYg IiRrZXlmaWxlLnRtcC5wdWIiIC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