From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Biggers Date: Wed, 29 May 2019 22:11:53 +0000 Subject: Re: [GIT PULL] keys: Miscellany Message-Id: <20190529221152.GD141639@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit List-Id: References: <18289.1559167295@warthog.procyon.org.uk> In-Reply-To: <18289.1559167295@warthog.procyon.org.uk> To: David Howells Cc: James Morris , keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org On Wed, May 29, 2019 at 11:01:35PM +0100, David Howells wrote: > > (2) Implement a keyctl to allow a key to be moved from one keyring to > another, with the option of prohibiting key replacement in the > destination keyring. > What is the use case, and where are the tests and documentation for this? - Eric From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: * X-Spam-Status: No, score=1.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FSL_HELO_FAKE,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A5D44C28CC0 for ; Wed, 29 May 2019 22:11:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 790F624262 for ; Wed, 29 May 2019 22:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559167916; bh=yyCYB5nepYomhKdtZmDXoTT2rs0Aa58mNTc+P7MYo7k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=jFI6Sxf0Lh1mtMyJEcoGVvLj9hXiC0oGyaRA/kWgu8nGTaBIlLS0BoD8GmIkEMBQN rBEzsCNGgm6EyCpDjGAP/9qexHTYhitu8Aqrc9v6fjmuNY7R0+Ko4L8mlg0nTem+UL 9NpR8AOgv9KnAJnJRE3ZgxRqSwnY+m1cY7Z5zT7c= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726541AbfE2WL4 (ORCPT ); Wed, 29 May 2019 18:11:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:50854 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726240AbfE2WLz (ORCPT ); Wed, 29 May 2019 18:11:55 -0400 Received: from gmail.com (unknown [104.132.1.77]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 26B5A24267; Wed, 29 May 2019 22:11:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559167915; bh=yyCYB5nepYomhKdtZmDXoTT2rs0Aa58mNTc+P7MYo7k=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=WGaSEB+h1N8d0nvnlbVB8O7cKkzk/s61qeRNaFiP6we0HZk4qnDCkxmbolDlrsSPo NkoZdV+a3OtanpzHsvtdHV9XPR74TEaccnL/7sZVLTOodEZhAZROZHwq+p1uWcggKm USFimOC4sbJ1dp2TNhZfX3GwWJiloNvTtNp8nxTU= Date: Wed, 29 May 2019 15:11:53 -0700 From: Eric Biggers To: David Howells Cc: James Morris , keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] keys: Miscellany Message-ID: <20190529221152.GD141639@gmail.com> References: <18289.1559167295@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18289.1559167295@warthog.procyon.org.uk> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: owner-linux-security-module@vger.kernel.org Precedence: bulk List-ID: On Wed, May 29, 2019 at 11:01:35PM +0100, David Howells wrote: > > (2) Implement a keyctl to allow a key to be moved from one keyring to > another, with the option of prohibiting key replacement in the > destination keyring. > What is the use case, and where are the tests and documentation for this? - Eric