accounts-sso:rikonen-signon.git
6 years agoAdded new class EncryptedDevice. EncryptedDevice inherits QIODevice and uses AES...
Rauli Ikonen [Thu, 10 Feb 2011 11:55:59 +0000 (13:55 +0200)]
Added new class EncryptedDevice. EncryptedDevice inherits QIODevice and uses AES in OFB mode to encrypt/decrypt any data that passes through it. The constructor allows specifying the actual device from which data is read from / written to, encryption key and initialization vectors for input and output streams. PluginProxy and RemotePluginProcess were changed so that they wrap the QProcess and QFile devices into EncryptedDevice objects and use those for reading/writing data so that no data is passed in plain text.

The encryption key and initialization vectors are generated by PluginProxy after launching remotepluginprocess and passed through normal stdin channel before any other data as a string that has been encrypted using aegis-crypto with *sso-encryption-token the remotepluginprocess provides. That is, aegis-crypto is only used to protect the encryption key. This is because aegis-crypto does not allow maintaining a state and is thus unsuitable for doing stream encryption.

Fixes https://bugs.meego.com/show_bug.cgi?id=12435

6 years agoSignonAuthSessionAdaptor now enforces the authentication method and mechanism. New...
Rauli Ikonen [Thu, 10 Feb 2011 10:07:31 +0000 (12:07 +0200)]
SignonAuthSessionAdaptor now enforces the authentication method and mechanism. New error code was added for this. Fixes https://bugs.meego.com/show_bug.cgi?id=12425

6 years agoSignonAuthSessionAdaptor now only allows setId call with identity id that the calling...
Rauli Ikonen [Thu, 10 Feb 2011 09:58:49 +0000 (11:58 +0200)]
SignonAuthSessionAdaptor now only allows setId call with identity id that the calling process is allowed to access. Fixes https://bugs.meego.com/show_bug.cgi?id=12570

6 years agoSignonAuthSessionAdaptor now refuses to serve requests that come from a process diffe...
Rauli Ikonen [Thu, 10 Feb 2011 09:14:23 +0000 (11:14 +0200)]
SignonAuthSessionAdaptor now refuses to serve requests that come from a process different than the one that created the associated SignonAuthSession object. Fixes bugs.meego.com/show_bug.cgi?id=12427

6 years agoverifySecret call now properly encrypts password both on client and server side....
Rauli Ikonen [Wed, 9 Feb 2011 15:21:11 +0000 (17:21 +0200)]
verifySecret call now properly encrypts password both on client and server side. Fixes https://bugs.meego.com/show_bug.cgi?id=12430

6 years agoFixed storeCredentials to use decodedSecret instead of secret. Fixes https://bugs...
Rauli Ikonen [Wed, 9 Feb 2011 15:16:03 +0000 (17:16 +0200)]
Fixed storeCredentials to use decodedSecret instead of secret. Fixes https://bugs.meego.com/show_bug.cgi?id=12429

6 years agoAll SQL queries with string parameters changed to use prepared statements. New test...
Rauli Ikonen [Wed, 9 Feb 2011 15:07:53 +0000 (17:07 +0200)]
All SQL queries with string parameters changed to use prepared statements. New test case added to ensure checkPassword does not allow SQL injection. Fixes https://bugs.meego.com/show_bug.cgi?id=12424

6 years agoVersion 7.4 7.4
Abhijit Bera [Wed, 9 Feb 2011 09:53:43 +0000 (15:23 +0530)]
Version 7.4

6 years agoAdded a new property RenewToken to the SignOn:SessionData class.
Abhijit Bera [Wed, 9 Feb 2011 09:45:00 +0000 (15:15 +0530)]
Added a new property RenewToken to the SignOn:SessionData class.

6 years agoVersion 7.3
Aurel Popirtac [Mon, 7 Feb 2011 10:00:16 +0000 (12:00 +0200)]
Version 7.3

