Re: [OpenWrt-Devel] usign race?

2018-09-18 Thread Mike McCormack
On 15/09/18 21:15, Daniel Golle wrote: For now, this is acceptable. In the long run we should store keys in their native fixed-length binary representation rather than using usign's base64 encoded text strings -- however, that requires changes to usign as well, so for now fixing ucert to work wi

Re: [OpenWrt-Devel] usign race?

2018-09-15 Thread Daniel Golle
On Fri, Sep 14, 2018 at 07:22:06PM +1000, Mike McCormack wrote: > On 13/09/18 17:47, Koen Vandeputte wrote: > > > > As it mostly works, but only sometimes fail, it looks like a race > > condition. > > > > Does anyone have any clue? > > Hi Koen, > > I think I hit something similar... sometimes u

Re: [OpenWrt-Devel] usign race?

2018-09-14 Thread Mike McCormack
On 13/09/18 17:47, Koen Vandeputte wrote: As it mostly works, but only sometimes fail, it looks like a race condition. Does anyone have any clue? Hi Koen, I think I hit something similar... sometimes usign only spits out 16 characters rather than 17, so ucert fails. The attached patch wor

[OpenWrt-Devel] usign race?

2018-09-13 Thread Koen Vandeputte
Hi All, When I'm doing a lot of fresh builds for testing purposes, some of them tend to fail sometimes with following error: make[3]: Entering directory '/mnt/ramdisk/koen/firmware/builds/generic_imx6/package/base-files' rm -f /mnt/ramdisk/koen/firmware/builds/generic_imx6/build_dir/target-a