Hi Eric,

Thanks a lot.  I'll give it a try and hopefully can retrieve the file
again :)


On Mon, 18 Apr 2011 16:37 -0600, "Erik Falor" <[email protected]> wrote:
> On Mon, Apr 18, 2011 at 12:29:29PM -0700, Mathew Brown wrote:
> > Hi,
> >   I had several files that were encrypted using the Blowfish algorithm. 
> >   All of the files were encrypted using the same passphrase.  However,
> >   after exiting Vim a few days ago, when I tried to open them again, all
> >   of them successfully opened except for one file.  Is there any way
> >   that I can feed a password list to vim and it can try to open the file
> >   using this list (I would generate the list based on permutations of my
> >   passphrase)?  I know quite a bit of the text that was in the file. 
> >   Any ideas?  Thanks for your help.
> 
> # use each passphrase from file keys to open the file in vim and
> # re-write it into a new file named for the passphrase (hope your
> # passphrase didn't have any spaces in it!)
> $ for key in $(cat keys); do vim blowfish.txt --cmd "set key=$key"\
>     -c ":set key= | saveas $key | q"; done
> 
> Now find which files look like ASCII text to the file command:
> $ file * | grep "ASCII text"
> 
> -- 
> Erik Falor
> Registered Linux User #445632 http://counter.li.org
> 
> Email had 1 attachment:
> + Attachment2
>   1k (application/pgp-signature)
-- 
  Mathew Brown
  [email protected]

-- 
http://www.fastmail.fm - The professional email service

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to