6 years agoRemoved trace line which produces seg. fault in singond.
Aurel Popirtac [Fri, 4 Feb 2011 14:49:22 +0000 (16:49 +0200)]
Removed trace line which produces seg. fault in singond.

6 years agoMerge branch 'bug_209182'
Tomi Suviola [Mon, 7 Feb 2011 08:11:30 +0000 (10:11 +0200)]
Merge branch 'bug_209182'

6 years agoRemove multiple documentation generation
Tomi Suviola [Fri, 4 Feb 2011 14:08:55 +0000 (16:08 +0200)]
Remove multiple documentation generation

6 years agoFix bug 212629 - SignOn::Error Class Enums (enum SignOn::Error::ErrorType) documentation
Tomi Suviola [Fri, 4 Feb 2011 13:29:41 +0000 (15:29 +0200)]
Fix bug 212629 - SignOn::Error Class Enums (enum SignOn::Error::ErrorType) documentation

6 years agoVersion 7.2 7.2
Alberto Mardegan [Fri, 4 Feb 2011 10:36:05 +0000 (12:36 +0200)]
Version 7.2

6 years agoBackup implementation
Alberto Mardegan [Fri, 4 Feb 2011 10:08:51 +0000 (12:08 +0200)]
Backup implementation

This patch changes the way the backup is performed: now all files which needs
to be saved will be copied to /home/user/.signon/backup/, and the whole
directory will be saved.

6 years agoMake CAM test build again
Alberto Mardegan [Thu, 3 Feb 2011 08:37:11 +0000 (10:37 +0200)]
Make CAM test build again

6 years agoRefactor and correct the backup methods
Alberto Mardegan [Wed, 2 Feb 2011 12:03:05 +0000 (14:03 +0200)]
Refactor and correct the backup methods

Make CAMConfiguration part of the SignOn configuration, removing duplicate
initialization and storage.
Only store the base directory into the CAMConfiguration, and let the file path
be computed at runtime.

6 years agoversion update 7.1
Tomi Suviola [Fri, 4 Feb 2011 05:47:23 +0000 (07:47 +0200)]
version update

6 years agoFix bug 220713 - COREWEB: /usr/bin/facebook-meego 'deref operator= QList::clear clear...
Tomi Suviola [Thu, 3 Feb 2011 12:13:05 +0000 (14:13 +0200)]
Fix bug 220713 - COREWEB: /usr/bin/facebook-meego 'deref operator= QList::clear clearOperationsQueue SignOn::AuthSessionImpl::authenticationSlot'

6 years agoFix bug 221444 - Credential tag not defined in signon
Tomi Suviola [Thu, 3 Feb 2011 11:59:52 +0000 (13:59 +0200)]
Fix bug 221444 - Credential tag not defined in signon

6 years agoMove SIM-DLC extension to its own repository
Alberto Mardegan [Tue, 1 Feb 2011 11:31:48 +0000 (13:31 +0200)]
Move SIM-DLC extension to its own repository

Code is moved to:
http://gitorious.org/accounts-sso/signon-sim-dlc-extension

6 years agoVersion 7.0 7.0
Dominic Velikakath [Wed, 2 Feb 2011 05:47:12 +0000 (11:17 +0530)]
Version 7.0

6 years agoBugfix #222989 - If we call identity's remove API twice, second time removed signal...
Dominic Velikakath [Tue, 1 Feb 2011 08:01:19 +0000 (13:31 +0530)]
Bugfix #222989 - If we call identity's remove API twice, second time removed signal is not emitted

6 years agoRevert wrong merge.
Alberto Mardegan [Tue, 1 Feb 2011 11:45:44 +0000 (13:45 +0200)]
Revert wrong merge.

The harmattan branch was accidentally merged into the master.
Revert "Merge branch 'master' of gitorious.org:accounts-sso/signon"
This reverts commit 747ef06f5492147bfe392ff31a5744ed3a44999d.

