Re: [Toybox] secpwgen

2020-12-09 Thread Rob Landley
On 12/9/20 4:05 PM, scsijon wrote: > wasn't going to get into this but!2 comments from my OLD security manual since > this seems to be 'running'. > > 1- This program does not take any steps to initialize the entropy pool. > OpenSSL is not Linux and the kernel does all that for us. > WIN32

[Toybox] secpwgen

2020-12-09 Thread scsijon
wasn't going to get into this but!2 comments from my OLD security manual since this seems to be 'running'. 1- This program does not take any steps to initialize the entropy pool. OpenSSL uses the system-provided /dev/[u]random as the source of randomness. OpenSSL should report an error on

Re: [Toybox] [New Toy] pwgen

2020-12-09 Thread Moritz Röhrich
Hi Rob, hi enh, thanks for reviewing this so quickly. I see that I need to up my C-foo quite a bit still ;-) Anyways, my naive implementation was based on the fact my use case does not depend on the pronounceability or really good randomness as much. Having it in toybox is nice because that

[Toybox] Remind me to flush the moderation queue more often.

2020-12-09 Thread Rob Landley
Sorry to flood the list, forgot it doesn't just go to the archive... Rob ___ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net

[Toybox] Fw: Building Linux with Toybox

2020-12-09 Thread Porter, Jeremy
On 8/28/20 11:56 AM, Porter, Jeremy wrote: >> I have RISC-V based cross compiled Linux running busybox. I have a very >> simple >> /etc/inittab file like this: >> >> 1 ::sysinit:/bin/busybox mount -t proc proc /proc >> 2 ::sysinit:/bin/busybox mount -t tmpfs tmpfs /tmp >> 3

[Toybox] test.c hex/octal bug

2020-12-09 Thread Luke Frankart via Toybox
I found that `toybox test -w` returned true for a file with 0440 mode bits, and was able to find failures for other cases (below). I think the root cause and fix is to use octal 0111 instead of hexadecimal 0x111 on this line: https://github.com/landley/toybox/blob/master/toys/posix/test.c#L74

[Toybox] Building Linux with Toybox

2020-12-09 Thread Porter, Jeremy
I have RISC-V based cross compiled Linux running busybox. I have a very simple /etc/inittab file like this: 1 ::sysinit:/bin/busybox mount -t proc proc /proc 2 ::sysinit:/bin/busybox mount -t tmpfs tmpfs /tmp 3 ::sysinit:/bin/busybox mount -o remount,rw /dev/htifbd0 / 4

[Toybox] [New Toy] pwgen

2020-12-09 Thread Moritz Röhrich
Dear Mr. Landley, I have implemented `pwgen`, a small password generation utility for toybox. This utility is useful, not only for passwords but also for generating random strings in general. Hopefully the code meets quality expectations, but I'd be more than happy to take criticism. Best

Re: [Toybox] test.c hex/octal bug

2020-12-09 Thread Luke Frankart via Toybox
Thanks for the quick reply and updates. Works great now! Luke On Wed, Nov 25, 2020 at 3:53 PM Rob Landley wrote: > On 11/24/20 5:06 PM, Luke Frankart wrote: > > I found that `toybox test -w` returned true for a file with 0440 mode > bits, and > > was able to find failures for other cases

Re: [Toybox] toybox: xargs: add actual support for -P max-proc flag

2020-12-09 Thread Scotty Hulett
___ Toybox mailing list Toybox@lists.landley.net http://lists.landley.net/listinfo.cgi/toybox-landley.net