accounts-sso:signon.git
7 years agobringing aegis settings into use alak_aegisfs
Alexander Akimov [Wed, 24 Aug 2011 10:13:51 +0000 (13:13 +0300)]
bringing aegis settings into use

7 years agobackup/restore needed some changes
Alexander Akimov [Wed, 24 Aug 2011 10:13:36 +0000 (13:13 +0300)]
backup/restore needed some changes

7 years agomoving credentials storage under aegisfs protection
Alexander Akimov [Wed, 24 Aug 2011 10:13:04 +0000 (13:13 +0300)]
moving credentials storage under aegisfs protection

7 years agohandling the LUKS keychain file
Alexander Akimov [Wed, 24 Aug 2011 10:12:42 +0000 (13:12 +0300)]
handling the LUKS keychain file

7 years agobringing SIGNON_AEGISFS define into place
Alexander Akimov [Wed, 24 Aug 2011 10:12:07 +0000 (13:12 +0300)]
bringing SIGNON_AEGISFS define into place

7 years agotry to place LUKS under aegis fs
Alexander Akimov [Mon, 22 Aug 2011 10:50:28 +0000 (13:50 +0300)]
try to place LUKS under aegis fs

7 years agochanges in signon.pro
Alexander Akimov [Mon, 22 Aug 2011 08:52:41 +0000 (11:52 +0300)]
changes in signon.pro

7 years agoConcept proof implementation of bringing aegisfs into use
Alexander Akimov [Sat, 20 Aug 2011 08:39:37 +0000 (11:39 +0300)]
Concept proof implementation of bringing aegisfs into use

7 years agoVersion 9.1
Aurel Popirtac [Tue, 16 Aug 2011 12:05:51 +0000 (15:05 +0300)]
Version 9.1

7 years agoFixes: NB#275874 - signond is cpu hog during the boot (on idle system it uses lot...
Aurel Popirtac [Mon, 15 Aug 2011 14:51:56 +0000 (17:51 +0300)]
Fixes: NB#275874 - signond is cpu hog during the boot (on idle system it uses lot of CPU for nearly 20s).
LUKS Keychain operations are not done on the LUKS header anymore - performance improvement.

7 years agoSecurity issue fix.
Aurel Popirtac [Mon, 15 Aug 2011 14:49:52 +0000 (17:49 +0300)]
Security issue fix.

7 years agoIncrease version after release 9.0
Tomi Suviola [Tue, 26 Jul 2011 08:04:44 +0000 (11:04 +0300)]
Increase version after release

7 years agoMerge branch 'bug_235544'
Tomi Suviola [Tue, 26 Jul 2011 08:04:05 +0000 (11:04 +0300)]
Merge branch 'bug_235544'

7 years agoMerge branch 'bug_254822'
Tomi Suviola [Tue, 26 Jul 2011 08:02:58 +0000 (11:02 +0300)]
Merge branch 'bug_254822'

7 years agoFixes needed for fixing bug 235544
Tomi Suviola [Tue, 26 Jul 2011 07:53:11 +0000 (10:53 +0300)]
Fixes needed for fixing bug 235544

7 years agofix for bug 254822 - signon-doc package contains no documentation
Tomi Suviola [Mon, 25 Jul 2011 12:40:12 +0000 (15:40 +0300)]
fix for bug 254822 - signon-doc package contains no documentation
src was considered as variable here and docs were never generated.

7 years agoFix cancel bug
Tomi Suviola [Wed, 13 Jul 2011 09:17:32 +0000 (12:17 +0300)]
Fix cancel bug

7 years agoFix bug 271519 - Ovi Authentication plugin is getting restarted unnecessarily.. which...
Tomi Suviola [Fri, 8 Jul 2011 12:44:58 +0000 (15:44 +0300)]
Fix bug 271519 - Ovi Authentication plugin is getting restarted unnecessarily.. which results in losing data

7 years agolib: don't leak the AuthServiceImpl object
Alberto Mardegan [Thu, 23 Jun 2011 10:05:26 +0000 (13:05 +0300)]
lib: don't leak the AuthServiceImpl object

7 years agoRemove TRACE from UNIX signal handler
Alberto Mardegan [Tue, 21 Jun 2011 11:19:10 +0000 (14:19 +0300)]
Remove TRACE from UNIX signal handler

qDebug() is not signal safe.

7 years agoVersion 8.38 8.38
Alberto Mardegan [Tue, 21 Jun 2011 10:50:15 +0000 (13:50 +0300)]
Version 8.38