6 years agoVersion 6.9
Aurel Popirtac [Mon, 31 Jan 2011 10:37:45 +0000 (12:37 +0200)]
Version 6.9

6 years agoFixes NB#222764 - Uploading image through flickr fails with SSO error.
Aurel Popirtac [Mon, 31 Jan 2011 09:17:36 +0000 (11:17 +0200)]
Fixes NB#222764 - Uploading image through flickr fails with SSO error.

6 years agoPumping up version.
Lucian Horga [Mon, 31 Jan 2011 09:21:52 +0000 (11:21 +0200)]
Pumping up version.

6 years agoTweak to fix the matching tokens. Modification according to review. review
Lucian Horga [Sat, 29 Jan 2011 16:17:24 +0000 (18:17 +0200)]
Tweak to fix the matching tokens. Modification according to review.

6 years agoUpdated tests and sso test plugin to support ACL querying.
Lucian Horga [Thu, 27 Jan 2011 14:31:38 +0000 (16:31 +0200)]
Updated tests and sso test plugin to support ACL querying.

6 years agoPeer access tokens query methods made public.
Lucian Horga [Thu, 27 Jan 2011 14:31:04 +0000 (16:31 +0200)]
Peer access tokens query methods made public.

6 years agoSesssionCore updated to pass ACL to auth. plugin.
Lucian Horga [Thu, 27 Jan 2011 14:30:07 +0000 (16:30 +0200)]
SesssionCore updated to pass ACL to auth. plugin.

6 years agoMerge branch 'master' of gitorious.org:accounts-sso/signon
Lucian Horga [Fri, 28 Jan 2011 17:05:42 +0000 (19:05 +0200)]
Merge branch 'master' of gitorious.org:accounts-sso/signon

6 years agoVersion 6.7
Aurel Popirtac [Thu, 27 Jan 2011 10:20:21 +0000 (12:20 +0200)]
Version 6.7

Fixed include path.

6 years agoVersion 6.7
Aurel Popirtac [Thu, 27 Jan 2011 09:38:49 +0000 (11:38 +0200)]
Version 6.7

Updated linkage paths for signond & remotepluginprocess.

6 years agoMerge branch 'master' of gitorious.org:accounts-sso/signon
Lucian Horga [Wed, 26 Jan 2011 16:02:44 +0000 (18:02 +0200)]
Merge branch 'master' of gitorious.org:accounts-sso/signon

6 years agoVersion 6.7
Aurel Popirtac [Wed, 26 Jan 2011 12:34:59 +0000 (14:34 +0200)]
Version 6.7

6 years agoUpdated tests' to the new plugins common path definitions.
Aurel Popirtac [Wed, 26 Jan 2011 10:31:23 +0000 (12:31 +0200)]
Updated tests' to the new plugins common path definitions.

6 years agoUpdated signond to use the new plugins' common lib.
Aurel Popirtac [Wed, 26 Jan 2011 10:30:16 +0000 (12:30 +0200)]
Updated signond to use the new plugins' common lib.

6 years agoAdded new signon auth plugins' common lib.
Aurel Popirtac [Wed, 26 Jan 2011 10:29:50 +0000 (12:29 +0200)]
Added new signon auth plugins' common lib.

6 years agoPlugin process BLOB IO support.
Aurel Popirtac [Wed, 26 Jan 2011 10:28:14 +0000 (12:28 +0200)]
Plugin process BLOB IO support.

6 years agoCoding style and more debugging info.
Aurel Popirtac [Wed, 26 Jan 2011 10:27:31 +0000 (12:27 +0200)]
Coding style and more debugging info.

6 years agoPlugin proxy BLOB IO support.
Aurel Popirtac [Mon, 24 Jan 2011 19:16:19 +0000 (21:16 +0200)]
Plugin proxy BLOB IO support.

