Sami Haahtinen: OpenSSL is way too complicated
It's no wonder people hate dealing with certificates. I'm one of
those people who really hate handling certificates. For some reason
Linux lacks simple tools to manage certificates. Debian has one set
of tools and I bet quite a few other distributions have their own
set of tools. So nothing generic.
In my opinion the problem lies in OpenSSL,
which is an overly complicated piece of software. Sure it's able to
encrypt your fries at the local fast food place, but most people
never use anything more than the x509 module. And even that is
complicated.
I'm not saying that it should be point and click operation, but
what I want is a tool that allows me to create, renew and verify
SSL certificates. Which is pretty much the most common thing you do
with OpenSSL.
Now, lets assume you have a certificate and a key that you want
to check if they match. Can you say from the top of your head how
to do that? If so, you are either dealing with this stuff daily or
you looked it up from a manual. The correct "magical mumbo jumbo"
is:
server:/tmp# openssl rsa -noout -modulus -in /etc/ssl/private/some.key openssl md5
94c5fa8b0fe1baa6e8dfcdec75444620
server:/tmp# openssl x509 -noout -modulus -in signed.crt openssl md5
94c5fa8b0fe1baa6e8dfcdec75444620
Now, how easy was that. It only took me 10 minutes to construct
that line. Most of the time went to searching Zimbra scripts for the correct magical
line. The reason why I went through the scripts instead of the
manual is that I had already seen the scripts do a appropriate
check. And there is no way I could have constructed that in that
kind of a time frame just by using the manual.
Usually I think that people complain too much when they can't
figure out how to make ls or something work like they
want. A certain degree of manual reading is good for you, but in
this case it's too much. In any case, I'm posting this rant as a
reminder for myself so that the next time I can just look it up
from here.
One of the main UK computer security websites (Get Safe Online, GSO, a public/private partnership) has recently changed to using a website for security alerts, instead of sending emails that contained a “secret” word. Of course, a non-SSL website is not really safer or easier to verify than the emails, so I asked them: why don’t you use OpenPGP or 






I voted early because Sullivan County, TN is phasing in new voting
machines this election. On election day, they will use the old touch screen
system, while early voters get to test the "new" paper system.
The new system is sure to please fans of paper. However, it has two flaws
that were obvious to me. I have no way of knowing that my vote will be
counted as I filled it out, and I realized half way through that election
officials can determine how I voted. Here's why...
You have two pieces of paper during the vote. A registration sheet is
signed by the voter. A paper ballot has little rectangles that the votor fills
in with a ballpoint pen in the privacy of the voting booth. The instructions
say to fill in choices completely. Since the voting booths have a hard top,
it's difficult to write on them with a ballpoint, let alone fill in little
squares completely. The natural thing to do? Slide your second piece of paper
under the ballot, so the pen can dig in better. If you don't think about it,
you'll probably do this unconciously.
Half-way through, I realized that I was leaving imprints on the registration
paper, with my name on it, that corresponded to my choices on the ballot. Due
to the two-column layout, and the distinctive spacing between different
choices, it's possible to look at those imprints and determine exactly how I
voted. The registration paper has to be handed in at the end, so the official
who sits there all day collecting these has plenty of time to work this out and
determine the votes of anyone. (I moved my ballot around and re-filled in squares
to try to confuse things.)
(Relatedly, one has to carry the paper ballot around the room to take it to
the voting machine. It's difficult to keep the ballot obscured while doing
this, since you can't fold it, and since they take the registration paper
before the ballot, so you can't keep the ballot covered with it either.)
The second obvious flaw is that once I fed my ballot into the voting
machine, which presumably scanned it and put it in a safe, there was only a
confimation that "you've voted!". There was no way to verify that it had
counted my vote as I'd marked it.
After my
Following Ganneff’s post to debian-devel-announce, several discussions have again started on the topic of Debian’s membership and several proposals have been made. Unfortunately none of these proposals try to resolve the underlying trust problem that has been growing over the years. Despite the NM process (or maybe due to it), we managed to give DD status to people who are motivated but whose technical skills are doubtful (at that point people ask for an example, and as much as I hate fingerpointing, here’s an example with
now that ps3-utils is 






I have uploaded
Last Wednesday I went for the first time in many years to
For a minute, I’d like to think about