[vlc-devel] [PATCH 00/11] Keystore V3
Thomas Guillem
thomas at gllm.fr
Wed Jan 6 16:56:20 CET 2016
News since last set of patches:
vlc_keystore:
- Path and user are now optional.
plaintext:
- Remove flow-controlling MACRO.
- Concurrent VLC process support: use flock to lock the plaintext file. Only
one LibVLC process can acquire it, it will fail if a second one try to
acquire it. It's still possible to have more than one plaintext in the same
process.
KWallet:
- Fixed kde4-config commit
- KWallet API is not thread safe and should be used from the QApplication main
loop. Therefore, use QT signal/slots to emit events to the mainloop.
Connection to the KWallet service is now interruptible by vlc_i11e.
- Fixed KWallet detection using
QDBusConnection::sessionBus().interface().isServiceRegistered() in order to
don't spawn a service on non KDE environments.
vlc_credential:
- Full rework of the API, this helper will search for a credential using url,
VLC options, the vlc_keystore or by asking the user via dialog_Login().
TODO:
- dsm/smb/ftp support
- Option to store the password from the dialog
Thomas Guillem (11):
add vlc_keystore API
configure: add flock
keystore: add plaintext module
keystore: add libsecret module
configure: move up kde4-config detection
keystore: add kwallet module
add tests
add vlc_credential API
http: use vlc_credential
sftp: use vlc_credential
live555: use vlc_credential
configure.ac | 53 +++-
include/vlc_keystore.h | 298 ++++++++++++++++++
modules/Makefile.am | 1 +
modules/access/http.c | 34 ++-
modules/access/live555.cpp | 36 ++-
modules/access/sftp.c | 60 ++--
modules/keystore/Makefile.am | 35 +++
modules/keystore/kwallet.cpp | 706 +++++++++++++++++++++++++++++++++++++++++++
modules/keystore/kwallet.hpp | 86 ++++++
modules/keystore/plaintext.c | 554 +++++++++++++++++++++++++++++++++
modules/keystore/secret.c | 346 +++++++++++++++++++++
src/Makefile.am | 2 +
src/libvlc-module.c | 7 +
src/libvlccore.sym | 10 +
src/misc/keystore.c | 400 ++++++++++++++++++++++++
test/Makefile.am | 3 +
test/modules/keystore/test.c | 296 ++++++++++++++++++
17 files changed, 2866 insertions(+), 61 deletions(-)
create mode 100644 include/vlc_keystore.h
create mode 100644 modules/keystore/Makefile.am
create mode 100644 modules/keystore/kwallet.cpp
create mode 100644 modules/keystore/kwallet.hpp
create mode 100644 modules/keystore/plaintext.c
create mode 100644 modules/keystore/secret.c
create mode 100644 src/misc/keystore.c
create mode 100644 test/modules/keystore/test.c
--
2.1.4
More information about the vlc-devel
mailing list