6 years agoUpdated test plugin.
Aurel Popirtac [Mon, 24 Jan 2011 19:15:51 +0000 (21:15 +0200)]
Updated test plugin.

6 years agoUpdated auth. session tests.
Aurel Popirtac [Mon, 24 Jan 2011 19:15:29 +0000 (21:15 +0200)]
Updated auth. session tests.

6 years agoMerge branch 'master' of gitorious.org:accounts-sso/signon
Lucian Horga [Tue, 25 Jan 2011 16:40:44 +0000 (18:40 +0200)]
Merge branch 'master' of gitorious.org:accounts-sso/signon

6 years agoversion update 6.6
Tomi Suviola [Tue, 25 Jan 2011 11:39:28 +0000 (13:39 +0200)]
version update

6 years agoChanges for signon to add new keywords to enable multiple dialogs in signon-ui
Tomi Suviola [Tue, 25 Jan 2011 11:30:46 +0000 (13:30 +0200)]
Changes for signon to add new keywords to enable multiple dialogs in signon-ui

6 years agoVersion 6.5 6.5
Alberto Mardegan [Tue, 18 Jan 2011 12:35:30 +0000 (14:35 +0200)]
Version 6.5

6 years agoAdd doxygen copyright info to public headers
Alberto Mardegan [Tue, 18 Jan 2011 12:33:04 +0000 (14:33 +0200)]
Add doxygen copyright info to public headers

Fixes: NB#199366 - Copyright tag not defined in signon

6 years agoVersion 6.4 6.4
Alberto Mardegan [Tue, 18 Jan 2011 09:03:42 +0000 (11:03 +0200)]
Version 6.4

6 years agoSASL: Smarter forming of default values
Alberto Mardegan [Mon, 17 Jan 2011 13:41:50 +0000 (15:41 +0200)]
SASL: Smarter forming of default values

If the Authname is not given, use the username.
If the FQDN is not given, use the realm (if not empty).

Fixes: NB#218635 - Generates invalid DIGEST-MD5 responses for XMPP

6 years agoversion increase 6.3
Tomi Suviola [Fri, 14 Jan 2011 07:01:54 +0000 (09:01 +0200)]
version increase

6 years agoMerge branch 'forgot'
Tomi Suviola [Fri, 14 Jan 2011 06:59:25 +0000 (08:59 +0200)]
Merge branch 'forgot'

6 years agoVersion 6.2 6.2
Aurel Popirtac [Thu, 13 Jan 2011 11:31:13 +0000 (13:31 +0200)]
Version 6.2

6 years agoFixes: NB#217201 - [Maemo] Empty Mechanism is recieved when 250 or 350K of data is...
Aurel Popirtac [Wed, 12 Jan 2011 20:13:44 +0000 (22:13 +0200)]
Fixes: NB#217201 - [Maemo] Empty Mechanism is recieved when 250 or 350K of data is sent from an application to ovi authplugin via signon demon.

6 years agoAdd missing parts for forgot my password use case
Tomi Suviola [Tue, 11 Jan 2011 13:59:11 +0000 (15:59 +0200)]
Add missing parts for forgot my password use case

6 years agoMerge branch 'master' of gitorious.org:accounts-sso/signon
Lucian Horga [Tue, 11 Jan 2011 16:53:16 +0000 (18:53 +0200)]
Merge branch 'master' of gitorious.org:accounts-sso/signon

6 years agoFixed 210071 changed password not updated in db
Devanjan Choudhury [Wed, 5 Jan 2011 07:46:42 +0000 (13:16 +0530)]
Fixed 210071 changed password not updated in db

6 years agoversion inc 6.1
Tomi Suviola [Tue, 28 Dec 2010 08:43:41 +0000 (10:43 +0200)]
version inc

6 years agoAdded new error codes to session
Tomi Suviola [Mon, 27 Dec 2010 11:59:47 +0000 (13:59 +0200)]
Added new error codes to session