7 years agoClose the plugin channel when stopping it 21
Alberto Mardegan [Tue, 21 Jun 2011 10:38:48 +0000 (13:38 +0300)]
Close the plugin channel when stopping it

This avoids a 30 second long wait in the QProcess destructor, when the plugin
is not responding to the cancel request.

7 years agoActually exit the process
Alberto Mardegan [Tue, 21 Jun 2011 10:38:13 +0000 (13:38 +0300)]
Actually exit the process

The previous commit was disposing the object, but really exiting the process.

7 years agoVersion 8.37 8.37
Alberto Mardegan [Tue, 21 Jun 2011 06:57:37 +0000 (09:57 +0300)]
Version 8.37

7 years agosignond: exit daemon when disconnected from D-Bus
Alberto Mardegan [Tue, 21 Jun 2011 06:06:02 +0000 (09:06 +0300)]
signond: exit daemon when disconnected from D-Bus

Catch the disconnect signal from D-Bus and quit: there's no point in keeping
the process running at that stage.

7 years agoPick the libraries from the build tree
Alberto Mardegan [Sun, 19 Jun 2011 09:29:15 +0000 (12:29 +0300)]
Pick the libraries from the build tree

7 years agoFix test builds
Alberto Mardegan [Sun, 19 Jun 2011 09:02:23 +0000 (12:02 +0300)]
Fix test builds

7 years agoFix the plugin type() method
Alberto Mardegan [Sat, 18 Jun 2011 07:04:00 +0000 (10:04 +0300)]
Fix the plugin type() method

Old implementation could never work.

7 years agosignond: do not corrupt the plugin type variable
Alberto Mardegan [Sat, 18 Jun 2011 07:01:47 +0000 (10:01 +0300)]
signond: do not corrupt the plugin type variable

There is no need to call the plugin's queryType method (which is also
implemented wrongly): we already know what the plugin type is. We can call it
just for debugging purposes.

7 years agoVersion 8.36 8.36
Alberto Mardegan [Sun, 19 Jun 2011 08:10:33 +0000 (11:10 +0300)]
Version 8.36

7 years agoRevert "Added per thread dbus session bus connection handling."
Alberto Mardegan [Sat, 18 Jun 2011 05:47:42 +0000 (08:47 +0300)]
Revert "Added per thread dbus session bus connection handling."

This reverts commit 64bea41c9b36db442f3628a5ee90434d910155b4.

7 years agoFix building of tests
Alberto Mardegan [Sun, 19 Jun 2011 07:56:06 +0000 (10:56 +0300)]
Fix building of tests

The tests are not using the libsignonextension library, and don't need that
debug header included.

7 years agoLog process ID in syslog
Alberto Mardegan [Sat, 18 Jun 2011 11:29:17 +0000 (14:29 +0300)]
Log process ID in syslog

7 years agoDebugging improvements
Alberto Mardegan [Sat, 18 Jun 2011 11:16:32 +0000 (14:16 +0300)]
Debugging improvements

Remove duplicate devinition of debugging macros: let libsignon-extension
contain the definitions.

7 years agoincrease version 8.35
Tomi Suviola [Mon, 13 Jun 2011 12:12:39 +0000 (15:12 +0300)]
increase version

7 years agoNeeded to fix bug 249545 - Verify username feature is broken.
Tomi Suviola [Mon, 13 Jun 2011 11:44:44 +0000 (14:44 +0300)]
Needed to fix bug 249545 - Verify username feature is broken.

7 years agoincrease version 8.34
Tomi Suviola [Thu, 9 Jun 2011 12:42:28 +0000 (15:42 +0300)]
increase version

7 years agoAdd counter for verifyUser()
Tomi Suviola [Thu, 9 Jun 2011 09:11:27 +0000 (12:11 +0300)]
Add counter for verifyUser()

7 years agoFix empty credential entries during store()
Tomi Suviola [Thu, 9 Jun 2011 09:10:52 +0000 (12:10 +0300)]
Fix empty credential entries during store()

7 years agoFix bug 263230 - login dialog is shown after configuring facebook account
Tomi Suviola [Thu, 9 Jun 2011 09:10:08 +0000 (12:10 +0300)]
Fix bug 263230 - login dialog is shown after configuring facebook account

7 years agoVersion 8.33 8.33
Alberto Mardegan [Mon, 6 Jun 2011 13:43:39 +0000 (16:43 +0300)]
Version 8.33

