?

Log in

No account? Create an account
Linux Community's Journal
 
[Most Recent Entries] [Calendar View] [Friends View]

Wednesday, November 6th, 2002

Time Event
11:58a
Nvidia kernel giggles.
I finally made the Nvidia kernel module compile. I required a fresh download of Redhat's stock kernel source and a fresh download of rpm-dev. I can see from an MD5 check that the two pairs of supposedly identical RPMs are different. My first download attempt was flawed in transmission and that little annoyance cost me three weeks! Based on this experience, I'd like to nominate a new maxim to replace Microsoft Windows "Save, and save often", which we Linux users don't need for obvious reasons, with "Check MD5s always."

We can digest it along with "Read the README.first, FIRST!"

That is all. No errors. Compile smooth. Install easy. Mark me a feathered happy camper.

Qvacks.
3:23p
Um... going to try not to start another holy war around here but...

I just got DSL to replace dial-up and can therefore access the net via Linux (my modem, while not a winmodem, just wouldn't get connected under linux for some reason).

I'm a computer professional, I used Linux on a personal level a few years back, but haven't touched it since redhat 5.0ish. I currently have Mandrake installed, but I'm not getting along with it too well, install issues because of CD media, issues with the default window managers, etc.
I'm looking at Debian because I like the concept of being in over my head. sink or swim method of learning. But on the other hand I like to have some nice GUI tools to hang onto while trying not to drown.

So my question: anyone know of a good Debian based distro with a decent installer and some GUI tools to get me started?
Or any other distro you feel strongly about would be nice to hear of too, as long as you can justify the reasoning behind why I should try it out.

lastly, anyone want to offer their services via [insert online chat program here] to help get a linux noob started again?

Current Mood: hopeful
9:30p
OpenSSL and [commercial] SSH
I'm doing something with a lot of machines that requires each to have a public/private key pair. Now, it makes sense just to reuse the existing DSA key pairs that our (commercial, and this isn't something I can change, if it matters) SSH setup uses. They're of the form:

---- BEGIN SSH2 PUBLIC KEY ----
Subject: root
Comment: "root"
AAAAB3NzaC1kc3MAAACBALxB/VBdRB3+wTtb12kY1y+1PtsplE7R22+x1w6Eia7eeTPLvf
(more nonsensical but printable lines)
JGz51XSFZS4n4238zA==
---- END SSH2 PUBLIC KEY ----


Internally, OpenSSL's libcrypto uses a DSA structure with several BIGNUM members corresponding to various numerical features of the key. This would be fine (well, more ok) if the keys were stored as a sequence of numbers (which I realize they are on some systems), but this isn't the case here.

Now, I could run ssh-keygen -i on the file, read in the values, assign them to the BIGINT members, and create the DSA structure manually... but there has to be an easier way than that, especially because I'm doing this in relatively low level C (to avoid unnecessary library dependencies). OpenSSL's libcrypto functions are often very poorly documented, and I haven't gotten any good results with the manual openssl command to point me in the right direction.

So... does anybody have any experience with this? Or at least any pointers in the right direction? Looking through dsa.h hasn't yielded any inspiration as of yet.

Update: it has been brought to my attention that the text is uuencoded. However, what to do with the uudecoded data still eludes me. The DSA structures themselves contain pointers, so simply reading it into a buffer and typecasting it doesn't seem like it would work.

<< Previous Day 2002/11/06
[Calendar]
Next Day >>
About LiveJournal.com