Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default 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

  2. #2

    Default 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

  3. #3

    Default 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.
    > 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:
    standard vi has an encryption option, but vim's algorithm is unrelated to it.

    --
    Thomas E. Dickey
    [url]http://invisible-island.net[/url]
    [url]ftp://invisible-island.net[/url]
    Thomas Dickey Guest

  4. #4

    Default 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

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139