libhairshirt vs libfootgun

Bombe machine used to crack Enigma ciphertext

 Peter Gutmann, an interesting crypto-academic from New Zealand, has proposed discussing two crypto libraries, libhairshirt and libfootgun:

  •  In libhairshirt, the crypto is hard to use, and the API is hard to use.
  • In libfootgun, the crypto is incredibly hard to use safely but the API makes it look really easy to use.

Gutmann’s comments arose while discussing the relative ease of making mistakes with modern crypto techniques. The discussion took place on the cryptography mailing list. Gutmann says he plans to write more of his observations about this one of these days.

Years ago I tried to write a paper about a company product that used an infamous approach to updating its traffic keys: use the old traffic key to protect the distribution of the new traffic key. I knew the approach was bad, and I tried to admit as much in the paper without sounding critical of our developers. Management decided that the article was too embarrassing to publish. I don’t remember exactly when this happened, but I responded by writing another book about crypto techniques.

In the days of über-hacking I would have just rewritten the offending code over the weekend. It’s annoying to get old (and for your skills to get old).

ACSAC Android Apple attacks authentication Bitcoin Boak Calibre certificates CIA properties classified Clinton cloud computing Coursera CPU cracking crypto cybercurrency databases design principles domain names Drupal ebooks elections email encrypted messages evaluations file systems flaws Ft. Meade GUI history iOS iPhone KGB Kindle library malware memory sizes Microsoft mobile security MSSE Multics NSA NSTISSI 4011 OPDS passwords phishing President quantum Quizlet RAM risks secrecy spam SSL stream cipher TCSEC Top Secret training Trump UMN video Wordpress xor