Uwe Hermann: Creating 32768 bit RSA keys for fun and profit
Have you ever wondered how long it would take to create a 32768 bit RSA key with ssh-keygen? Well, I did.
$ time ssh-keygen -t rsa -b 32768 -f ~/.ssh/tmp32768 -N foobar -q real 244m31.259s user 244m15.664s sys 0m4.736sIn other words, on my test system (AMD X2 CPU with 1.8 GHz per core) it took ca. 4 hours. This is likely very dependent on how much entropy you can get (and how fast), so take the numbers with a grain of salt. A second key with 32767 bits (one less) took 16 hours, for instance. The resulting tmp32768 (private key) file is ca. 25 KB big, the tmp32768.pub (public key) file is 5 KB big. There's likely no noticeable performance hit for ssh or scp AFAICS, as all data transfers are done with a symmetrical session key, not the RSA key itself. Only the initial connection "handshake" will take ca. 40 seconds longer... And yes, 32768 is the maximum RSA key size you can currently create with OpenSSH, go file a bug report if that's not enough for you ;-) However, as I then noticed, this key will not actually work. When you put it in some authorized_keys file and try to login, the handshake will fail and the server-side will see the following error in /var/log/auth.log:
sshd[xxxxxx]: error: RSA_public_decrypt failed: error:04067069:lib(4):func(103):reason(105)I first thought I found an off-by-one error, but the 32767 bit key (one bit less) didn't work either. After looking through the OpenSSH and OpenSSL code as well as the RSA_private_decrypt(3SSL) manpage a bit, I saw that OpenSSH uses the RSA_PKCS1_PADDING parameter. My current theory is thus that some padding is making the key not work. I'm now creating a key with 11 bits less bits than 32768, let's see what happens. For the record, a key with 16384 bits does work just fine. Anyway, I'll probably report this as "bug" (more a theoretical than a practical problem, though) as ssh-keygen let's you generate RSA keys which will never work in practice...
I found an 
I think that the next thing to do is to beat the floating-only window manager like the *box, etc An interesting challenge, so stay tuned!


Spent the first half of the day working on a web inteface to configure
ikiwiki. The next version of ikiwiki will have that and some other neat
setup features that make it really easy to set up a wiki.
Then up to Abingdon for VA highlands. I was actually reminded of Edinburgh,
but not by the kilts and celtic music; instead by the post-rain damp and
little alleys.
Drove Anna's golf cart around the swamp. Suprisingly capable in mud and
creek ford and general rough going. (PS, if my next car has internal
combusion, please shoot me.)
Another night on battery power @yurt.
Now playing: Cicadas and The Who, loudly.
A few days ago I noticed that suspend to RAM didn’t work anymore on my T60 running sid. By chance I stumbled upon
First day at debconf8's debcamp! I have published an ical
file with the stuff I plan to attend, if anyone is
interested:
As always, we’re doing lots of interesting and significant things and have more good ideas than we have people to do the work. If you have an Eee PC or are planning to get one, or are otherwise interested in our work, some of which has uses beyond just the Eee, here are some highlights:
Earliest Eee models supported in Lenny
Lenny will release with the atl2 ethernet driver and the non-free madwifi-source now works with the earliest Eee models as well, so our patched version is no longer needed. This means Lenny will work with all of the earliest models of the Eee PC: 701 (2G and 4G surf, 4G, 8G) and 900! All we need now for full support in Lenny is to replace the non-free wireless driver with the free ath5k driver when it is ready.
Free drivers
Nick Kossifidis has
I recently bought a new MSI laptop and I am really pleased with my choice so far.
Various people have asked me why there'd ever be a justification for ACPI tables to base various types of behaviour on the operating system they're running on, and why Linux claims to be Windows. There's pretty straightforward explanations that don't involve conspiracies, but they're not necessarily obvious. Let's start from the beginning.
You can approach debconf translation work in two ways: you can be active and seek out packages to translate and update, or you can be reactive and translate and update packages when someone requests it to be done. Usually, nobody takes a purely active or reactive stance; for example, lately I used to react to calls for translation updates, but when I had some spare time I would go translate a couple of new packages.
When you work actively, the web page whose URL you need to know is