bencollver![]() 08.05.2024, 07:03 |
GnuPG 1.4.23 for DOS (Announce) |
GnuPG is a complete and free implementation of the OpenPGP standard as defined by RFC4880. GnuPG allows you to encrypt and sign your data and communications. |
rosegondon C:\DOS, 08.05.2024, 11:09 @ bencollver |
GnuPG 1.4.23 for DOS |
> GnuPG is a complete and free implementation of the OpenPGP standard as --- |
bencollver![]() 08.05.2024, 16:48 @ rosegondon |
GnuPG 1.4.23 for DOS |
> This build fails to generate keypair under FreeDOS 1.2 and MS-DOS 6.22. |
rosegondon C:\DOS, 08.05.2024, 18:20 @ bencollver |
GnuPG 1.4.23 for DOS |
> I generated RSA keys on FreeDOS 1.3. It appeared to hang, i assumed --- |
bencollver![]() 08.05.2024, 22:19 @ rosegondon |
GnuPG 1.4.23 for DOS |
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." |
bencollver![]() 09.05.2024, 05:18 (edited by bencollver, 09.05.2024, 06:40) @ bencollver |
GnuPG 1.4.23 for DOS |
I posted an update in gpg14b.zip. |
rosegondon C:\DOS, 09.05.2024, 12:48 @ bencollver |
GnuPG 1.4.23 for DOS |
> I posted an update in gpg14b.zip. --- |
bencollver![]() 09.05.2024, 16:32 @ rosegondon |
GnuPG 1.4.23 for DOS |
Thanks for trying again and posting your screenshot. Is this MS-DOS 6.22? What's it running on? |
rosegondon C:\DOS, 09.05.2024, 17:11 @ bencollver |
GnuPG 1.4.23 for DOS |
> Thanks for trying again and posting your screenshot. Is this MS-DOS 6.22? --- |
bencollver![]() 09.05.2024, 19:30 @ rosegondon |
GnuPG 1.4.23 for DOS |
> I made tests on QEMU and some generic PC from 90s frem my collection. In |
rosegondon C:\DOS, 09.05.2024, 21:08 @ bencollver |
GnuPG 1.4.23 for DOS |
> Interesting that we are getting different results in qemu. Would you be --- |
bencollver![]() 09.05.2024, 23:32 @ rosegondon |
GnuPG 1.4.23 for DOS |
I think it worked for me because i was generating 1024 bit keys. When i tried to generate a 4096 bit keypair on MS-DOS, it failed, presumably because it was blocking on an empty entropy pool in the NOISE device. |
rosegondon C:\DOS, 10.05.2024, 19:10 @ bencollver |
GnuPG 1.4.23 for DOS |
> I posted gpg14c.zip which honors the RNG_DEVICE environment variable. If --- |
RayeR![]() CZ, 14.05.2024, 20:49 @ rosegondon |
GnuPG 1.4.23 for DOS |
> I have few ideas for totally new NOISE.SYS engine: --- |
bencollver![]() 14.05.2024, 22:36 @ RayeR |
GnuPG 1.4.23 for DOS |
> BTW how about to use RDRAND on modern CPUs? If it's already used then |
RayeR![]() CZ, 14.05.2024, 23:55 @ bencollver |
GnuPG 1.4.23 for DOS |
Yes, it's always good to combine more entropy sources. Imagine that instruction RDRAND can be modified via CPU microcode update to return a constant known value if e.g. NSA decide to deploy such patch via windows update automatically :) Probably cannot be affected on a pure DOS machine but once it has multiboot... --- |
Rugxulo![]() Usono, 15.05.2024, 06:21 @ RayeR |
NSA is coming to get you (and your cat)! |
> Imagine ... NSA decide to deploy such patch via windows update |
rosegondon C:\DOS, 15.05.2024, 11:48 @ Rugxulo |
NSA is coming to get you (and your cat)! |
> > Imagine ... NSA decide to deploy such patch via windows update --- |
RayeR![]() CZ, 15.05.2024, 17:40 @ rosegondon |
NSA is coming to get you (and your cat)! |
OK, I conclude that RDRAND was not a smart idea. It's handy but only on newer CPUs and cannot be trusted. In fact, cybersecurity on a common modern x86 platform is just parody as you don't have neither HW nor FW under your control. There are too much proprietary stuff like CPU microcode, Management Engine, SMI handler that has higher priority (or out of band) over the OS/applications and cannot be audited. --- |
rosegondon C:\DOS, 10.05.2024, 19:30 @ bencollver |
GnuPG 1.4.23 for DOS |
> I posted gpg14c.zip which honors the RNG_DEVICE environment variable. If --- |
bencollver![]() 11.05.2024, 20:44 @ rosegondon |
GnuPG 1.4.23 for DOS |
> Quick observation after first tests: DOS GPG buils fails often with file |
bencollver![]() 13.05.2024, 07:12 (edited by bencollver, 13.05.2024, 07:31) @ rosegondon |
GnuPG 1.4.23 for DOS |
I posted gpg14e.zip, which has the following changes. |
bencollver![]() 14.05.2024, 01:31 @ bencollver |
GnuPG 1.4.23 for DOS |
I posted gpg14f.zip, which is patched to mitigate CVE-2019-14855 |
rosegondon C:\DOS, 14.05.2024, 09:53 @ bencollver |
GnuPG 1.4.23 for DOS |
> I posted gpg14f.zip, which is patched to mitigate CVE-2019-14855 --- |
bencollver![]() 14.05.2024, 17:04 @ rosegondon |
GnuPG 1.4.23 for DOS |
Thanks! I like that pgp263iammulti06 has a real-mode DOS build. I'd love to see someone take over its development, perhaps configuring it for inclusion in FreeDOS and building it with Watcom. |
rosegondon C:\DOS, 14.05.2024, 18:33 @ bencollver |
GnuPG 1.4.23 for DOS |
> By the way, how did the latest build of GnuPG work for you? Are you able --- |
rosegondon C:\DOS, 15.05.2024, 11:43 @ bencollver |
GnuPG 1.4.23 for DOS |
> Thanks! I like that pgp263iammulti06 has a real-mode DOS build. I'd love --- |
bencollver![]() 15.05.2024, 17:00 @ rosegondon |
GnuPG 1.4.23 for DOS |
> BTW, how configuration file "gpg.conf" should be named under DOS? |
rosegondon C:\DOS, 16.05.2024, 07:13 @ bencollver |
GnuPG 1.4.23 for DOS |
> By the way, how did the latest build of GnuPG work for you? Are you able --- |
bencollver![]() 17.05.2024, 02:20 @ rosegondon |
GnuPG 1.4.23 for DOS |
> gpg14f hangs when just executed without any parameters. |
rosegondon C:\DOS, 17.05.2024, 07:31 @ bencollver |
GnuPG 1.4.23 for DOS |
> I was not able to reproduce the problem where the preferences are ignored. --- |
bencollver![]() 17.05.2024, 16:14 @ rosegondon |
GnuPG 1.4.23 for DOS |
> File "gpg.con" has two copies: one in folder with GPG.EXE (which is NOT in |
rosegondon C:\DOS, 17.05.2024, 18:38 (edited by rosegondon, 17.05.2024, 19:13) @ bencollver |
GnuPG 1.4.23 for DOS |
> Which options are you using in gpg.con and how do the results differ from --- |
bencollver![]() 17.05.2024, 19:22 @ rosegondon |
GnuPG 1.4.23 for DOS |
Thanks for your gpg.con contents. How do you test whether they are being ignored? |
rosegondon C:\DOS, 17.05.2024, 22:03 @ bencollver |
GnuPG 1.4.23 for DOS |
> Thanks for your gpg.con contents. How do you test whether they are being --- |
rosegondon C:\DOS, 17.05.2024, 22:17 @ bencollver |
GnuPG 1.4.23 for DOS |
> Thanks for your gpg.con contents. How do you test whether they are being --- |
bencollver![]() 19.05.2024, 05:53 @ rosegondon |
GnuPG 1.4.23 for DOS |
> But why key creation dates jump randomly? This is not constant shift in |
rosegondon C:\DOS, 17.05.2024, 22:31 @ bencollver |
GnuPG 1.4.23 for DOS |
> Thanks for your gpg.con contents. How do you test whether they are being --- |
bencollver![]() 19.05.2024, 05:10 @ rosegondon |
GnuPG 1.4.23 for DOS |
> The only weird thing remaining is hanging when GPG is started without any |
rosegondon C:\DOS, 20.05.2024, 21:04 @ bencollver |
GnuPG 1.4.23 for DOS |
> I posted gpg14g.zip with the following changes: --- |
bencollver![]() 20.05.2024, 21:53 @ rosegondon |
GnuPG 1.4.23 for DOS |
> Could you be so kind and add detached GPG signature to the files published |
bencollver![]() 31.05.2024, 00:17 @ bencollver |
GnuPG 1.4.23 for DOS |
I wanted to spot check the quality of the random numbers generated by NOISE.SYS |
bencollver![]() 31.05.2024, 02:04 @ bencollver |
GnuPG 1.4.23 for DOS |
Re-running the test, i found that the Chi-square percentages vary wildly. |