6 years agoAdd verify user functionality
Tomi Suviola [Mon, 27 Dec 2010 11:18:38 +0000 (13:18 +0200)]
Add verify user functionality

6 years agoAdd verify user button and functionality
Tomi Suviola [Mon, 27 Dec 2010 11:09:58 +0000 (13:09 +0200)]
Add verify user button and functionality

6 years agoAdd overloaded verify user functionality and new error codes
Tomi Suviola [Mon, 27 Dec 2010 10:08:32 +0000 (12:08 +0200)]
Add overloaded verify user functionality and new error codes

6 years agoVersion 6.0
Aurel Popirtac [Mon, 13 Dec 2010 13:52:26 +0000 (15:52 +0200)]
Version 6.0

6 years agoIncluded common header.
Aurel Popirtac [Mon, 13 Dec 2010 13:46:10 +0000 (15:46 +0200)]
Included common header.

6 years agoVersion 5.9
Aurel Popirtac [Mon, 13 Dec 2010 13:26:40 +0000 (15:26 +0200)]
Version 5.9

6 years agoMerge branch 'bug_210802'
Aurel Popirtac [Mon, 13 Dec 2010 13:25:54 +0000 (15:25 +0200)]
Merge branch 'bug_210802'

6 years agoUpdated other tracing defs: libsignon-qt, signon plugins.
Aurel Popirtac [Mon, 13 Dec 2010 12:44:24 +0000 (14:44 +0200)]
Updated other tracing defs: libsignon-qt, signon plugins.

6 years agoDaemon init and removal of idle tracing.
Aurel Popirtac [Mon, 13 Dec 2010 07:38:52 +0000 (09:38 +0200)]
Daemon init and removal of idle tracing.

6 years agoLogging level configurable.
Aurel Popirtac [Mon, 13 Dec 2010 07:38:17 +0000 (09:38 +0200)]
Logging level configurable.

6 years agoCommon defs.
Aurel Popirtac [Mon, 13 Dec 2010 07:37:24 +0000 (09:37 +0200)]
Common defs.

6 years agoModifying Trace object.
Aurel Popirtac [Mon, 13 Dec 2010 07:35:35 +0000 (09:35 +0200)]
Modifying Trace object.

6 years agoFixes: NB#205808 - license_question.
Aurel Popirtac [Fri, 10 Dec 2010 12:42:18 +0000 (14:42 +0200)]
Fixes: NB#205808 - license_question.

6 years agoincrease version 5.8
Tomi Suviola [Fri, 10 Dec 2010 12:17:42 +0000 (14:17 +0200)]
increase version

6 years agoFix bug 209899 - [Maemo] : Run time error when using SignOn::Identity::signOut
Tomi Suviola [Fri, 10 Dec 2010 10:00:22 +0000 (12:00 +0200)]
Fix bug 209899 - [Maemo] : Run time error when using SignOn::Identity::signOut

6 years agoVersion 5.7
Aurel Popirtac [Fri, 3 Dec 2010 12:02:08 +0000 (14:02 +0200)]
Version 5.7

6 years agoFixing credentials DB update.
Aurel Popirtac [Fri, 3 Dec 2010 11:32:54 +0000 (13:32 +0200)]
Fixing credentials DB update.

6 years agoSetting DB version at the creation time.
Aurel Popirtac [Fri, 3 Dec 2010 11:32:29 +0000 (13:32 +0200)]
Setting DB version at the creation time.

6 years agoVersion 5.6 5.6
Alberto Mardegan [Wed, 1 Dec 2010 14:04:59 +0000 (16:04 +0200)]
Version 5.6

6 years agoRemove useless return value from {add,remove}Reference
Alberto Mardegan [Wed, 1 Dec 2010 08:30:55 +0000 (10:30 +0200)]
Remove useless return value from {add,remove}Reference

Instead, use D-Bus error messages to inform the client of any error occurred.