7 years agoLink libsignon-extensions with libcryptsetup
Alberto Mardegan [Mon, 6 Jun 2011 13:30:34 +0000 (16:30 +0300)]
Link libsignon-extensions with libcryptsetup

7 years agoAllow building without the libcreds library
Alberto Mardegan [Mon, 6 Jun 2011 09:08:45 +0000 (12:08 +0300)]
Allow building without the libcreds library

This library is part of the MeeGo Simplified Security Framework, which is going
to be obsoleted in meego.com.

7 years agoRemoved unused private method
Alberto Mardegan [Mon, 6 Jun 2011 09:08:02 +0000 (12:08 +0300)]
Removed unused private method

7 years agoincrease version 8.32
Tomi Suviola [Mon, 6 Jun 2011 09:45:14 +0000 (12:45 +0300)]
increase version

7 years agoMerge branch 'set_owner'
Tomi Suviola [Mon, 6 Jun 2011 08:19:22 +0000 (11:19 +0300)]
Merge branch 'set_owner'

Conflicts:
src/signond/signonidentity.cpp

7 years agoVersion 8.31 8.31
Alberto Mardegan [Wed, 1 Jun 2011 08:57:23 +0000 (11:57 +0300)]
Version 8.31

7 years agoAdd FinalUrl property to UiSessionData 17
Alberto Mardegan [Wed, 1 Jun 2011 08:40:05 +0000 (11:40 +0300)]
Add FinalUrl property to UiSessionData

This can be used in signon-ui to improve the user experience by either closing
the browser dialog or replacing the final page with an informative text.

7 years agoupdate version 8.30
Tomi Suviola [Fri, 27 May 2011 11:47:07 +0000 (14:47 +0300)]
update version

7 years agoMerge branch 'bug_259134'
Tomi Suviola [Thu, 26 May 2011 05:42:51 +0000 (08:42 +0300)]
Merge branch 'bug_259134'

7 years agoAdd new params into uisessiondata.
Tomi Suviola [Wed, 25 May 2011 13:01:13 +0000 (16:01 +0300)]
Add new params into uisessiondata.

7 years agoVersion 8.29 8.29
Alberto Mardegan [Wed, 25 May 2011 12:05:04 +0000 (15:05 +0300)]
Version 8.29

7 years agolib: restore signal connections 16
Alberto Mardegan [Wed, 25 May 2011 11:43:27 +0000 (14:43 +0300)]
lib: restore signal connections

D-Bus signals were lost when we moved away from QDBusInterface. Now they are
back in place.

7 years agolib: helper method to connect DBus signals
Alberto Mardegan [Wed, 25 May 2011 11:42:51 +0000 (14:42 +0300)]
lib: helper method to connect DBus signals

7 years agoVersion 8.28 8.28
Alberto Mardegan [Wed, 25 May 2011 06:47:13 +0000 (09:47 +0300)]
Version 8.28

7 years agosignond: do not open DB when started for backup 15
Alberto Mardegan [Wed, 25 May 2011 06:02:51 +0000 (09:02 +0300)]
signond: do not open DB when started for backup

If backup fails, reopen the DB only if we are not running in backup mode.

7 years agoCAM: fix opening of secrets DB
Alberto Mardegan [Wed, 25 May 2011 05:57:52 +0000 (08:57 +0300)]
CAM: fix opening of secrets DB

If the encrypted FS is not mounted when we are requested to open the
credentials system, we must attempt mounting it (and after that, the secrets DB
will be opened).

7 years agoDefault key authorizer: reformat unaccessible storage
Alberto Mardegan [Tue, 24 May 2011 12:35:50 +0000 (15:35 +0300)]
Default key authorizer: reformat unaccessible storage

If the storage has been encrypted with a different set of keys, none of which
are currently accessible, the default key authorizer will now reformat the
secrets storage with the new key.

7 years agoMerge branch 'fix_sasltests'
Tomi Suviola [Tue, 24 May 2011 11:33:32 +0000 (14:33 +0300)]
Merge branch 'fix_sasltests'

7 years agoDon't compare path to empty string, use isEmpty
Alberto Mardegan [Tue, 24 May 2011 11:08:32 +0000 (14:08 +0300)]
Don't compare path to empty string, use isEmpty

Code is poetry, but up to a certain point.

