~0x44/agent-smith/script_changes_for_testing

« back to all changes in this revision

Viewing changes to scripts/reset_password.sh

  • Committer: Christopher MacGown
  • Date: 2010-09-21 16:28:04 UTC
  • Revision ID: chris@slicehost.com-20100921162804-mehgpfyszhwqxtjz
Typo -> shared should be shared_key

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
  shared_key_file=${TEMP}/dh_shared_key
20
20
  encrypted_string=$1
21
21
  shared_key=`cat $shared_key_file | cut -d ':' -f 2`
22
 
  shared=${shared_key## }
 
22
  shared_key=${shared_key## }
23
23
 
24
24
  echo "$encrypted_string" | openssl enc -d -a -aes-128-cbc -pass pass:${shared_key} -nosalt
25
25
}