annotate .hgignore @ 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 af900f49df89
children f2cb99b196b1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
1 syntax: glob
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
2 *.pyc
140
e496134ed679 added .pyv & twistd.pid to .hgignore
Goffi <goffi@goffi.org>
parents: 4
diff changeset
3 *.pyv
3
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
4 *.swp
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
5 *.swo
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
6 tags
4
3c1cefd41186 added sat executable
Goffi <goffi@goffi.org>
parents: 3
diff changeset
7 twistd.log
140
e496134ed679 added .pyv & twistd.pid to .hgignore
Goffi <goffi@goffi.org>
parents: 4
diff changeset
8 twistd.pid
269
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
9 bridge_constructor/generated
335
Goffi <goffi@goffi.org>
parents: 269
diff changeset
10 _trial_temp/
269
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
11 sat.egg-info
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
12 *.un~
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
13 dist
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
14 MANIFEST
474
e519f8f33cba misc: Add the build directory to the ignore file.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 335
diff changeset
15 build
598
af900f49df89 misc: add ctags_links to .hgignore
Goffi <goffi@goffi.org>
parents: 474
diff changeset
16 ctags_links/