7 years agolibsignon: Don't use QDBusInterface
Alberto Mardegan [Tue, 24 May 2011 10:34:46 +0000 (13:34 +0300)]
libsignon: Don't use QDBusInterface

QDBusInterface makes blocking calls for introspecting the remove service.
Replace them with a simple wrapper around QDBusAbstractInterface.

7 years agoFix sasl tests. process call was reinitializing sasl library and server state got...
Tomi Suviola [Tue, 24 May 2011 10:34:46 +0000 (13:34 +0300)]
Fix sasl tests. process call was reinitializing sasl library and server state got wrong.

7 years agovserion 8.27 8.27
smita [Mon, 23 May 2011 11:49:59 +0000 (14:49 +0300)]
vserion 8.27

7 years agoFixing: 220787 - Twitter: 'Unknown error' is displayed while configuring Twitter...
smita [Mon, 23 May 2011 11:46:18 +0000 (14:46 +0300)]
Fixing: 220787 - Twitter: 'Unknown error' is displayed while configuring Twitter account when incorrect/default date and time is set on the device

7 years agosignond: moderate logging from external modules
Alberto Mardegan [Mon, 23 May 2011 08:13:22 +0000 (11:13 +0300)]
signond: moderate logging from external modules

If external modules (libraries or extensions) call the Qt logging functions,
make sure we don't spam the syslog if the LoggingLevel is /etc/signond.conf is
configured for a less verbose profile.

7 years agoRemove some unnecessary debug messages
Alberto Mardegan [Mon, 23 May 2011 08:13:02 +0000 (11:13 +0300)]
Remove some unnecessary debug messages

7 years agoCopy owners from acl during update 12
Tomi Suviola [Fri, 20 May 2011 12:15:15 +0000 (15:15 +0300)]
Copy owners from acl during update

7 years agoincrease version 8.26
Tomi Suviola [Fri, 20 May 2011 11:09:35 +0000 (14:09 +0300)]
increase version

7 years agoMerge commit '025f13011b466fda675d04f03c34fa647748c286'
Tomi Suviola [Fri, 20 May 2011 11:06:20 +0000 (14:06 +0300)]
Merge commit '025f13011b466fda675d04f03c34fa647748c286'

7 years agoRemoved unused code
Tomi Suviola [Fri, 20 May 2011 10:35:14 +0000 (13:35 +0300)]
Removed unused code

7 years agoReview changes
Tomi Suviola [Fri, 20 May 2011 10:21:25 +0000 (13:21 +0300)]
Review changes

7 years agofix merge errors
Tomi Suviola [Fri, 20 May 2011 08:36:52 +0000 (11:36 +0300)]
fix merge errors

7 years agoVersion 8.25 8.25
Alberto Mardegan [Fri, 20 May 2011 08:22:57 +0000 (11:22 +0300)]
Version 8.25

7 years agoTake owner into use
Tomi Suviola [Thu, 19 May 2011 11:55:44 +0000 (14:55 +0300)]
Take owner into use

7 years agoAdapt tests to changes, and fix findings
Tomi Suviola [Thu, 19 May 2011 11:27:10 +0000 (14:27 +0300)]
Adapt tests to changes, and fix findings

7 years agoremove owners before inserting
Tomi Suviola [Thu, 19 May 2011 10:29:55 +0000 (13:29 +0300)]
remove owners before inserting

7 years agoAdd owner to database
Tomi Suviola [Thu, 19 May 2011 09:55:34 +0000 (12:55 +0300)]
Add owner to database

7 years agoadd store method into dbus api
Tomi Suviola [Wed, 18 May 2011 07:58:30 +0000 (10:58 +0300)]
add store method into dbus api

7 years agoAdd owner to Identity
Tomi Suviola [Mon, 18 Apr 2011 12:10:51 +0000 (15:10 +0300)]
Add owner to Identity

7 years agoCAM: Support pluggable KeyAuthorizer 11
Alberto Mardegan [Thu, 19 May 2011 12:02:18 +0000 (15:02 +0300)]
CAM: Support pluggable KeyAuthorizer

7 years agoRemove UiKeyAuthorizer
Alberto Mardegan [Thu, 19 May 2011 08:58:12 +0000 (11:58 +0300)]
Remove UiKeyAuthorizer

Consequently, simplify the SignOnUi interface, removing the secure storage
adaptor.

7 years agosignond-dev: upgrade extension interface
Alberto Mardegan [Thu, 19 May 2011 08:26:01 +0000 (11:26 +0300)]
signond-dev: upgrade extension interface

