From nobody Sun Sep 05 15:27:28 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 000E517B31C1; Sun, 5 Sep 2021 15:27:41 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4H2b4r5p7qz3HxM; Sun, 5 Sep 2021 15:27:40 +0000 (UTC) (envelope-from greg@unrelenting.technology) Date: Sun, 05 Sep 2021 18:27:28 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=unrelenting.technology; s=key1; t=1630855653; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/Urz+2lwHIbkJFZgjokVC4VZ+k482nFPYL+msD6JHZY=; b=FE17WBAlkcRxifTEDZUUY7jRVx6+470sX+DBAMmbtwfk2XcrjKN40pSeS0rs74VtHcJKb8 V7fb2oZ2EpLgzJq471tVtW0r4VC5wn9j2wt7DbnLRQq/Y9Qg4MDfozWqY0YOyCCGUhAgdc oA4JWmtBNUJydCcQVk6E5tUvVj1vrXrsuhAtl+fS7ExlU29yWkexudva/mmUvteDKLPh9k Bgu3knvEOLORq2YJcq0V+ffxW9dMknaVkoF10VrfSccaSSdnKi5nv7VJyYe35ECUO/VVlH FVdCnzZZ5V2GveK0kTEJPhjrwd/HbkZMtLq44v03Rnzxp5CaturTKIhG1806Ng== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. To: freebsd-current@freebsd.org, Eric McCorkle , FreeBSD Hackers Subject: Re: PAM module for loading ZFS keys on login In-Reply-To: References: Message-ID: <67F44CFE-2496-4B13-8583-8A80D9ED3A4A@unrelenting.technology> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: greg@unrelenting.technology X-Rspamd-Queue-Id: 4H2b4r5p7qz3HxM X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Reply-To: greg@unrelenting.technology From: Greg via freebsd-current X-Original-From: Greg X-ThisMailContainsUnwantedMimeParts: N On September 5, 2021 4:54:26 PM GMT+03:00, Eric McCorkle wrote: >All, > >This patch creates a new PAM module that will load a ZFS key upon a >successful login: https://reviews=2Efreebsd=2Eorg/D31844=2E It will use = the >user's auth token as the key argument to loading a ZFS encryption key on >a user-specific ZFS data set=2E There's already an upstream module which I've attached to the build in htt= ps://reviews=2Efreebsd=2Eorg/D28018 Any particular reason to write a custom one?