6 years agoConvenience method for error reply.
Alberto Mardegan [Wed, 1 Dec 2010 08:20:46 +0000 (10:20 +0200)]
Convenience method for error reply.

Factor out the code to send an error reply, into the new errorReply() method.

6 years agofix tests target
Tomi Suviola [Fri, 26 Nov 2010 09:14:53 +0000 (11:14 +0200)]
fix tests target

6 years agoinc version 5.5
Tomi Suviola [Fri, 26 Nov 2010 08:33:13 +0000 (10:33 +0200)]
inc version

6 years agofix bug 203868 - signond-tests fail during execution.
Tomi Suviola [Wed, 24 Nov 2010 13:55:10 +0000 (15:55 +0200)]
fix bug 203868 - signond-tests fail during execution.

6 years agoVersion 5.4 5.4
Alberto Mardegan [Tue, 23 Nov 2010 13:59:33 +0000 (15:59 +0200)]
Version 5.4

6 years agoConditionally depend on gq-gconf
Alberto Mardegan [Tue, 23 Nov 2010 13:43:58 +0000 (15:43 +0200)]
Conditionally depend on gq-gconf

6 years agoVersion 5.3 5.3
Alberto Mardegan [Tue, 23 Nov 2010 12:38:51 +0000 (14:38 +0200)]
Version 5.3

6 years agoMerge branch 'tests'
Alberto Mardegan [Tue, 23 Nov 2010 12:24:20 +0000 (14:24 +0200)]
Merge branch 'tests'

6 years agoDon't crash if credentials system is closed twice.
Alberto Mardegan [Tue, 23 Nov 2010 12:23:52 +0000 (14:23 +0200)]
Don't crash if credentials system is closed twice.

6 years agoImprove debugging
Alberto Mardegan [Tue, 23 Nov 2010 12:23:34 +0000 (14:23 +0200)]
Improve debugging

6 years agoCAM: make tests run successfully.
Alberto Mardegan [Tue, 23 Nov 2010 12:21:20 +0000 (14:21 +0200)]
CAM: make tests run successfully.

6 years agoFix building of tests
Alberto Mardegan [Tue, 23 Nov 2010 11:43:39 +0000 (13:43 +0200)]
Fix building of tests

6 years agoMerge branch 'db-version'
Alberto Mardegan [Tue, 23 Nov 2010 11:30:14 +0000 (13:30 +0200)]
Merge branch 'db-version'

6 years agoRemove printing of compilation time
Alberto Mardegan [Tue, 23 Nov 2010 10:22:46 +0000 (12:22 +0200)]
Remove printing of compilation time

It's just misleading.

6 years agoStatement has no effect :-)
Alberto Mardegan [Tue, 23 Nov 2010 10:07:31 +0000 (12:07 +0200)]
Statement has no effect :-)

6 years agoDB versioning
Alberto Mardegan [Tue, 23 Nov 2010 10:04:03 +0000 (12:04 +0200)]
DB versioning

Write the DB version into the QSLite DB. Also, when upgrading from previous
versions to version 1, drop the metadata DB (the secrets DB now has a new name,
so there won't be conflicts there).

6 years agoCAM: Abort inititalization if directory can't be created
Alberto Mardegan [Tue, 23 Nov 2010 07:31:57 +0000 (09:31 +0200)]
CAM: Abort inititalization if directory can't be created

Suggestion coming from code review.

6 years agoFix reopening of the secrets DB
Alberto Mardegan [Mon, 22 Nov 2010 09:10:21 +0000 (11:10 +0200)]
Fix reopening of the secrets DB

This patch makes reopening of the SecretsDB functional: the
credentialsSystemOpened() condition was always evaluating to true.

6 years agoDon't create a journaled FS
Alberto Mardegan [Mon, 22 Nov 2010 08:56:27 +0000 (10:56 +0200)]
Don't create a journaled FS