Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1577806 > unrolled thread

[PATCH 0/3] KEYS: Fixes

Started byDavid Howells <dhowells@redhat.com>
First post2017-02-09 18:20 +0100
Last post2017-02-10 02:20 +0100
Articles 6 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/3] KEYS: Fixes David Howells <dhowells@redhat.com> - 2017-02-09 18:20 +0100
    Re: [PATCH 0/3] KEYS: Fixes James Morris <jmorris@namei.org> - 2017-02-10 00:10 +0100
      Re: [PATCH 0/3] KEYS: Fixes David Howells <dhowells@redhat.com> - 2017-02-10 01:00 +0100
        Re: [PATCH 0/3] KEYS: Fixes James Morris <jmorris@namei.org> - 2017-02-10 02:30 +0100
          Re: [PATCH 0/3] KEYS: Fixes David Howells <dhowells@redhat.com> - 2017-02-10 09:50 +0100
    Re: [PATCH 0/3] KEYS: Fixes James Morris <jmorris@namei.org> - 2017-02-10 02:20 +0100

#1577806 — [PATCH 0/3] KEYS: Fixes

FromDavid Howells <dhowells@redhat.com>
Date2017-02-09 18:20 +0100
Subject[PATCH 0/3] KEYS: Fixes
Message-ID<t90xX-vh-15@gated-at.bofh.it>
Hi James,

Can you pull these patches into your next tree please?  They include the
following:

 (1) Fix sign-file for use with libressl.

 (2) Fix error production in request_master_key().

 (3) Explicitly zero-out secret data before freeing it in case gcc
     optimises memset() away in future.

I don't think there's anything urgent enough here to warrant handing
directly to Linus.

The patches can be found here also:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes

Tagged thusly:

	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
	keys-fixes-20170209

David
---
Dan Carpenter (2):
      KEYS: Fix an error code in request_master_key()
      KEYS: Use memzero_explicit() for secret data

Felix Fietkau (1):
      sign-file: fix build error in sign-file.c with libressl


 scripts/sign-file.c                      |    4 +++-
 security/keys/encrypted-keys/encrypted.c |    4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

[toc] | [next] | [standalone]


#1578028

FromJames Morris <jmorris@namei.org>
Date2017-02-10 00:10 +0100
Message-ID<t960G-3Z2-35@gated-at.bofh.it>
In reply to#1577806
On Thu, 9 Feb 2017, David Howells wrote:

> 
> Hi James,
> 
> Can you pull these patches into your next tree please?  They include the
> following:
> 
>  (1) Fix sign-file for use with libressl.
> 
>  (2) Fix error production in request_master_key().
> 
>  (3) Explicitly zero-out secret data before freeing it in case gcc
>      optimises memset() away in future.
> 
> I don't think there's anything urgent enough here to warrant handing
> directly to Linus.
> 
> The patches can be found here also:
> 
> 	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes
> 
> Tagged thusly:
> 
> 	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
> 	keys-fixes-20170209

I'm getting this:

$ git pull 
git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git keys-fixes-20170209
fatal: Couldn't find remote ref keys-fixes-20170209


-- 
James Morris
<jmorris@namei.org>

[toc] | [prev] | [next] | [standalone]


#1578057

FromDavid Howells <dhowells@redhat.com>
Date2017-02-10 01:00 +0100
Message-ID<t96N3-4gQ-13@gated-at.bofh.it>
In reply to#1578028
James Morris <jmorris@namei.org> wrote:

> > Tagged thusly:
> > 
> > 	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
> > 	keys-fixes-20170209
> 
> I'm getting this:
> 
> $ git pull 
> git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git keys-fixes-20170209
> fatal: Couldn't find remote ref keys-fixes-20170209

Ummm...  I can see it in the web interface for the branch:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes

and the tag itself:

	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/tag/?h=keys-fixes-20170209

It works for me:

	warthog>git pull git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git keys-fixes-20170209
	remote: Counting objects: 17, done.
	remote: Compressing objects: 100% (11/11), done.
	remote: Total 17 (delta 13), reused 10 (delta 6)
	Unpacking objects: 100% (17/17), done.
	From git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
	 * tag               keys-fixes-20170209 -> FETCH_HEAD
	Merge made by the 'recursive' strategy.
	 scripts/sign-file.c                      | 4 +++-
	 security/keys/encrypted-keys/encrypted.c | 4 ++--
	 2 files changed, 5 insertions(+), 3 deletions(-)

David

[toc] | [prev] | [next] | [standalone]


#1578090

FromJames Morris <jmorris@namei.org>
Date2017-02-10 02:30 +0100
Message-ID<t98c9-5f1-5@gated-at.bofh.it>
In reply to#1578057
On Thu, 9 Feb 2017, David Howells wrote:

> James Morris <jmorris@namei.org> wrote:
> 
> > > Tagged thusly:
> > > 
> > > 	git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
> > > 	keys-fixes-20170209
> > 
> > I'm getting this:
> > 
> > $ git pull 
> > git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git keys-fixes-20170209
> > fatal: Couldn't find remote ref keys-fixes-20170209
> 
> Ummm...  I can see it in the web interface for the branch:
> 
> 	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/log/?h=keys-fixes
> 
> and the tag itself:
> 
> 	http://git.kernel.org/cgit/linux/kernel/git/dhowells/linux-fs.git/tag/?h=keys-fixes-20170209

It works for me on a different vm with a newer version of git, which may 
be the issue (I'm using 1.7.1).


-- 
James Morris
<jmorris@namei.org>

[toc] | [prev] | [next] | [standalone]


#1578304

FromDavid Howells <dhowells@redhat.com>
Date2017-02-10 09:50 +0100
Message-ID<t9f40-140-49@gated-at.bofh.it>
In reply to#1578090
James Morris <jmorris@namei.org> wrote:

> It works for me on a different vm with a newer version of git, which may 
> be the issue (I'm using 1.7.1).

I'm using git-2.7.4

David

[toc] | [prev] | [next] | [standalone]


#1578085

FromJames Morris <jmorris@namei.org>
Date2017-02-10 02:20 +0100
Message-ID<t982u-5bz-13@gated-at.bofh.it>
In reply to#1577806
On Thu, 9 Feb 2017, David Howells wrote:

> 
> Hi James,
> 
> Can you pull these patches into your next tree please?  They include the
> following:
> 
>  (1) Fix sign-file for use with libressl.
> 
>  (2) Fix error production in request_master_key().
> 
>  (3) Explicitly zero-out secret data before freeing it in case gcc
>      optimises memset() away in future.
> 

Applied.


-- 
James Morris
<jmorris@namei.org>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web