[vlc-devel] [RFC] Memory keystore

Thomas Guillem thomas at gllm.fr
Fri Feb 5 09:55:25 CET 2016


Hi,

In the following patch https://patches.videolan.org/patch/11925/, Rémi
said:
"Better yet, store everything in memory so we have a safe somewhat
usable 
default implementation."

I like this idea but I have some questions:

1/ Do we want to save passwords in memory during the live time of the
process ? Or maybe during the live time of LibVLC ? (if so, LibVLC
instance should have a reference to the memory keystore module)

2/ If yes, should it be an option ? An option for each credentials (ask
when showing login dialog) ? or a global option (activated or not by
default) ? Since there is already an option to save the password
permanently, adding a second option in the dialog to save it for the
session may be disturbing for the user.

Currently, the plaintext keystore module was developed for debugging
purposes. I could rename it and re-arrange it to act as a memory module,
with an optional option to save on disk and use this module when there
is no other ones.

I also want to plug javax.security (for android) and Windows Keystore to
crypt/encrypt passwords using OS's keys when dumping the file (again, as
an option of the memory module).


More information about the vlc-devel mailing list