vi key encryption recovery

I am using HP-UX. I have encrypted my text file with vi. I don't know the key. I have root access. how can I recover the file without the key? Help!
aburkeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

aburkeAuthor Commented:
Edited text of question
0
jos010697Commented:
There's (almiost) no way you can decrypt the contents of
your file if you don't have the key. You're vi session is
probably not running anymore, but in the unlikely event
that it is, check your /tmp directory; vi leaves its internal
buffers there, containing most of the orginal contents of
your file.

BTW, didn't your sysadm make backups lately?

kind regards (and lots of success)

Jos aka jos@and.nl
0
aburkeAuthor Commented:
Backup is not an option. The file was created over one day. I got the "CBW" = "Crypt Breakers Workbench" code but havn't had time to attempt to compile it. I here it may not work on modern platforms. Any other options ?
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

jos010697Commented:
No, I'm sorry. Like I said, without a brute force (and I mean
_brute_ force) exhaustive search it's next to impossible
to break the encryption code ...

Maybe hypnosis could make you remember the password? ;-)

I'm sorry I can't help you out on this one.

Jos aka jos@and.nl
0
pc012197Commented:
I didn't even know vi could encrypt stuff. Is there any documentation on that feature on the web? Since vi is freely exportable (maybe not HP's?) its encryption must be easy to break.
I have used CBW before (for experiments only), it works for the typical unix 'crypt (1)' command, but not for DES like in crypt(3).

0
aburkeAuthor Commented:
Vi can encryt stuff. do a captial 'X' at the command line promt and it will ask you for a "key:" (password).

I've been talking(email) to some seriously heavy encryption experts and they say vi's encryption is week and CWB will break it. All I need is some time to compile and learn and stuff. All the resources of the world yet no time. Life is too short.

Anyway, originally I was hoping someone would say "download this...run...and done!" but nope. Nothing worth having is easy to get.

I'm gonna try CWB and see what happens late next week. I'll post and let you guys know what happend. Thanks for your time.
0
aburkeAuthor Commented:
Oh yeah! it was a finger fumble that created this problem. That's why I don't know the password.
0
aburkeAuthor Commented:
How do I close this question and rate the answer ? I can't seem to get there from here.
0
jos010697Commented:
I have no idea, but since nobody really answered your
question, why not 'answer' it yourself and rate it anything
you want. At least this thread would be closed ...

I know, I know it's a dirty trick, but I'm an animal ;-)

kind regards,

Jos
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jos010697Commented:
Woops, that was supposed a comment; rate me an F! ;-)

Jos
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.