vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] encrypt/decrypt problem when moving from 9.7 to 9.8


From: Thomas Dickey
Subject: Re: [vile] encrypt/decrypt problem when moving from 9.7 to 9.8
Date: Wed, 11 Aug 2010 04:08:32 -0400 (EDT)

On Wed, 11 Aug 2010, Chris G wrote:

On Tue, Aug 10, 2010 at 06:13:11PM -0400, Thomas Dickey wrote:
On Tue, 10 Aug 2010, Chris G wrote:

I have some files which I access using 'vile -k <passwd> <filename>',
I've just moved from vile 9.7za to vile 9.8 and the encrypt/decrypt
isn't compatible.  I.e. my files that were created using vile 9.7za
were not decrypted correctly using vile 9.8.

After having a minor panic I installed vile 9.7s (the default Ubuntu
version) and that decrypted my files OK.

However I thought it would be worth reporting the issue.

Actually, that appears to be referring to a fix:

 20100405 (zc)
        + change type in vl_setup_encrypt() to "int", to make this 32-bits for
          32- and 64-bit platforms, needed to make the algorithm work with
          64-bits.  The original "long" was needed for 16-bit systems.

...but I didn't address migration from the old files to the new.

Without the fix, files created on a 32-bit system wouldn't decrypt
on 64-bit systems, and vice versa.

.... but mine were both 64-bit builds of vile (see my second post).

Ah, but I see, you changed the type in 9.7zc so that anything
encrypted before 9.7zc wouldn't decrypt correctly in versions from
there on.

well, at the time I only noticed that none of my files from my 32-bit machine decrypted on the 64-bit VMs that I was testing on.

Regarding migration, it seems that vile-crypt (the external program) uses
the original uemacs algorith.  But it wouldn't be hard to add an option to
that, to allow one to use it for a migration utility.

It's not a huge issue, I can decrypt my files with the old (9.7)
version of vile and then re-encrypt them with the new version.

ok.  If it is a huge problem, I can make a converter.  At the moment I'm
working on another area that I overlooked (a bug in the djgpp port).

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]