[Sugar-devel] [PATCH] Recreate corrupted key pair (#1568)
James Cameron
quozl at laptop.org
Fri Mar 23 20:05:57 EDT 2012
On Fri, Mar 23, 2012 at 08:17:39PM +0000, Daniel Drake wrote:
> From: Sascha Silbe <sascha-pgp at silbe.org>
>
> Recreate a corrupted key pair instead of leaving it alone and failing horribly
> later.
>
> This case was recently encountered in Nicaragua.
>
> Signed-off-by: Sascha Silbe <sascha-pgp at silbe.org>
> Signed-off-by: Daniel Drake <dsd at laptop.org>
Reviewed-by: James Cameron <quozl at laptop.org>
In my experience, zero byte key files can be seen if power is lost or
the kernel panics after the key is created. Not every time.
--
James Cameron
http://quozl.linux.org.au/
More information about the Sugar-devel
mailing list