2013-07-01 07:53:24

by drankye

[permalink] [raw]
Subject: What's the status of SPKM3/LIPKEY for NFS4 on Linux



Hi all,
 
About 2 years ago, it was asked “when will we be able to use
LIPKEY on NFS4 on Linux?”. Ref. http://permalink.gmane.org/gmane.linux.nfs/35560.
There Trond replied as below:

We're likely to drop the requirement that SPKM3/LIPKEY be a
mandatory
security mechanism for NFSv4 in the revised RFC3530 (a.k.a.
RFC3530bis)
that is being drafted.
 
The reason is that the SPKM3 mechanism (on which LIPKEY
relies) appears
to contain inherent security flaws that are difficult to
fix. The IETF
security group have therefore pretty much killed it as an
option.
Other alternatives to SPKM3 are being discussed, but I'm not
aware of
anything that replaces LIPKEY.

I’m wondering today what’s the status of SPKM3/LIPKEY
support for NFS4 on Linux. Does anyone know that? Is SPKM3/LIPKEY dropped from
NFS4 or available now with the inherent security flaws being fixed?
 
Thank you very much for your update.
 
Regards,
Kai



2013-07-01 15:01:08

by J. Bruce Fields

[permalink] [raw]
Subject: Re: What's the status of SPKM3/LIPKEY for NFS4 on Linux

On Mon, Jul 01, 2013 at 03:47:38PM +0800, drankye wrote:
>
>
> Hi all,
>  
> About 2 years ago, it was asked “when will we be able to use
> LIPKEY on NFS4 on Linux?”. Ref. http://permalink.gmane.org/gmane.linux.nfs/35560.
> There Trond replied as below:
> “
> We're likely to drop the requirement that SPKM3/LIPKEY be a
> mandatory
> security mechanism for NFSv4 in the revised RFC3530 (a.k.a.
> RFC3530bis)
> that is being drafted.
>  
> The reason is that the SPKM3 mechanism (on which LIPKEY
> relies) appears
> to contain inherent security flaws that are difficult to
> fix. The IETF
> security group have therefore pretty much killed it as an
> option.
> Other alternatives to SPKM3 are being discussed, but I'm not
> aware of
> anything that replaces LIPKEY.
> “
> I’m wondering today what’s the status of SPKM3/LIPKEY
> support for NFS4 on Linux. Does anyone know that? Is SPKM3/LIPKEY dropped from
> NFS4 or available now with the inherent security flaws being fixed?

It's gone. (The kernel code was removed by
1e7af1b8062598a038c04dfaaabd038a0d6e8b6a "J. Bruce Fields
<[email protected]>".)

And my understanding is that the flaws were inherent to the
specification and not fixable in implementation.

--b.

>  
> Thank you very much for your update.
>  
> Regards,
> Kai
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

2013-07-02 03:31:36

by Zheng, Kai

[permalink] [raw]
Subject: RE: What's the status of SPKM3/LIPKEY for NFS4 on Linux

VGhhbmsgeW91IEJydWNlIGZvciB0aGUgdXBkYXRlLiANCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdl
LS0tLS0NCkZyb206IGxpbnV4LW5mcy1vd25lckB2Z2VyLmtlcm5lbC5vcmcgW21haWx0bzpsaW51
eC1uZnMtb3duZXJAdmdlci5rZXJuZWwub3JnXSBPbiBCZWhhbGYgT2YgSi4gQnJ1Y2UgRmllbGRz
DQpTZW50OiBNb25kYXksIEp1bHkgMDEsIDIwMTMgMTE6MDEgUE0NClRvOiBkcmFua3llDQpDYzog
bGludXgtbmZzQHZnZXIua2VybmVsLm9yZw0KU3ViamVjdDogUmU6IFdoYXQncyB0aGUgc3RhdHVz
IG9mIFNQS00zL0xJUEtFWSBmb3IgTkZTNCBvbiBMaW51eA0KDQpPbiBNb24sIEp1bCAwMSwgMjAx
MyBhdCAwMzo0NzozOFBNICswODAwLCBkcmFua3llIHdyb3RlOg0KPiANCj4gDQo+IEhpIGFsbCwN
Cj4gwqANCj4gQWJvdXQgMiB5ZWFycyBhZ28sIGl0IHdhcyBhc2tlZCDigJx3aGVuIHdpbGwgd2Ug
YmUgYWJsZSB0byB1c2UgTElQS0VZIG9uIA0KPiBORlM0IG9uIExpbnV4P+KAnS4gUmVmLiBodHRw
Oi8vcGVybWFsaW5rLmdtYW5lLm9yZy9nbWFuZS5saW51eC5uZnMvMzU1NjAuDQo+IFRoZXJlIFRy
b25kIHJlcGxpZWQgYXMgYmVsb3c6DQo+IOKAnA0KPiBXZSdyZSBsaWtlbHkgdG8gZHJvcCB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