From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Date: Tue, 06 Jun 2017 17:58:16 +0000 Subject: Re: [PATCH] security/keys: rewrite all of big_key crypto Message-Id: <14825.1496771896@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit List-Id: References: <20170606173900.29279-1-Jason@zx2c4.com> In-Reply-To: <20170606173900.29279-1-Jason@zx2c4.com> To: "Jason A. Donenfeld" Cc: dhowells@redhat.com, keyrings@vger.kernel.org, Eric Biggers , Herbert Xu , Kirill Marinushkin , security@kernel.org, stable@vger.kernel.org Jason A. Donenfeld wrote: > This commit has been compile-tested only, so I'd appreciate it if > somebody else who actually uses this would test it for functionality, or > if somebody into the kernel's crypto API would check that it's been done > correctly. You need to test it. You can do this with: dd ... | keyctl padd big_key fred @s This will print a key ID. Then you can retrieve the contents with: keyctl pipe | ... David From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:32904 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751405AbdFFR6T (ORCPT ); Tue, 6 Jun 2017 13:58:19 -0400 From: David Howells In-Reply-To: <20170606173900.29279-1-Jason@zx2c4.com> References: <20170606173900.29279-1-Jason@zx2c4.com> To: "Jason A. Donenfeld" Cc: dhowells@redhat.com, keyrings@vger.kernel.org, Eric Biggers , Herbert Xu , Kirill Marinushkin , security@kernel.org, stable@vger.kernel.org Subject: Re: [PATCH] security/keys: rewrite all of big_key crypto MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <14824.1496771896.1@warthog.procyon.org.uk> Date: Tue, 06 Jun 2017 18:58:16 +0100 Message-ID: <14825.1496771896@warthog.procyon.org.uk> Sender: stable-owner@vger.kernel.org List-ID: Jason A. Donenfeld wrote: > This commit has been compile-tested only, so I'd appreciate it if > somebody else who actually uses this would test it for functionality, or > if somebody into the kernel's crypto API would check that it's been done > correctly. You need to test it. You can do this with: dd ... | keyctl padd big_key fred @s This will print a key ID. Then you can retrieve the contents with: keyctl pipe | ... David