[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] mirage-entropy design proposal
On Mon, Nov 24, 2014 at 10:09 AM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote: On 24 Nov 2014, at 09:55, Hannes Mehnert <hannes@xxxxxxxxxxx> wrote: I've now got a prototype of this. There's now a daemon called "xentropyd" which watches for domains being created and connects to them, offering them entropy. The entropy is read from /dev/urandom through a rate-limiter and sent to the domain over a secondary console ring. To give it a go try: opam remote add mirage-dev-dave git://github.com/djs55/mirage-dev#xentropyd # install the depexts, mainly the xenctrl.h header: # apt-get install `opam install xentropyd -e ubuntu` opam install xentropyd You can then runÂ~/.opam/system/bin/xentropyd as root in domain 0. It'll print debug to stdout by default. git clone git://github.com/mirage/mirage-skeleton cd mirage-skeleton/entropy mirage configure --xen mirage build This example simply prints a chunk of received entropy to the console. The main outstanding question is what should the default mirage-entropy-xen behaviour be? I've created an RFC-style patch which shows how to use the new entropy source: It's intended more for discussion than merging since it creates a hard dependency on xentropyd. Cheers, Dave  > e) rdrand (code https://github.com/TimKnast/ocaml-rdseed) Dave Scott
_______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |