* [Bluez-devel] User security mode patch
@ 2008-10-03 12:47 Guillaume Bedot
2008-10-03 13:15 ` Marcel Holtmann
0 siblings, 1 reply; 3+ messages in thread
From: Guillaume Bedot @ 2008-10-03 12:47 UTC (permalink / raw)
To: bluez-devel, cooker
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]
Hello,
On my cooker box (i still use 3.36 though), with the default hcid.conf
file, i can't pair with my phone unless i comment out the
passkey="BlueZ" line, or apply the joined patch.
The documentation says this passkey should be used only in auto security
mode.
Or am I wrong ?
Regards,
Guillaume B.
[-- Attachment #2: bluez-utils-3.36-always-request-pin-in-user-security-mode.patch --]
[-- Type: text/x-patch, Size: 459 bytes --]
--- bluez-utils-3.36.orig/hcid/security.c 2008-10-03 13:37:17.000000000 +0200
+++ bluez-utils-3.36/hcid/security.c 2008-10-03 13:37:28.000000000 +0200
@@ -500,7 +500,7 @@
} else if (pairing == HCID_PAIRING_NONE)
goto reject;
- if (hcid.security == HCID_SEC_AUTO && !ci->out) {
+ if ((hcid.security == HCID_SEC_AUTO) && !ci->out) {
set_pin_length(sba, hcid.pin_len);
memcpy(pr.pin_code, hcid.pin_code, hcid.pin_len);
pr.pin_len = hcid.pin_len;
[-- Attachment #3: Type: text/plain, Size: 363 bytes --]
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
[-- Attachment #4: Type: text/plain, Size: 164 bytes --]
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] User security mode patch
2008-10-03 12:47 [Bluez-devel] User security mode patch Guillaume Bedot
@ 2008-10-03 13:15 ` Marcel Holtmann
2008-10-03 18:40 ` Guillaume Bedot
0 siblings, 1 reply; 3+ messages in thread
From: Marcel Holtmann @ 2008-10-03 13:15 UTC (permalink / raw)
To: BlueZ development; +Cc: cooker
Hi Guillaume,
> On my cooker box (i still use 3.36 though), with the default hcid.conf
> file, i can't pair with my phone unless i comment out the
> passkey="BlueZ" line, or apply the joined patch.
your patch is changing nothing. That is not it at all.
Regards
Marcel
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-devel] User security mode patch
2008-10-03 13:15 ` Marcel Holtmann
@ 2008-10-03 18:40 ` Guillaume Bedot
0 siblings, 0 replies; 3+ messages in thread
From: Guillaume Bedot @ 2008-10-03 18:40 UTC (permalink / raw)
To: BlueZ development
TGUgdmVuZHJlZGkgMDMgb2N0b2JyZSAyMDA4IMOgIDE1OjE1ICswMjAwLCBNYXJjZWwgSG9sdG1h
bm4gYSDDqWNyaXQgOiAKPiBIaSBHdWlsbGF1bWUsCj4gCj4gPiBPbiBteSBjb29rZXIgYm94IChp
IHN0aWxsIHVzZSAzLjM2IHRob3VnaCksIHdpdGggdGhlIGRlZmF1bHQgaGNpZC5jb25mCj4gPiBm
aWxlLCBpIGNhbid0IHBhaXIgd2l0aCBteSBwaG9uZSB1bmxlc3MgaSBjb21tZW50IG91dCB0aGUK
PiA+IHBhc3NrZXk9IkJsdWVaIiBsaW5lLCBvciBhcHBseSB0aGUgam9pbmVkIHBhdGNoLgo+IAo+
IHlvdXIgcGF0Y2ggaXMgY2hhbmdpbmcgbm90aGluZy4gVGhhdCBpcyBub3QgaXQgYXQgYWxsLgo+
IAo+IFJlZ2FyZHMKPiAKPiBNYXJjZWwKClJpZ2h0LCB0aGUgc2hvcnRlciB3b3JrY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bGlzdGluZm8vYmx1ZXotZGV2ZWwK
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-03 18:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-03 12:47 [Bluez-devel] User security mode patch Guillaume Bedot
2008-10-03 13:15 ` Marcel Holtmann
2008-10-03 18:40 ` Guillaume Bedot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox