linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] mesh: Enforce HIGH security when provisioning
@ 2017-09-01 15:35 Brian Gix
  2017-09-03 19:15 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Gix @ 2017-09-01 15:35 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Brian Gix

---
 mesh/prov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mesh/prov.c b/mesh/prov.c
index 32785dd..f78a876 100644
--- a/mesh/prov.c
+++ b/mesh/prov.c
@@ -57,7 +57,7 @@
 #define MESH_PROV_SEC_LOW	0
 
 /* For Deployment, Security levels below HIGH are *not* recomended */
-#define mesh_gatt_prov_security()	MESH_PROV_SEC_MED
+#define mesh_gatt_prov_security()	MESH_PROV_SEC_HIGH
 
 #define PROV_INVITE	0x00
 #define PROV_CAPS	0x01
-- 
2.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] mesh: Enforce HIGH security when provisioning
  2017-09-01 15:35 [PATCH 1/1] mesh: Enforce HIGH security when provisioning Brian Gix
@ 2017-09-03 19:15 ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2017-09-03 19:15 UTC (permalink / raw)
  To: Brian Gix; +Cc: linux-bluetooth@vger.kernel.org

HI Brian,

On Fri, Sep 1, 2017 at 6:35 PM, Brian Gix <brian.gix@intel.com> wrote:
> ---
>  mesh/prov.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mesh/prov.c b/mesh/prov.c
> index 32785dd..f78a876 100644
> --- a/mesh/prov.c
> +++ b/mesh/prov.c
> @@ -57,7 +57,7 @@
>  #define MESH_PROV_SEC_LOW      0
>
>  /* For Deployment, Security levels below HIGH are *not* recomended */
> -#define mesh_gatt_prov_security()      MESH_PROV_SEC_MED
> +#define mesh_gatt_prov_security()      MESH_PROV_SEC_HIGH

I fine having the security it as high by default, but should we have a
command to set to other levels for testing purposes?

>  #define PROV_INVITE    0x00
>  #define PROV_CAPS      0x01
> --
> 2.9.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-03 19:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-01 15:35 [PATCH 1/1] mesh: Enforce HIGH security when provisioning Brian Gix
2017-09-03 19:15 ` Luiz Augusto von Dentz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).