X-Original-To: alpine-devel@lists.alpinelinux.org Received: from mail-wr0-f172.google.com (mail-wr0-f172.google.com [209.85.128.172]) by lists.alpinelinux.org (Postfix) with ESMTP id 563315C4F58 for ; Sun, 15 Apr 2018 14:59:39 +0000 (GMT) Received: by mail-wr0-f172.google.com with SMTP id u46so19254156wrc.11 for ; Sun, 15 Apr 2018 07:59:39 -0700 (PDT) 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=/9DfyW1+Lfw2ra8FzQejIKp4L0fsOv3wZs10oK6EgUw=; b=ldPAL4hzWFGakb+M9y7yOLhn3P/Xbx2wx/dz1f/w7evC5kiaKvgP4SopofQvHzShhf gtKnnfikl6tj4AcnkAeStbzoDZKYOvA4IFhb6wcZIadFwLp9xh4hnnNeugXIrbBeYq/k XUl0orBmqTkOywpzTCGQSSzZwOosADV5bt4IQH5woFdX8fGwEnN75yTSG6KXd+7pMVFB aUyVHRbji+aP1jOXKZM9ZuVdySE2pPXjkZ88vg4UbLcokmP8WSVrjBvt1Ak6qROZXetP BiPmjBTBfqPiQShkrLDUkYq6sptYsaDuw2TAQ8TrFkYzsaPlyLV6Zh0axwaNBV/SopZQ FMNg== 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=/9DfyW1+Lfw2ra8FzQejIKp4L0fsOv3wZs10oK6EgUw=; b=QlDsXpl5rWCEIpERNsdXuC+m7MclkbN71RwRHXPKz1qdm6NzeK4D03sEjEGcdYAAth cu5e0ugN6ZW9ZXja+4h8tzZKNYdqI/Q8k1HP2AtIqmoz1nwPMIhPQ8sLJU/7zWRCtDna JaUwx4A2eC75UWuCpCUdAVBZNg1y1SYYH1GOH/zexlFtsxfj0St7W3bmoWSGC1mdtHPS 4hJ1AphZOnlU4jjFg6GdiDScXB49+IJ5L3J78V3TfVhtcUhxx1ppbHBdxJXGz7Dqiw4z AUBOQwwVmbnypsoVST/C2llEe+NQLPRc/MhX+C4+qANZrrlejJ3oX2C3W+EYrLgwpETP UzYA== X-Gm-Message-State: ALQs6tB8cekOW5bMPQxYbZZEPj0GSq+BU4PTt1Rd1Wg3+jGb4EPJkb1i n8vO0jPHDlBsR77kFqfqG+4G2vGhmFQsM5horzGygg== X-Google-Smtp-Source: AIpwx4/zFVYGO7uXyjjTUBLqte8XInFeNK6hMecPXSD9/V2r7/tI2vG2ja2uhMMzY4YWos/vb17sHupx6SU3JLwSqr4= X-Received: by 10.223.135.18 with SMTP id a18mr7870263wra.216.1523804378545; Sun, 15 Apr 2018 07:59:38 -0700 (PDT) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Received: by 10.223.161.69 with HTTP; Sun, 15 Apr 2018 07:59:37 -0700 (PDT) From: Dave Jones Date: Sun, 15 Apr 2018 22:59:38 +0800 Message-ID: Subject: [alpine-devel] How to automount a luks encrypted volume using keyfile on system start? To: alpine-devel@lists.alpinelinux.org Content-Type: multipart/alternative; boundary="001a1146d13ab0c5cd0569e45a66" --001a1146d13ab0c5cd0569e45a66 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 --001a1146d13ab0c5cd0569e45a66 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --001a1146d13ab0c5cd0569e45a66-- --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---