Received: from mail.redxen.eu (chisa.nurnberg.hetzner.redxen.eu [157.90.22.104]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 01581782C53 for <~alpine/devel@lists.alpinelinux.org>; Tue, 10 Aug 2021 15:21:45 +0000 (UTC) Received: from localhost (karu.nurnberg.hetzner.redxen.eu [157.90.160.106]) by mail.redxen.eu (RedXen Mail Postfix) with ESMTPSA id 7EFC55FA59; Tue, 10 Aug 2021 15:21:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=redxen.eu; s=2021.05.31.01-mail; t=1628608904; bh=fmY7/MeLgUyWHDFQ69jFWsJrl2HOu7VJyrhzF2uschE=; h=Date:To:Cc:Subject:From:References:In-Reply-To; b=RubwIqp8fGzdNAQYsDWJ19l4yL6+vqVuEslY/Vtr9Jzn54eUiMMAsS4Ph4yG70Vi6 QHApFUW5RYisCIOYOsoqgEdU4P5IHdQcTulPUUCCfQo2tpx7eFQNPrdzcpKk2OAvVt VCZEIC6WCQkxFX+r4TH+1qVJiDgnsxWvRfqocoEQpuWB5s1btsN8YjFhJyoWB0+Ibq fRpg2i3OGLIA+AN5DImNFJJwhVffEW3wM2pbeQuRuRTDRH2EN8AJF5lvm2PHQSDL4L dsMVjvnNJi4C6rEWisCemlLDJ6b4K7UAU5VfweBt8OJU10gbM3zkmGU1yJ3AuhgoKF FvFWsM2lIqc6w== Date: Tue, 10 Aug 2021 15:21:44 +0000 To: Krystian =?UTF-8?Q?Chachu=C5=82a?= Cc: ~alpine/devel@lists.alpinelinux.org, Drew DeVault Subject: Re: [PATCH v7] Support encrypted root in setup-disk From: caskd References: In-Reply-To: Message-Id: <2CKPXDT9FB3NU.2XPDQDSV65TME@unix.is.love.unix.is.life> User-Agent: mblaze/20210212-175-g8dd82197f3 MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="----_=_433b703f6aae75a9227bcf5b_=_" Authentication-Results: mail.redxen.eu; auth=pass smtp.auth=caskd smtp.mailfrom=caskd@redxen.eu This is a multipart message in MIME format. ------_=_433b703f6aae75a9227bcf5b_=_ MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_747147c8708ea9b67d1c4f7c_=_" This is a multipart message in MIME format. ------_=_747147c8708ea9b67d1c4f7c_=_ Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > > + cryptsetup open "$dev" "$dmname" >&2 > > > + echo "/dev/mapper/$dmname" > > I would check that the device is unlocked properly here and if not, > > prompt for a retry. >=20 > Is this really needed? cryptsetup open prompts for a retry when it fails.= Oh right, i have forgot about that. In that case the format should use the = -y argument so that the entire setup doesn't have to be restarted due to a = mistyped password during the format. --=20 Alex D. RedXen System & Infrastructure Administration https://redxen.eu/ ------_=_747147c8708ea9b67d1c4f7c_=_-- ------_=_433b703f6aae75a9227bcf5b_=_ Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQJEBAABCAAuFiEE2k4nnbsAOnatJfEW+SuoX2H0wXMFAmESmXkQHGNhc2tkQHJl ZHhlbi5ldQAKCRD5K6hfYfTBc6BTD/9Alc4BwO+gLw/Ly6BKAo/orQ84kLXpxbAu IlCe7H3Smjp+eokXzCa8qDnLfcBYHJCunwozchfbRQH0sf6IgRhMJhz9BsjYe+3c lWeJ4DlJURuBxsV3sO9NXdEZZ5/Z6nWQH47cjkkM0dm26Qhn7UG4qPpQbbA9rbei 5W7zKZGpku4FJN15BLu3+JFVg3UY2i8YhcK+zb/nwqyF6WSdJQqM71rUVzKttIZV +MQQ9eo8tDU8uQukMPwy+OfFu3filIKZkUv2RiQRwurhpVQ2VMAABsSVdnl7lpft AsC6rFV6RX/a1rSJ3f3NVIPtKu8EO6S61ZVSyc86Uw3zVVfoFbAiofh+kGC9Hox9 foNumyVrs0pRNUTcltU29Xl1MaT4pREjXGr0Z2SR3ac9JVOgy1Zz0b92Id/eoiNo 1SmxJhEo4QJgraO7TL/6nED6yypXC2Z+tQ/jaKNHrPOKG8H+LOUm8oUb0SqHXOL5 +qm7ptgJtShDc4desAeeRw1aHGlrAK5va5l0zD1qs9z2i/fC5AT/2hNtYOARTUUe h6bGZOYzRpYUxv6v6StgE5xsGYbxk2rWL/ol+6ShZSbb4J9gCMZbwKxFrO8f0wck IOqwQbQacvoJA3EEppQ/07YoXeaJhm3v4cR/ewNBn92Hc9KCqxY2/CIH2fdx318N GcGQ3XZ1gw== =z65w -----END PGP SIGNATURE----- ------_=_433b703f6aae75a9227bcf5b_=_--