Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

GnuPG 1.4.23 for DOS (Announce)

posted by bencollver Homepage, 08.05.2024, 22:19

I reproduced the problem in MS-DOS. While generating a key pair, i get as far as entering the passphrase twice. Then it freezes. Printf() debugging shows the following "backtrace."

passphrase_to_dek()
hash_passphrase()
randomize_buffer()
get_random_bits()
read_pool()
random_poll()
read_random_source()
getfnc_gather_random()
rndlinux_gather_random()

There's a do/while loop in rndlinux_gather_random() that never ends on MS-DOS. Every read from /dev/urandom$ returns 0 bytes and no errors.

I can read urandom$ from the command line, so the problem must have something to do with how GPG / DJGPP is reading it. I will troubleshoot this further when i find the time.

 

Complete thread:

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