Search Results: "Uwe Hermann"

1 May 2006

Uwe Hermann: Drupal 4.7.0 has been released!

Wheee! Drupal 4.7.0, the new stable release of the CMS, has been released. After more than one year of development, we are now finally able to enjoy all the goodies which this new release brings. For German speaking people we can now proudly claim to have a completed translation of the user interface, thanks to all the contributors! If you don't speak German, you can choose from one of the other 40+ translations for your site. Read the release announcement for more information, I'm off upgrading a couple of sites now ;)

28 April 2006

Uwe Hermann: Look behind you, a Three-Headed Monkey!

Funny ad by the Consumer Electronics Association (CEA): Pirate Ad There's a PDF version, too. Btw, finding out what the subject of this post has to do with the contents of it is left as an exercise to the reader. (via Starfrosch, originally from the EFF)

25 April 2006

Uwe Hermann: Mafia Boss Secures His Data with Caesar Cipher

This is just too funny not to blog about it... You might have heard that the mafia boss Bernardo Provenzano has been arrested recently. Now people found out that he used some "cryptography" in his messages to relatives and so on. They were decrypted pretty fast: Mafia Boss's Encrypted Messages Deciphered.
"Looks like kindergarten cryptography to me. It will keep your kid sister out, but it won't keep the police out. But what do you expect from someone who is computer illiterate?" security guru Bruce Schneier, author of several books on cryptography, told Discovery News.
(via Bruce Schneier)

21 April 2006

Uwe Hermann: 22C3 videos finally available

Weee! The long awaited video recordings of last year's Chaos Communication Congress (22C3) are finally available via Bittorrent. There is a full mirror available, and others may soon appear in the 22C3 wiki. (via sicherheitsschwankung.de)

20 April 2006

Uwe Hermann: Server/client bookmarks a la del.icio.us

Jesus Climent asks for a "client/server solution for my bookmarks", which I read as "del.icio.us clone". As the comment feature is not available on his blog, I answer with another blog post. I know of the following Free Software del.icio.us clones:
  1. Scuttle (PHP, GPL)
  2. Rubric (Perl, Artistic license + GPL)
  3. Insipid (Perl, GPL)
I haven't tested recent versions of any of those, but I'll give scuttle another try soon, as I have wanted my own local del.icio.us for quite a while...

18 April 2006

Uwe Hermann: Why disk-encryption is not only useful for paranoid computer geeks

According to this (German) spiegel.de article, thieves have stolen a hard drive from the recording studio of the quite popular German band Rosenstolz. Among the contents of the drive are unreleased songs from the past six years and two songs which should be released on a new single in a few weeks. Apparently those two songs on the drive were the only instance they had, off-site backups only contained older "beta" versions of the songs. As the band is touring at the moment (i.e. no time for re-recording the songs), it's unclear whether the single can be released in time. Lessons learned: (via Fefe) [1] Well, I am a paranoid computer geek, and I'm probably not a normal person, but you get the point ;-)
[2] Oh, and if the thieves are stupid enough they will get caught while uploading the files ;-)

Uwe Hermann: Debian packages release names

The "I'm bored" release.

