Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Creating a CSPRNG for DOS? (Developers)

posted by myrkraverk, 02.06.2024, 01:14

> In this version don't sweat too much over sources selection: just use ALL
> of them. Some of them will be bad under emulation/virtualization, but each
> and every one of them will add to the final entropy anyways.

Thank you.

I'm also thinking of pathological cases, such as this autoexec.bat* in classic DOSBox; or equivalent**.

c:\my\noise.com
openssl genrsa --out bootkey.pem 2048

I have no idea if that's ever going to be "safe" no matter what I do. I am mostly thinking of command line tools, though; tools that make sense both on real hardware and emulators with TCP/IP.

The idea of a noise.sys driver makes a lot of sense to me, and I can use it as a base, or implement my own from scratch. I'm not making any decision about that right now.

>
> In my personal opinion, djb assumptions are too optimistic and I would
> prefer option 2.

So do I. And in particular, I'm trying to avoid the Netscape 1.1, and Debian Random problems. For that I'm striving for best effort and the learning experience.

* Off hand I don't remember if it supports loading .sys device drivers.

** I can neither confirm nor deny porting OpenSSL to DOS without the secretaries approval. And in any case, I'd not use the DJGPP suite.

 

Complete thread:

Back to the forum
Board view  Mix view
22049 Postings in 2034 Threads, 396 registered users, 111 users online (0 registered, 111 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum