Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The file was encrypted using the FreeBSD bdes(1) command with the default parameters.

share|improve this question

Assuming $KEY contains the key used for the bdes(1) encryption, the following sequence does the job.

 HEXKEY=`echo $KEY | 
   dd conv=parodd | 
   od -t x1 2>/dev/null | 
   awk '{$1=""; print}' |
   sed 's/ //g'` 
 openssl enc -d -K $HEXKEY -iv 0 -des-cbc

One remaining problem, is that openssl complains when it reaches the end of the file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.