[Top][All Lists]
[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: |
Tue, 10 Aug 2010 18:13:11 -0400 (EDT) |
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.
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.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net