nice -n 19 find /usr/share/doc -name changelog.Debian.gz -exec zgrep "\* The .* [Rr]elease" \; sort uniq bogosort -n head -40
* The "Crack-smoking Squirrel" release.
* The "I should not have got out of bed yesterday" release
* The "Wohoo-we-are-going-to-main" release.
* The "And I thought IE had security bugs!" release.
* The "First snow in Finland" release.
* The "please buy me a brain" release
* The "I speak better English than this villian Bush" release.
* The "Brief Return From The Hell" release.
* The "Stoned Monkey" release.
* The "Let's do it cleaner" release.
* The "Fuck Me Harder" release.
* The "All or Nothing" release
* The "What's my name? Say my name, bitch!" release.
* The "next time I will buy myself a powerpc" release.
* The "I'm in such a hurry" release!
* The "I *hate* when that happens" release.
* The 'DOH!' release.
* The "laptop envy (damn tbm for having a nicer one than me)" release.
* The "Drunken Iceweasel" release.
* The "Follow the white rabbit" Release.
* The "someone should take my compiler away from me" release
* The "Ooops, I did it again" release
* The "Argh-I-took-the-wrong-version" release.
* The "Friday before Christmas" Release :-)
* The 'Yes, I need more sleep, and also to test my releases' release.
* The "you can't get sunburn at Finland" release.
* The "Chainsaw Psycho" release.
* The "Son of Drunken Iceweasel" release.
* The "Perl Sucks" release.
* The "I fucking hate libtool" release.
* The 'No, I don't use CVS' release.
* The "Throwing stuff away like mad and seeing if it still builds" release.
* The "This Space Intentionally Left Blank" Release
* The "From now on all of my world-killing weapons will be kept a TOTAL SECRET!" release.
* The "Lesbian Seagull" release.
* The "Oh my God, they killed Python, you bastards!" release.
* The "Evil Bitch Monster of Death" release.
* The "Pain as bright as steel" release.
* The "I've been hiding under a rock for two weeks" release.
* The "Suddenly the Dungeon collapses!! - You die..." release
I didn't bother to run it on the whole Debian archive on one of the Debian developer machines, as that would have probably pissed off some admins... (via Jonathan Carter)

Uwe Hermann: Unintended Consequences: Seven Years under the DMCA

The EFF has published a paper called "Unintended Consequences: Seven Years under the DMCA". It contains a huge list of things which went wrong since the DMCA was introduced. The conclusion:
Years of experience with the "anti-circumvention" provisions of the DMCA demonstrate that the statute reaches too far, chilling a wide variety of legitimate activities in ways Congress did not intend. As an increasing number of copyright works are wrapped in technological protection measures, it is likely that the DMCA's anti-circumvention provisions will be applied in further unforeseen contexts, hindering the legitimate activities of innovators, researchers, the press, and the public at large.
(via Symlink)

14 April 2006

Uwe Hermann: Debian Lessons

I've stumbled over Lars Wirzenius' article Debian Lessons (Subtitle: Project management lessons from the Debian project) today. The article is from 2000 (updated 2004), but is still very, very relevant nowadays. Here's the table of contents (reading this alone would already help many projects out there, I think): Make sure to read the whole article. This compilation of tips should prove useful for many community-driven Free Software project out there.

12 April 2006

Uwe Hermann: Invoke 9/11

I stumbled over this video (5.2 MB) today, while watching videoblogs in democracyplayer (for which I'm preparing a Debian package at this very moment). The video seems to be a bit older, and I have no idea who the original author is or what license applies to it. Anyways, it's funny, scary and very very true at the same time. Watch it.

Uwe Hermann: How to hijack an already running X11 application via ssh -X?

Dear Lazyweb, I have always wondered whether it is possible to "hijack" an already running X11 application on a remote server... Say I have a box at home which has a running X11 server with many applications, e.g. Firefox, xchat, xmms, whatever. Now, say I'm somewhere else with my laptop and login with "ssh -X" into my home box. I can now start X11 applications and they will be shown on my laptop screen. So far so good. But... how can I get one of the applications that were already running before I logged in from remote to be displayed on my laptop screen? Is it possible? How? Just curious.

10 April 2006

Uwe Hermann: Stuff

7 April 2006

Uwe Hermann: The Underhanded C Contest 2006

The Underhanded C Contest 2006 has started.
We hereby announce our second annual contest to write innocent-looking C code implementing malicious behavior. In many ways this is the exact opposite of the Obfuscated C Code Contest: in this contest you must write code that is as readable, clear, innocent and straightforward as possible, and yet it must fail to perform at its apparent function. To be more specific, it should do something subtly evil.
This year's challenge: ridiculous performance degradation
For this year's challenge, imagine you are an application developer for an OS vendor. You must write portable C code that will inexplicably taaaaaake a looooooong tiiiiime when compiled and run on a competitor's OS. The program is supposed to read a set of words on stdin, and print a frequency count of unique words in lexicographical order. Essentially the output should match the command line tr "[:space:]" "[\n*]" sort awk 'length($0)>0' uniq -c Try to write a simple C program that does this, but produces as wide a disparity as possible between its runtime on one platform and runtime on another (your "competitor.")
This sounds like a lot of fun ;-) I have participated last year and will most probably do so this year... Deadline: July 4th, 2006

