Re: Randomization from the bootblocks

2014-01-03 Thread Alexey E. Suslikov
Theo de Raadt deraadt at cvs.openbsd.org writes: Having no interrupt (and such) entropy means less entropy. From other hand, there are lot of speculations about some hardware entropy sources are suspected (proven?) bad (or intentionally hijacked?). So question here is, does moving random

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-01-03 Thread Fabian Raetz
Hi tech@, here is an updated patch. it seems like Intel Centrino Wireless-N 2030 and Intel Centrino Wireless-N 2230 have the same pciids... this makes patch apply again with newest pcidevs changes. Index: if_iwn.c === RCS file:

signify API change and manpage

2014-01-03 Thread Marc Espie
I really, really want to have an actual parameter for sign and verify, this makes more sense. Also, the set of modes of signify means it's much clearer to have separate synopsis in the manpage... Also fix some .Ar which should be .Fl while we're at it. To *keep things simple*, let's only sign a

whois close fd patch

2014-01-03 Thread Loganaden Velvindron
Hi All, From NetBSD: Coverity CID 1736 Close fd sfo sfi before returning from whois(). whois() is called from within a loop before exiting. for (name = *argv; (name = *argv) != NULL; argv++) rval += whois(name, host ? host : choose_server(name, country),

Re: redux: signify diff

2014-01-03 Thread Ted Unangst
On Fri, Jan 03, 2014 at 16:39, Marc Espie wrote: Rechecked that -G was working (broken) and jmc wants identical SYNOPSIS/usage. Together with the \n for base64... + } else if (verb == NONE) { usage(); this is weird, mixing that into the middle.

redux: signify diff

2014-01-03 Thread Marc Espie
Rechecked that -G was working (broken) and jmc wants identical SYNOPSIS/usage. Together with the \n for base64... Index: signify.1 === RCS file: /build/data/openbsd/cvs/src/usr.bin/signify/signify.1,v retrieving revision 1.6 diff -u

Re: redux: signify diff

2014-01-03 Thread Marc Espie
On Fri, Jan 03, 2014 at 10:46:45AM -0500, Ted Unangst wrote: On Fri, Jan 03, 2014 at 16:39, Marc Espie wrote: Rechecked that -G was working (broken) and jmc wants identical SYNOPSIS/usage. Together with the \n for base64... + } else if (verb == NONE) { usage(); this is weird,

properly terminate lines in signify

2014-01-03 Thread Marc Espie
Looking more closely at the generated files, they don't have terminating newlines... The base64 routines will properly ignore newlines, since they match isspace(). okay ? Index: signify.c === RCS file:

Re: redux: signify diff

2014-01-03 Thread Ted Unangst
On Fri, Jan 03, 2014 at 16:55, Marc Espie wrote: @@ -377,30 +377,37 @@ main(int argc, char **argv) } } argc -= optind; - if (argc != 0) - usage(); - - if (inputfile !sigfile) { - if (snprintf(sigfilebuf, sizeof(sigfilebuf), %s.sig, -

Re: whois close fd patch

2014-01-03 Thread Todd C. Miller
Since both sfi and sfo refer to the same underlying descriptor it is a bad idea to fclose() both of them. In this case, it is not a big deal as sfo has already been flushed. There's really no need for two streams so I committed a change to use a single one, opened with r+, and added the

Re: Add Intel Centrino Wireless-N 2230 support in iwn(4)

2014-01-03 Thread Dawe
On Jan 03, 2014 14:24, Fabian Raetz wrote: Hi tech@, here is an updated patch. it seems like Intel Centrino Wireless-N 2030 and Intel Centrino Wireless-N 2230 have the same pciids... this makes patch apply again with newest pcidevs changes. No regressions with my Intel WiFi Link 1000