Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'encrypted-home' into 'master'
[devicelock] Add a device lock daemon Fixes MER#1663 See merge request !2
- Loading branch information
Showing
104 changed files
with
7,915 additions
and
1,483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
OTHER_FILES += \ | ||
$$PWD/org.nemomobile.devicelock.Authenticator.xml \ | ||
$$PWD/org.nemomobile.devicelock.Authorization.xml \ | ||
$$PWD/org.nemomobile.devicelock.client.Authenticator.xml \ | ||
$$PWD/org.nemomobile.devicelock.client.Authorization.xml \ | ||
$$PWD/org.nemomobile.devicelock.client.Fingerprint.Sensor.xml \ | ||
$$PWD/org.nemomobile.devicelock.DeviceLock.xml \ | ||
$$PWD/org.nemomobile.devicelock.DeviceLock.Settings.xml \ | ||
$$PWD/org.nemomobile.devicelock.DeviceReset.xml \ | ||
$$PWD/org.nemomobile.devicelock.EncryptionSettings.xml \ | ||
$$PWD/org.nemomobile.devicelock.Fingerprint.Sensor.xml \ | ||
$$PWD/org.nemomobile.devicelock.Fingerprint.Settings.xml \ | ||
$$PWD/org.nemomobile.devicelock.LockCodeSettings.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node> | ||
<interface name="org.nemomobile.devicelock.AuthenticationInput"> | ||
<method name="SetRegistered"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="registered" type="b" direction="in"/> | ||
</method> | ||
<method name="SetActive"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="active" type="b" direction="in"/> | ||
</method> | ||
<method name="EnterSecurityCode"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="code" type="s" direction="in"/> | ||
</method> | ||
<method name="Cancel"> | ||
<arg name="client" type="o" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/authenticator"> | ||
<interface name="org.nemomobile.devicelock.Authenticator"> | ||
<property name="AvailableMethods" type="u" access="read"/> | ||
<method name="Authenticate"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="challenge_code" type="v" direction="in"/> | ||
<arg name="methods" type="u" direction="in"/> | ||
</method> | ||
<method name="Cancel"> | ||
<arg name="client" type="o" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node> | ||
<interface name="org.nemomobile.devicelock.Authorization"> | ||
<method name="RequestChallenge"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="challenge_code" type="v" direction="out"/> | ||
<arg name="allowed_methods" type="u" direction="out"/> | ||
</method> | ||
<method name="RelinquishChallenge"> | ||
<arg name="client" type="o" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/devicelock/settings"> | ||
<interface name="org.nemomobile.devicelock.DeviceLock.Settings"> | ||
<method name="ChangeSetting"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="authentication_token" type="v" direction="in"/> | ||
<arg name="key" type="s" direction="in"/> | ||
<arg name="value" type="v" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/devicelock"> | ||
<interface name="org.nemomobile.devicelock.DeviceLock"> | ||
<property name="State" type="u" access="read"/> | ||
<property name="Enabled" type="b" access="read"/> | ||
<property name="Unlocking" type="b" access="read"/> | ||
<method name="Unlock"/> | ||
<method name="Cancel"/> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/devicereset"> | ||
<interface name="org.nemomobile.devicelock.DeviceReset"> | ||
<method name="ClearDevice"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="authentication_token" type="v" direction="in"/> | ||
<arg name="mode" type="u" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/encryption"> | ||
<interface name="org.nemomobile.devicelock.EncryptionSettings"> | ||
<property name="Supported" type="b" access="read"/> | ||
<method name="EncryptHome"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="authentication_token" type="v" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/fingerprint/sensor"> | ||
<interface name="org.nemomobile.devicelock.Fingerprint.Sensor"> | ||
<property name="HasSensor" type="b" access="read"/> | ||
<method name="AcquireFinger"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="authentication_token" type="v" direction="in"/> | ||
<arg name="samples_required" type="u" direction="out"/> | ||
</method> | ||
<method name="CancelAcquisition"> | ||
<arg name="client" type="o" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/fingerprint/settings"> | ||
<interface name="org.nemomobile.devicelock.Fingerprint.Settings"> | ||
<property name="Fingerprints" type="a{vss}" access="read"/> | ||
<method name="Remove"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="authentication_token" type="v" direction="in"/> | ||
<arg name="id" type="v" direction="in"/> | ||
</method> | ||
<method name="Rename"> | ||
<arg name="id" type="v" direction="in"/> | ||
<arg name="name" type="s" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node name="/authenticator"> | ||
<interface name="org.nemomobile.devicelock.SecurityCodeSettings"> | ||
<property name="SecurityCodeSet" type="b"/> | ||
<method name="Change"> | ||
<arg name="client" type="o" direction="in"/> | ||
<arg name="challenge_code" type="v" direction="in"/> | ||
</method> | ||
<method name="CancelChange"> | ||
<arg name="client" type="o" direction="in"/> | ||
</method> | ||
<method name="Clear"> | ||
<arg name="code" type="s" direction="in"/> | ||
</method> | ||
<method name="CancelClear"> | ||
<arg name="client" type="o" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
32 changes: 32 additions & 0 deletions
32
dbus/org.nemomobile.devicelock.client.AuthenticationInput.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node> | ||
<interface name="org.nemomobile.devicelock.client.AuthenticationInput"> | ||
<method name="AuthenticationStarted"> | ||
<arg name="pid" type="u" direction="in"/> | ||
<arg name="utilized_methods" type="u" direction="in"/> | ||
<arg name="instruction" type="u" direction="in"/> | ||
</method> | ||
<method name="AuthenticationUnavailable"> | ||
<arg name="pid" type="u" direction="in"/> | ||
<arg name="error" type="u" direction="in"/> | ||
</method> | ||
<method name="AuthenticationEvaluating"/> | ||
<method name="AuthenticationProgress"> | ||
<arg name="current" type="u" direction="in"/> | ||
<arg name="maximum" type="u" direction="in"/> | ||
</method> | ||
<method name="AuthenticationResumed"> | ||
<arg name="utilized_methods" type="u" direction="in"/> | ||
<arg name="instruction" type="u" direction="in"/> | ||
</method> | ||
<method name="Feedback"> | ||
<arg name="feedback" type="u" direction="in"/> | ||
<arg name="attempts_remaining" type="u" direction="in"/> | ||
<arg name="utilized_methods" type="u" direction="in"/> | ||
</method> | ||
<method name="Error"> | ||
<arg name="error" type="u" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node> | ||
<interface name="org.nemomobile.devicelock.client.Authenticator"> | ||
<method name="Authenticated"> | ||
<arg name="authentication_token" type="v" direction="in"/> | ||
</method> | ||
<method name="Aborted"/> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node> | ||
<interface name="org.nemomobile.devicelock.client.Authorization"> | ||
<method name="ChallengeExpired" /> | ||
</interface> | ||
</node> |
16 changes: 16 additions & 0 deletions
16
dbus/org.nemomobile.devicelock.client.Fingerprint.Sensor.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node> | ||
<interface name="org.nemomobile.devicelock.client.Fingerprint.Sensor"> | ||
<method name="SampleAcquired"> | ||
<arg name="samples_remaining" type="u" direction="in"/> | ||
</method> | ||
<method name="AcquisitionCompleted"/> | ||
<method name="AcquisitionFeedback"> | ||
<arg name="feedback" type="u" direction="in"/> | ||
</method> | ||
<method name="AcquisitionError"> | ||
<arg name="error" type="u" direction="in"/> | ||
</method> | ||
</interface> | ||
</node> |
12 changes: 12 additions & 0 deletions
12
dbus/org.nemomobile.devicelock.client.SecurityCodeSettings.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" | ||
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> | ||
<node> | ||
<interface name="org.nemomobile.devicelock.client.SecurityCodeSettings"> | ||
<method name="Changed"> | ||
<arg name="authentication_token" type="v" direction="in"/> | ||
</method> | ||
<method name="ChangeAborted"/> | ||
<method name="Cleared"/> | ||
<method name="ClearAborted"/> | ||
</interface> | ||
</node> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.