On Jan 5, 2008 6:39 PM, Yoshinori K. Okuji <[EMAIL PROTECTED]> wrote:
> On Saturday 05 January 2008 07:30, Bean wrote:
> > I'm thinking that compressed might not be the right word, as filter
> > doesn't limit to decompression, it can support decryption or format
> > conversion as well. I guess the name grub_file_open_ex may be better.
> > I also add a flag to the function, if flag!=0, filters are used, and
> > if flag=0, grub_file_open_ex is just like grub_file_open.
>
> I feel that this is too theoretical. In reality, if you want to support, say,
> an encrypted file to be decrypted automatically, you need to supply a private
> key or a passphrase or something like that. How can this be unified and
> transparent?

the filter can export a command/function to set key, then it can use
it to decrypted files. if the password is file based, it can prompt
the user  before opening the file.

-- 
Bean


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to