Add a virtual method to get the KeyAuthorizer object.

7 years agoMove KeyHandler and AbstractKeyAuthorizer to library
Alberto Mardegan [Thu, 19 May 2011 07:32:17 +0000 (10:32 +0300)]
Move KeyHandler and AbstractKeyAuthorizer to library

We also need to bring in the CryptoManager and CryptoHandlers and the misc.cpp
file, but the latter two are not be exported, while CryptoManager APIs are onlu
available if the SIGNON_ENABLE_UNSTABLE_APIS preprocessor symbol is defined.

7 years agosignond-dev: selective exporting of symbols
Alberto Mardegan [Thu, 19 May 2011 07:09:15 +0000 (10:09 +0300)]
signond-dev: selective exporting of symbols

7 years agosignond-dev: add debugging facilities
Alberto Mardegan [Thu, 19 May 2011 06:34:21 +0000 (09:34 +0300)]
signond-dev: add debugging facilities

7 years agoCAM: use default key authorizer
Alberto Mardegan [Thu, 19 May 2011 08:55:25 +0000 (11:55 +0300)]
CAM: use default key authorizer

This is a temporary commit; we are moving the UiKeyAuthorizer into a separate
plugin.

7 years agosignon: add default key authorizer
Alberto Mardegan [Thu, 19 May 2011 08:54:08 +0000 (11:54 +0300)]
signon: add default key authorizer

Add a key authorizer which will authorize all given keys.

7 years agoVersion 8.24
Aurel Popirtac [Thu, 19 May 2011 11:11:56 +0000 (14:11 +0300)]
Version 8.24

7 years agoFixes: NB#255674 - UI freeze (for ~10 seconds) caused by the signond. 10
Aurel Popirtac [Thu, 19 May 2011 10:14:56 +0000 (13:14 +0300)]
Fixes: NB#255674 - UI freeze (for ~10 seconds) caused by the signond.

7 years agoVersion 8.23 8.23
Alberto Mardegan [Wed, 18 May 2011 08:41:10 +0000 (11:41 +0300)]
Version 8.23

7 years agosignond: fine-grain check for allowed mechanisms
Alberto Mardegan [Mon, 16 May 2011 13:25:52 +0000 (16:25 +0300)]
signond: fine-grain check for allowed mechanisms

SASL uses the mechanism string as a space-separated list; therefore, if
comparing the full string fails, we need to split it in words, and filter out
those mechanisms that are not allowed.

7 years agoSASL: reinitialize libsasl after every session
Alberto Mardegan [Mon, 16 May 2011 12:24:17 +0000 (15:24 +0300)]
SASL: reinitialize libsasl after every session

It seems that libsasl is misbehaving when following up a compelted XMPP
authentication.

7 years agoSignon DB: file permissions and ownership 9
Alberto Mardegan [Wed, 18 May 2011 08:13:11 +0000 (11:13 +0300)]
Signon DB: file permissions and ownership

Let the DB files be owned by the user running signond (currently that is root,
in Harmattan), and set an appropriate umask at startup so that other users
cannot read our files.
When creating files for backup, though, change their ownership to the current
user, so that the backup application can read them.

7 years agoincrease version 8.22
Tomi Suviola [Tue, 17 May 2011 07:04:02 +0000 (10:04 +0300)]
increase version

7 years agoFix bug 242165
Tomi Suviola [Mon, 16 May 2011 10:34:12 +0000 (13:34 +0300)]
Fix bug 242165

7 years agoVersion 8.21
Aurel Popirtac [Sun, 15 May 2011 16:44:32 +0000 (19:44 +0300)]
Version 8.21

7 years agoUsing ftruncate to create the signon secure FS partition file.
Aurel Popirtac [Sun, 15 May 2011 15:48:19 +0000 (18:48 +0300)]
Using ftruncate to create the signon secure FS partition file.

7 years agoMoved the creation of the storage directory to CAM's init phase.
Aurel Popirtac [Sun, 15 May 2011 15:47:15 +0000 (18:47 +0300)]
Moved the creation of the storage directory to CAM's init phase.

7 years agoVersion 8.20
Aurel Popirtac [Wed, 11 May 2011 10:34:36 +0000 (13:34 +0300)]
Version 8.20

7 years agoFixed signond crash.
Aurel Popirtac [Wed, 11 May 2011 10:27:11 +0000 (13:27 +0300)]
Fixed signond crash.