[PATCH] efinet: get bootstrap info from proxy offer packet

2016-04-21 Thread chen zhihui
From: chenzhihui Bootstrap server ip address and boot file name maybe come from a separate proxy DHCP server, check the proxy_offer packet if failed with dhcp_ack packet. Signed-off-by: chenzhihui Tested-by: Jerome Forissier --- grub-core/net/bootp.c | 170 +++

Re: [PATCH] efinet: get bootstrap info from proxy offer packet

2016-04-21 Thread Andrei Borzenkov
On Thu, Apr 21, 2016 at 11:36 AM, chen zhihui wrote: > From: chenzhihui > > Bootstrap server ip address and boot file name maybe come from > a separate proxy DHCP server, check the proxy_offer packet if > failed with dhcp_ack packet. > Yes, this came up before. Thank you for a patch. This is lik

hdparm --security-unlock with password prompt

2016-04-21 Thread W K
Hi I'd like grub to prompt me for a password and unlock my hw encrypted drive. I found a few threads about it dating back a few years, even a few patches, but I see the functionality is not there in the most recent grub version from git. It seems the patch is pretty simple (e.g. https://www.unixa

Re: hdparm --security-unlock with password prompt

2016-04-21 Thread Andrei Borzenkov
On Thu, Apr 21, 2016 at 4:48 PM, W K wrote: > Hi > > I'd like grub to prompt me for a password and unlock my hw encrypted drive. > > I found a few threads about it dating back a few years, even a few patches, > but I see the functionality is not there in the most recent grub version > from git. It

hdparm --security-unlock with password prompt

2016-04-21 Thread W K
Hi I'd like grub to prompt me for a password and unlock my hw encrypted drive. I found a few threads about it dating back a few years, even a few patches, but I see the functionality is not there in the most recent grub version from git. It seems the patch is pretty simple (e.g. https://www.unixa

Re: [PATCH] efinet: get bootstrap info from proxy offer packet

2016-04-21 Thread Jerome Forissier
On Thu, Apr 21, 2016 at 10:36 AM, chen zhihui wrote: > From: chenzhihui > > Bootstrap server ip address and boot file name maybe come from > a separate proxy DHCP server, check the proxy_offer packet if > failed with dhcp_ack packet. > > Signed-off-by: chenzhihui > Tested-by: Jerome Forissier

Re: hdparm --security-unlock with password prompt

2016-04-21 Thread Philippe Kueck
Hi all, here's a patch for unlocking the ATA password from grub command line. As mentioned in [1] it does not prompt for a password at boot but enables the hdparm module to support the security unlock feature. In case anyone asks, the patch is GPL. Kind regards Philippe [1] https://www.unixadm.

Re: hdparm --security-unlock with password prompt

2016-04-21 Thread W K
On Thu, Apr 21, 2016 at 4:56 PM, Philippe Kueck < a4obmfyynyjaahcwbylaulqddm...@quarantine.de> wrote: here's a patch for unlocking the ATA password from grub command line. Thanks a lot for replying Philippe. > As mentioned in [1] it does not prompt for a password at boot but enables > the hdpa

Re: [PATCH] verify: search keyid in hashed signature subpackets

2016-04-21 Thread Ignat Korchagin
Best of both worlds: I left the READBUF_SIZE as is for the rest of the code, but rather reallocate the buffer with appropriate length for subpackets specifically. Hashing is outside of the keyid search function, so the name is good this time. Still did not get your response about PGP private te

Re: hdparm --security-unlock with password prompt

2016-04-21 Thread Andrei Borzenkov
21.04.2016 17:56, Philippe Kueck пишет: > Hi all, > > here's a patch for unlocking the ATA password from grub command line. As > mentioned in [1] it does not prompt for a password at boot but enables > the hdparm module to support the security unlock feature. > In case anyone asks, the patch is GP

Re: hdparm --security-unlock with password prompt

2016-04-21 Thread Philippe Kueck
Hi, On 21.04.2016 20:24, Andrei Borzenkov wrote: > Unfortunately I do not think we can have optional value, so your example > on this page likely won't work. I.e. how can we distinguish between > missing option value and missing argument? This will need to be two > options - --security-unlock and

Re: [PATCH] efinet: get bootstrap info from proxy offer packet

2016-04-21 Thread chen zhihui
On 04/21/2016 09:02 PM, Andrei Borzenkov wrote: > On Thu, Apr 21, 2016 at 11:36 AM, chen zhihui wrote: >> From: chenzhihui >> >> Bootstrap server ip address and boot file name maybe come from >> a separate proxy DHCP server, check the proxy_offer packet if >> failed with dhcp_ack packet. >> > Y

Re: [PATCH] efinet: get bootstrap info from proxy offer packet

2016-04-21 Thread chen zhihui
On 04/21/2016 09:02 PM, Andrei Borzenkov wrote: > On Thu, Apr 21, 2016 at 11:36 AM, chen zhihui wrote: >> From: chenzhihui >> >> Bootstrap server ip address and boot file name maybe come from >> a separate proxy DHCP server, check the proxy_offer packet if >> failed with dhcp_ack packet. >> > Y