Ask a Question related to Linux / Unix Administration, Design and Development.
-
Riyaz #1
VI help
Hi Admins,
I have encrypted a file using vi -x filename option. Now I have
lost the encryption key to open the file. Is there any way I can
retrieve the data from the crypt file.
Riyaz Guest
-
jpd #2
Re: VI help
On 2004-06-29, Riyaz <riyaz.hagalwadi@tcs.com> wrote:
> Hi Admins,
> I have encrypted a file using vi -x filename option. Now I have
> lost the encryption key to open the file. Is there any way I can
> retrieve the data from the crypt file.
Well, there is no such option in /my/ vi, nvi. So I'll guess you're
using vim. A quick google gave me this: From the vim documentation:
<quote>
- There is never 100% safety. The encryption in Vim has not been tested for
robustness.
- The algorithm used is breakable. A 4 character key in about one hour, a 6
character key in one day (on a Pentium 133 PC). This requires that you know
some text that must appear in the file. An expert can break it for any key.
- Pkzip uses the same encryption, and US Govt has no objection to its export.
Pkzip's public file APPNOTE.TXT describes this algorithm in detail.
</quote>
IE this far you could've come with a simple bit of RTFM.
--
j p d (at) d s b (dot) t u d e l f t (dot) n l .
jpd Guest
-
Thomas Dickey #3
Re: VI help
jpd <read_the_sig@do.not.spam.it> wrote:
> On 2004-06-29, Riyaz <riyaz.hagalwadi@tcs.com> wrote:>> Hi Admins,
>> I have encrypted a file using vi -x filename option. Now I have
>> lost the encryption key to open the file. Is there any way I can
>> retrieve the data from the crypt file.standard vi has an encryption option, but vim's algorithm is unrelated to it.> Well, there is no such option in /my/ vi, nvi. So I'll guess you're
> using vim. A quick google gave me this: From the vim documentation:
--
Thomas E. Dickey
[url]http://invisible-island.net[/url]
[url]ftp://invisible-island.net[/url]
Thomas Dickey Guest
-
Michael Paoli #4
Re: VI help
[url]http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&selm=d85eb83f.0311090014.37edb78c%40posting.goog le.com[/url]
[email]riyaz.hagalwadi@tcs.com[/email] (Riyaz) wrote in message news:<b8cc8d6c.0406290139.7d83c92c@posting.google. com>...> Hi Admins,
> I have encrypted a file using vi -x filename option. Now I have
> lost the encryption key to open the file. Is there any way I can
> retrieve the data from the crypt file.Michael Paoli Guest



Reply With Quote

