Ticket #21 (closed defect: fixed)

Opened 7 months ago

Last modified 7 months ago

Trusted verification before request authorization

Reported by: cktakahasi Assigned to: cktakahasi
Priority: major Milestone: Sprint 3
Component: core Version: 3.30
Keywords: Cc:
Estimated Number of Hours: 32 Add Hours to Ticket: 0
Billable?: 1 Total Hours: 32.0

Description (Last modified by cktakahasi)

When an authorization is requested it is necessary check if the device is trusted.

How reproduce:

  1. Use set property to mark a device as "trusted"
  2. Run a services that required authorization for incoming connections such as networking, input or audio
  3. Trigger a connection

Problem: Trusted devices doesn't need be authorized, they are allowed to connect without prompt the user for authorization.

Modified files/revision:

  • /cvsroot/bluez/utils/audio/main.c@@1.34
  • /cvsroot/bluez/utils/hcid/dbus-database.c@@1.45
  • /cvsroot/bluez/utils/hcid/dbus-security.c@@1.90
  • /cvsroot/bluez/utils/hcid/dbus-service.c@@1.147
  • /cvsroot/bluez/utils/hcid/dbus-service.h@@1.35
  • /cvsroot/bluez/utils/hcid/plugin.c@@1.13
  • /cvsroot/bluez/utils/input/main.c@@1.21
  • /cvsroot/bluez/utils/input/server.c@@1.21
  • /cvsroot/bluez/utils/network/main.c@@1.21
  • /cvsroot/bluez/utils/audio/main.c@@1.35
  • /cvsroot/bluez/utils/input/main.c@@1.22
  • /cvsroot/bluez/utils/network/main.c@@1.22

/* Moving plugin authorization code to dbus-service.c */

  • /cvsroot/bluez/utils/audio/main.c@@1.36
  • /cvsroot/bluez/utils/audio/manager.c@1.101
  • /cvsroot/bluez/utils/hcid/dbus-service.c@1.148
  • /cvsroot/bluez/utils/hcid/dbus-service.h@1.36
  • /cvsroot/bluez/utils/hcid/plugin.c@1.14
  • /cvsroot/bluez/utils/hcid/plugin.h@1.4
  • /cvsroot/bluez/utils/input/main.c@1.23
  • /cvsroot/bluez/utils/input/server.c@1.22
  • /cvsroot/bluez/utils/network/main.c@1.23
  • /cvsroot/bluez/utils/network/server.c@1.93
  • /cvsroot/bluez/utils/plugins/echo.c@1.6

Change History

04/16/08 18:38:45 changed by cktakahasi

  • description changed.

05/02/08 22:11:14 changed by cktakahasi

  • owner changed from cidoca to cktakahasi.

05/02/08 22:15:35 changed by cktakahasi

  • status changed from new to closed.
  • totalhours changed from 0.0 to 32.0.
  • description changed.
  • hours set to 32.
  • estimatedhours set to 32.
  • resolution set to fixed.