5 April 2006

Uwe Hermann: Help prevent software patents! Again!

Speak up on Software Patents Oh great, the software patent debate is back. After a long and disgusting campaign where pro-software-patents lobbyists employed all kinds of semi-legal and undemocratic filthy tricks in order to introduce software patents in the EU behind our backs, the European Parliament decided by a large majority to reject the directive "on the patentability of computer implemented inventions" (a.k.a. software patents) in July 2005. Rightly so. It is beyond my imagination how a certain pro-software-patents commissioner (Charlie McCreevy) dares to restart the whole debate after such a clear defeat. Consultation and "public hearing" He has organized a "Consultation and public hearing on future patent policy in Europe" which pretends to collect your views on the software patent issue (which he's trying to introduce through the "Community Patent" backdoor). Alas, the "questionnaire" is inaccessible (it's only available in 5 languages, instead of all 25 (+2) languages of the EU member states), biased towards software patents, very obfuscated and unreadable for the general public. There's no independent working group which conducts or oversees the consultation, no independent studies and reading materials, no mentions of the negative implications of software patents, no public debate, nothing. Now, who would have expected that? The FSF Europe has published a response to the Patent Consultation Questionnaire, which highlights many of the problems. Similarly, the FFII has questioned the validity of the consultation procedure, and gives a very detailed explanation of all the serious flaws of the process. What can I do? Software patents suck (in case you didn't already know) Let me quote Donald Knuth on this:
I strongly believe that the recent trend in patenting algorithms is of benefit only to a very small number of attorneys and inventors, while it is seriously harmful to the vast majority of people who want to do useful things with computers.
(via MJ Ray)

3 April 2006

Uwe Hermann: HOWTO: Disk encryption with dm-crypt / LUKS and Debian

A few weeks ago I published a small HOWTO for using loop-aes to encrypt your hard drive, usb thumb drive etc. As I have bought a new 300 GB external USB disk drive on Friday, I have tried something new this time: disk encryption using dm-crypt / LUKS. It has been suggested to me multiple times that dm-crypt is superior to loop-aes, however I didn't get a real reason. Yes, it doesn't require any kernel patches and is easier to setup. But has any serious cryptographer looked at it sharply, yet? Did it withhold his eye contact? Anyways, here's how I encrypted my 300 GB drive. I largely followed the guide at the EncryptedDeviceUsingLUKS wiki page...
  1. Make sure you run Linux 2.6.16 or better. Previous versions suffer from an implementation problem which affects the security of dm-crypt, see Linux Kernel dm-crypt Local Cryptographic Key Disclosure.
  2. Enable the following options in your kernel:
    • Code maturity level options
      • Prompt for development and/or incomplete code/drivers
    • Device Drivers -> Multi-device support (RAID and LVM)
      • Device mapper support
      • Crypt target support
    • Cryptographic options
      • AES cipher algorithms
  3. Overwrite the whole drive with random data in order to slow down attacks on the encryption. At the same time perform a bad blocks scan to make sure the hard drive is not going to die too soon:
    badblocks -c 10240 -s -w -t random -v /dev/sdb
    Replace /dev/sdb with whatever is correct on your system. If you're really paranoid, and are willing to wait one or two days, do this:
    dd if=/dev/urandom of=/dev/sdb
  4. Install the required packages:
    apt-get install cryptsetup hashalot
    The current cryptsetup in Debian already supports LUKS, which was not the case a while ago, if I'm not mistaken.
  5. Create one or more partitions on the drive:
    cfdisk /dev/sdb
    I created one big 300 GB partition, /dev/sdb1.
  6. Setup LUKS:
    cryptsetup --verbose --verify-passphrase luksFormat /dev/sdb1
    Enter a good passphrase here. Don't spoil the whole endeavour by chosing a stupid or short passphrase.
  7. Open the encrypted device and assign it to a virtual /dev/mapper/samsung300gb device:
    cryptsetup luksOpen /dev/sdb1 samsung300gb
  8. Create a filesystem on the encrypted device:
    mkfs.ext3 -j -m 1 -O dir_index,filetype,sparse_super /dev/mapper/samsung300gb
    I used ext3 with some optimizations, see mke2fs(8).
  9. Mount the encrypted partition:
    mkdir /mnt/samsung300gb
    mount /dev/mapper/samsung300gb /mnt/samsung300gb
    That's it. Everything you write to /mnt/samsung300gb will be encrypted transparently.
  10. For unmounting use:
    umount /mnt/samsung300gb
    cryptsetup luksClose /dev/mapper/samsung300gb
