The 7 Principles of Open Source Communities

The 7 Principles of Open Source Communities

KDE and the Secret Service Michael Leupold <[email protected]> 04.07.2010 | Tampere, Finland | Akademy 2010 Agenda ● Secret Storage ● ksecretservice Architecture ● Planned Features ● Current Progress ● Questions? KDE and the Secret Service www.kde.org 2 Secret Storage ● Stores a user's secrets (eg. passwords) ● Encrypted with master password ● Unlocked on demand ● KDE's KWallet, GNOME Keyring ● Problems: ● Users use software based on different desktops ● 3rd party applications: Which to support? KDE and the Secret Service www.kde.org 3 Secret Storage API ● Solution: Common API ● freedesktop.org specification project ● Started July 2009 ● Stef Walter (GNOME), Michael Leupold (KDE) ● Goals: ● Improved interoperability ● Make it appealing for 3rd party applications to use it KDE and the Secret Service www.kde.org 4 Secret Storage API ● D-Bus API ● Collection ~ Wallet ● Collection of secrets ● Lock, Unlock, Delete, ... ● Item ~ Entry in wallet ● Individual secret ● Identified by string attributes ● GetSecret, SetSecret, Lock, Unlock, ... ● Prompt objects ● Designed to be asynchronous KDE and the Secret Service www.kde.org 5 ksecretservice Backend ● Daemon Backend ● Implement access to “real secrets” ● Designed similar to the D-Bus API ● Asynchronous – Level varies – Determined by specific implementation ● Examples: – Temporary collection (memory only) – Stored in file (like .kwl) – Stored on thumb drive or smart card KDE and the Secret Service www.kde.org 6 ksecretservice Frontend ● Daemon Frontend ● Implements protocol to communicate with applications ● Uses Backends to perform actual operations ● Examples: – Secret Storage API – KWallet (backwards compatibility) – Others might make sense: ● kpasswdserver ● ssh agent KDE and the Secret Service www.kde.org 7 ksecretservice Client APIs ● Client-side API ● Straightforward, similar to D-Bus API ● KWallet::Wallet (deprecated, less features) ● Possibly Qt-only so non-KDE applications can use it KDE and the Secret Service www.kde.org 8 ksecretservice architecture Client Client Client (using new API) (using legacy API) D-Bus Session Bus Secret Storage KWallet Frontend Frontend Frontend X Backend Backend Backend KDE and the Secret Service www.kde.org 9 Planned features ● Multiple ways to open collections ● Password ● Smart card ● Temporary collections ● “More secure” on user request ● Robust ACLs ● Detect tampering with configuration KDE and the Secret Service www.kde.org 10 Current progress ● Basic framework done ● Working on new secret file format ● In the works: UI, ACLs, configuration, client-side libraries … ● Progressing slowly but steadily ● First release with KDE 4.6 (maybe!) ● Help is always welcome! KDE and the Secret Service www.kde.org 11 Thanks for your attention! Questions? (Thanks to Thomas Thym for this great presentation template) KDE and the Secret Service www.kde.org 12.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    12 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us