Mercurial > libervia-backend
annotate MANIFEST.in @ 1030:15f43b54d697
core, memory, bridge: added profile password + password encryption:
/!\ This changeset updates the database version to 2 and modify the database content!
Description:
- new parameter General / Password to store the profile password
- profile password is initialized with XMPP password value, it is stored hashed
- bridge methods asyncCreateProfile/asyncConnect takes a new argument "password" (default = "")
- bridge method asyncConnect returns a boolean (True = connection already established, False = connection initiated)
- profile password is checked before initializing the XMPP connection
- new private individual parameter to store the personal encryption key of each profile
- personal key is randomly generated and encrypted with the profile password
- personal key is decrypted after profile authentification and stored in a Sessions instance
- personal key is used to encrypt/decrypt other passwords when they need to be retrieved/modified
- modifying the profile password re-encrypt the personal key
- Memory.setParam now returns a Deferred (the bridge method "setParam" is unchanged)
- Memory.asyncGetParamA eventually decrypts the password, Memory.getParamA would fail on a password parameter
TODO:
- if profile authentication is OK but XMPP authentication is KO, prompt the user for another XMPP password
- fix the method "registerNewAccount" (and move it to a plugin)
- remove bridge method "connect", sole "asyncConnect" should be used
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 07 May 2014 16:02:23 +0200 |
parents | a3aa4d046914 |
children | 268278d9aef2 |
rev | line source |
---|---|
235
7a2ef5fe4e8d
distutils: added preinstall_check hack + some tuning while testing
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
1 include MANIFEST.in distribute_setup.py |
268
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
2 global-include *.py |
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
3 global-include *.ini |
229 | 4 global-include *.po *.mo |
5 global-include CHANGELOG COPYING* INSTALL README* | |
6 global-include *.sh | |
7 include src/sat.* | |
8 include frontends/src/jp/jp frontends/src/primitivus/primitivus frontends/src/wix/wix | |
273
3b5e856b3a32
Bridge: added mediawiki constructor in bridge constructor, usefull for documentation purpose
Goffi <goffi@goffi.org>
parents:
270
diff
changeset
|
9 include src/bridge/bridge_constructor/mediawiki_template.tpl |
270
4005bf3ce35d
updated MANIFEST.in to exclude bridge_constructor's generated dir
Goffi <goffi@goffi.org>
parents:
268
diff
changeset
|
10 prune src/bridge/bridge_constructor/generated |