After unmounting, nobody will be able to see your data without knowing the correct passphrase. Drive is stolen? No problem. Drive is broken, and you want to send it in for repair without the guys there poking in your data? No problem. You leave the USB drive at home and some jerk breaks into your house, steals your drive, rapes your wife, and kills your kids? No problem. Well, sort of, but you get the idea ;-) There's more things you can do, thanks to LUKS: have multiple passphrases which unlock your data, change/add/remove passphrases as you see fit, etc. Comments?

1 April 2006

Uwe Hermann: Linus Torvalds is a Debian developer now

Linus Torvalds is a Debian developer now. No, really.

30 March 2006

Uwe Hermann: TRUE and FALSE

Mhh, Andrew Morton cleans up the Linux kernel code...
We have no less than 65 implementations of TRUE and FALSE in the tree [...] The patch implements TRUE and FALSE in include/linux/kernel.h and removes all the private versions. The patch also kills off a few private implementations of NULL.
(via Stuart Yeates)

28 March 2006

Uwe Hermann: People should not be afraid of their governments. Governments should be afraid of their people.


Voil ! In                                                       view, a humble
 vaudevillian                                                  veteran, cast 
  vicariously as both                                         victim and
   villain by the                                            vicissitudes of Fate. This 
    visage, no mere                                         veneer of
     vanity, is a                                          vestige of the
      vox populi, now                                     vacant,
       vanished, as the once                             vital
        voice of the                                    verisimilitude now
         venerates what they once                      vilified. However, this 
          valorous                                    visitation of a bygone
           vexation stands                           vivified, and has
            vowed to                                vanquish these 
             venal and                             virulent                   Remember, remember the 5th of November
              vermin                              vanguarding
               vice and                          vouchsafing the
                violently                       vicious and
                 voracious                     violation of
                  volition. The only          verdict is 
                   vengeance; a              vendetta held as a 
                    votive, not in          vain, for the
                     value and             veracity of such shall one day
                      vindicate the       vigilant and the
                       virtuous.         Verily, this 
                        vichyssoise of  verbiage 
                         veers most    verbose
                          vis- -vis an introduction,
                           and so it is my
                            very good honor
                             to meet you
                              and you may
                               call me
                                  V.
Yes, I've seen V for Vendetta today. Very impressing movie, highly recommended! Makes you start to think...

27 March 2006

Uwe Hermann: Google Vim?

Google has hired Bram Moolenaar, author of vim. I bet the next beta-service Google announces will be "Google Vim" ;-) Or maybe not... (via digg.com)

Uwe Hermann: Technical Editor of a German Drupal book

Recently, I've had the pleasure to try out something new - reviewing a book before it is published. I have been acting as technical editor/reviewer (or whatever that's called in English) for the first German book about Drupal, written by Hagen Graf: "Drupal: Community-Websites entwickeln und verwalten mit dem Open Source-CMS". The book covers the Drupal 4.7-beta series and is a good introduction to Drupal and it's concepts. It's a nice book for people who want to learn more about creating websites with Drupal. More details in this post over at drupal.org. Reviewing books is a lot of fun - I might do that more often in future ;)

Next.

Previous.