From owner-freebsd-questions@freebsd.org Fri May 19 15:14:23 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1620D7384B for ; Fri, 19 May 2017 15:14:23 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FACA128B for ; Fri, 19 May 2017 15:14:23 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr0-x242.google.com with SMTP id w50so3269495wrc.0 for ; Fri, 19 May 2017 08:14:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=C+PljaU8+oBS06v2/pbqhXfCoEczg0blsIlUU8pg35M=; b=XrNL1MfP6SlFvILq+VR5tcTYAqsn+IYlPdW5cr/A6yRWeIy8XVznTala3kdap1eHc6 Dz9GjEdq7Svj9fKsFq+eqmh8l7Pqc/YIQpjVmNM/motM23+0CvhJptJAtRZywYeUuWII sxs1SmE3m9NRCH+WUF6acI5YhJy9aoXnnY8D/Qab3ilrHtJkPDZiJmrNKx3AuW5gaVvW ELGcWKu0eDnKYTOk+9/moEZD4XPJg5cYvexL0XEOZ4bPs+SxULboHmeRFAnT4prROWCI OpAYR7/3KagOUTAf7V3r4gaALHrdKQQI9EaEiBICf9FgjLEQqLf64J4DSauT8TGr9SSt 76BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=C+PljaU8+oBS06v2/pbqhXfCoEczg0blsIlUU8pg35M=; b=WLA/v+7Ek+hIfdil0nAIK6PDXD/vZ5xivBHQ30+aNGdX7HYv52QItQx4iZCcI8OLBS kE0vxnZAnjJ4OiVAkUUuufmdL96OslAV+vgo3tZ9eKQKdDOW0U8G0i33Sqd1mVrZZq5m G2tzJC8Q4/HFVKLi2f2AKCMbcrGtuV7Oa8yhYjbxk3+H4zUobWS7GalUwtFsEEXCZZoq fvuDkBmolHCheVHO7+3QyViE7X+ozvbp3VzP/a94PTzz1d9gKr+er1swEcOwf3Ia3VF5 m3p9Vg3ZzQH9QWJ480UfEU9AXibIjy+CTEK6hvsdrWsGyrg2jzghkNIHOdPyxMBjhbrr 9mwA== X-Gm-Message-State: AODbwcAsZat9u0BmrDDtrDMKVrK0HijKREMRsduwMAsBKXhqVRqv0U0A DOuRbbQQuCFbJ10E X-Received: by 10.223.128.203 with SMTP id 69mr3105518wrl.129.1495206860830; Fri, 19 May 2017 08:14:20 -0700 (PDT) Received: from gumby.homeunix.com ([81.17.24.158]) by smtp.gmail.com with ESMTPSA id 137sm9998711wmi.19.2017.05.19.08.14.18 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 May 2017 08:14:19 -0700 (PDT) Date: Fri, 19 May 2017 16:14:16 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: GnuPG smart card && geli Message-ID: <20170519161416.68df0fc8@gumby.homeunix.com> In-Reply-To: <20170519101806.1674fda0@gecko4> References: <20170517103822.GB16462@c720-r314251> <20170519101806.1674fda0@gecko4> X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; amd64-portbld-freebsd10.3) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2017 15:14:23 -0000 On Fri, 19 May 2017 10:19:06 -0400 mfv via freebsd-questions wrote: > >This would lead to a system (netbook) which never can be booted or > >otherwise data read from and you can only boot it with the USB boot > >key, the USB GnuPG-card and the PIN (normally 6 digits). 6 digits doesn't sound very secure. > >Any comments on this? > > > > matthias > > > > Hello Matthias, > > I agree with your idea. Some time ago I did some research to find out > a method to read the password from a USB memory stick but was not > successful. I was not concerned with disk encryption, just wanted a > very long password, automatic login and no system access without a > hardware key. A geli device can be set-up to use a passphrase and/or a passfile. You could just put the passfile on a memory stick and not use a passphrase at all. FWIW I use a passfile to attach geli encrypted partitions, but the passfile is stored in a small geli encrypted file-backed md device that's passphrase protected. I did this just to avoid having to type any more than I need to, but that backing file could just as easily be on a memory stick.