[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I was trying to fiddle with datafile chunks, packing,
> encryption and all that this provides, and I noticed that:
--- allegro._tx.chunks Sun Jun 23 10:12:57 2002
+++ allegro._tx Sun Jun 23 10:15:41 2002
@@ -5817,6 +5817,9 @@
Important: as soon as you have opened a file using an encryption
password, call packfile_password(NULL) again. Better still, don't touch
this function at all. Ever.
+ Also, if using encrypted chunks, you must set again the password you
+ had selected when opening the chunk before closing it. After the chunk
+ is closed, you can call packfile_password(NULL) again.
May I say that I don't understand at all ? Neither the three new lines, nor the
three ones above them:
Important: as soon as you have opened a file using an encryption
password, call packfile_password(NULL) again.
Why ? What's the reason ? Is that mandatory ? What if I want to keep using this password ?
Better still, don't touch this function at all. Ever.
!??? Just a few lines above: "Files written with an encryption password cannot be read
unless the same password is selected". How can I open my encrypted datafiles without
using this function ?
+ Also, if using encrypted chunks, you must set again the password you
+ had selected when opening the chunk before closing it.
Always ? Even if I don't change it in the meantime ? Why ?
+ After the chunk is closed, you can call packfile_password(NULL) again.
So I can't do that between the opening and the closing of the file ? Why ? Even if I
follow the previous advice ?
--
Eric Botcazou
ebotcazou@xxxxxxxxxx