X-Original-To: alpine-user@lists.alpinelinux.org Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by lists.alpinelinux.org (Postfix) with ESMTP id A66475C4E85 for ; Mon, 5 Mar 2018 09:18:00 +0000 (GMT) Received: by mail-wm0-f52.google.com with SMTP id i3so13923781wmi.4 for ; Mon, 05 Mar 2018 01:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=0r1IQOJ/ixiYRSvhyy8jLk0fsdL2tE8+UmYBdp2NUzY=; b=T9mdOes/LUPW2YlL8By32XDwUAJIv1rS34ZffnN7MPXMyNgRD097imUpHAvg5+wdgs o1WvDr16OJYZDqzVrJHCBKHDL8uEuOcFxla4XHCeRvr/0hyk6bO+9EEOjyoxa+ZFC/bs 5TqZ96iv8Wpb650mPuRZCCAhgxrzdv9IRxixDa17KX1zHizq0Bed5vHwAe0uHUQNlTwN HH8T2cMxtIa4INChZJpDWRKdw9GM+chWM1lQ7GRl4rmC4+d+NH/dkgd48bCT2e4xuHIL fR3L7pX8jk2rb+5k3cUAhla4lDviMM1IEjLnDmyU1xAFjn6Fvo2YUNAtmxqBwHrlvWM7 CSFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0r1IQOJ/ixiYRSvhyy8jLk0fsdL2tE8+UmYBdp2NUzY=; b=ChtX7TJh50JWwpNM2gv+kyQkyeyaO+3M+NTYNShMZlP5NLiYpK4N3XfKXSFp2iIJjS ROZm9ggjnGA+Xvj8E+IvBK1gi3B8UaJ6m2xS3VNEpv+ATa35uoUpMRdK+Ob6pJYaPQIg YrV9RW20LT1sua5f4SllnuH7aIMN9i8x3hFyxRsiWdxV44d2Cj2I1HTAPxTff5udEIZg yC9TkrBm5FGmACFBA1v3qBLlJKZNK31s2ubkX3EL35n//XXplZDQ0Ns3+HMNkhVZEG4D MAZStXCwqCdRH4fNF/0ot7qe8q57mJ9b+ct9HUf2kjmGBytFkc2HpbUXNBf5Be4xIdNr E/nQ== X-Gm-Message-State: AElRT7GknWF9Kx2c2/tDWPgNsvMn4+eOa5egAMZpQRithyeN3DBcs6P9 QhCccmk1NOPGQaQ69uwKZyltbFOMhq6q/+bY+dbX7g== X-Google-Smtp-Source: AG47ELvYScs4y1CpQJvxbd5PuyTi8JnEVAnU7fxzvdE+mZmQr+SwkKBNZPViRj3t1TPoCvFaXVHKF/61LQwnV6mW3Ng= X-Received: by 10.28.1.208 with SMTP id 199mr7519171wmb.26.1520241479982; Mon, 05 Mar 2018 01:17:59 -0800 (PST) X-Mailinglist: alpine-user Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.223.208.136 with HTTP; Mon, 5 Mar 2018 01:17:59 -0800 (PST) From: Dave Jones Date: Mon, 5 Mar 2018 17:17:59 +0800 Message-ID: Subject: [alpine-user] How to automount a luks encrypted volume using keyfile on system start? To: alpine-user@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="001a113c6fd06322360566a6cd1e" --001a113c6fd06322360566a6cd1e Content-Type: text/plain; charset="UTF-8" Hi, I followed the following steps to set up encrypted volumes with LUKS and it works fine: http://wiki.alpinelinux.org/wiki/LVM_on_LUKS I'd like to use keyfile to automount a luks encrypted volume. I tried to added the line "lvmcrypt /dev/vda2 /etc/mykeyfile luks" to /etc/crypttab, then run "mkinitfs" to regenerate initramfs, but it doesn't work. Still prompts for passphrase :( Anyone has idea to how to? Thanks. Regards, Dave --001a113c6fd06322360566a6cd1e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I followed the following steps to set= up encrypted volumes with LUKS and it
works fine:
http://wiki.alpinelinux.org/wiki/LVM= _on_LUKS

I'd like to use keyfile to automount a luks encrypt= ed volume.=C2=A0 I tried to
added the line "lvmcrypt /dev/vda2 /etc= /mykeyfile luks" to /etc/crypttab,
then run "mkinitfs" to= regenerate initramfs, but it doesn't work.
Still prompts for passph= rase :(=C2=A0 Anyone has idea to how to?=C2=A0 Thanks.

Regards= ,
Dave
--001a113c6fd06322360566a6cd1e-- --- Unsubscribe: alpine-user+unsubscribe@lists.alpinelinux.org Help: alpine-user+help@lists.alpinelinux.org ---