Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .