android-developers
[Arriba] [Todas las Listas]

[android-developers] Imposibilita android keystore logs en logcat

To: Android Developers <android-developers@xxxxxxxxxxxxxxxx>
Subject: [android-developers] Imposibilita android keystore logs en logcat
From: "robert.panebianco via Android Developers" <android-developers@xxxxxxxxxxxxxxxx>
Date: Wed, 9 Aug 2017 08:34:22 -0700 (PDT)
Delivery-date: Wed, 09 Aug 2017 11:34:55 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=date:from:to:message-id:subject:mime-version:x-original-sender :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=HOHkk8TPaYEIe5hc/hLuYuhDgwuJDXHpYsfPE3GZL+U=; b=hxXN5pG8RWsFXGn2tCM/VEPxgfrCivsrfeXxm9Y4wU+Z/MSaZoW23Id8x7mhz3DhuU 3/yVXU+XEMyr/hknjYqNnNpbsVlpVluj81SWKwtG1K5DaW4TGSSioLdNifzyxX4t+WTP mNurB2FK/aKW2Io960FzPAnCfVfnuWFsHvrrQhPJMkP34MizBnT5fbUZSc9xRf7AFSEp dCi7dB8QTkza7452NjwP/L57V0C059G4JZZ+3275RAlwS+4u53+HnYE9wIkrGS1FWJAd 0wrxI7GRpQcN2liIT4nicc5fLKIZicGGPFy2xLfuTT79bhAdLOCgZYEBv+LWbikxll/6 LBpQ==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <https://groups.google.com/group/android-developer>
List-help: <https://groups.google.com/support/>, <mailto:android-developers+help@googlegroups.com>
List-id: <android-developers.googlegroups.com>
List-post: <https://groups.google.com/group/android-developers/post>, <mailto:android-developers@googlegroups.com>
List-subscribe: <https://groups.google.com/group/android-developers/subscribe>, <mailto:android-developers+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+364598216046+unsubscribe@googlegroups.com>, <https://groups.google.com/group/android-developers/subscribe>
Mailing-list: list android-developers@xxxxxxxxxxxxxxxx; contact android-developers+owners@xxxxxxxxxxxxxxxx
Reply-to: android-developers@xxxxxxxxxxxxxxxx
*Hi,

estoy escribiendo una aplicación segura que hace *heavy uso de hardware-respaldado 
*android *keystore. *Unsurprisingly, el rendimiento es de la preocupación y yo gustarían para 
optimizar la aplicación donde posible. El asunto estoy afrontando es *whenever 
soy *interfacing con *android *keystore, consigo Mucho *log mensajes en 
*logcat. Como:


*08-08 15:48:13.640  3007  3007 *W *keymaster_*mdfpp: introducido 
conseguir_función_de características claves.*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_*qualcomm.*c:221) *trustlet regresado para orden 9, *err 0*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:112) ********hw_aplicó**********
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:36) *********impresión_*params************
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:37) *params->longitud = 6 *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:43)  *tc_*KM_TAG_MEDIDACLAVE *params->*params[0].*tag = 
0*x30000003 *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:60) *tc_*KM_*UINT 256 0*x00000100*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:43)  *tc_*KM_ALGORITMO_de TAG *params->*params[1].*tag = 
0*x10000002 *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:48) *tc_*KM_*ENUM 3 0*x00000003*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:43)  *tc_*KM_PROPÓSITO_de TAG *params->*params[2].*tag = 
0*x20000001 *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:52) *tc_*KM_*ENUM_REP 2 0*x00000002*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:43)  *tc_*KM_TAG_*DIGEST *params->*params[3].*tag = 
0*x20000005 *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:52) *tc_*KM_*ENUM_REP 4 0*x00000004*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:43)  *tc_*KM_ORIGEN_de TAG *params->*params[4].*tag = 
0*x100002ser *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:48) *tc_*KM_*ENUM 0 0*x00000000*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:43)  *tc_*KM_CREACIÓN_de TAG_*DATETIME 
*params->*params[5].*tag = 0*x600002*bd *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:87) *tc_*KM_FECHA 0*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:107) **************************************
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:114) ********sw_aplicó**********
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:36) *********impresión_*params************
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:37) *params->longitud = 1 *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:43)  *tc_*KM_TAG_NINGÚN_*AUTH_REQUIRIÓ 
*params->*params[0].*tag = 0*x700001*f7 *
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:56) *tc_*KM_*BOOL 1 0*x00000001*
*08-08 15:48:13.640  3007  3007 *D *keymaster_*tee: [DEPURA]: 
(*nwd_*keymaster_liando.*c:107) **************************************


Es allí una manera de imposibilitar este *logging por *android *keystore? No puedo encontrar una 
respuesta *anywhere y este IO es IMO innecesario.


-- 
*Este mensaje (incluyendo cualquier *attachments) puede contener confidencial, 
*proprietary, *privileged y/o información privada. La información es 
pretendida para ser para el uso del individual o la entidad designó encima. Si 
no eres el pretendido *recipient de este mensaje, complacer notificar el 
*sender inmediatamente, y eliminar el mensaje y cualquier *attachments. Cualquier 
revelación, reproducción, distribución u otro uso de este mensaje o cualquier 
*attachments por un individual o entidad otro que el pretendido *recipient es 
*prohibited.*

-- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*Android *Developers" grupo.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *android-*developers+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *android-developers@xxxxxxxxxxxxxxxx.
Visita este grupo en *https://grupos.*google.*com/Grupo/*android-*developers.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*android-*developers/9490*e91un-*c8*ff-407*f-*b137-*d50*e0*cd81588%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
Hi,

I am writing a secure application that makes heavy use of hardware-backed 
android keystore. Unsurprisingly, performance is of concern and I'd like to 
optimize the application where possible. The issue I am facing is whenever 
I am interfacing with android keystore, I get A LOT of log messages in 
logcat. Such as:


*08-08 15:48:13.640  3007  3007 W keymaster_mdfpp: entered 
get_key_characteristics function.*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_qualcomm.c:221) trustlet returned for command 9, err 0*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:112) *******hw_enforced**********
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:36) *********print_params************
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:37) params->length = 6 *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:43)  tc_KM_TAG_KEY_SIZE params->params[0].tag = 
0x30000003 *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:60) tc_KM_UINT 256 0x00000100*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:43)  tc_KM_TAG_ALGORITHM params->params[1].tag = 
0x10000002 *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:48) tc_KM_ENUM 3 0x00000003*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:43)  tc_KM_TAG_PURPOSE params->params[2].tag = 
0x20000001 *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:52) tc_KM_ENUM_REP 2 0x00000002*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:43)  tc_KM_TAG_DIGEST params->params[3].tag = 
0x20000005 *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:52) tc_KM_ENUM_REP 4 0x00000004*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:43)  tc_KM_TAG_ORIGIN params->params[4].tag = 
0x100002be *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:48) tc_KM_ENUM 0 0x00000000*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:43)  tc_KM_TAG_CREATION_DATETIME 
params->params[5].tag = 0x600002bd *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:87) tc_KM_DATE 0*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:107) **************************************
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:114) *******sw_enforced**********
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:36) *********print_params************
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:37) params->length = 1 *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:43)  tc_KM_TAG_NO_AUTH_REQUIRED 
params->params[0].tag = 0x700001f7 *
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:56) tc_KM_BOOL 1 0x00000001*
*08-08 15:48:13.640  3007  3007 D keymaster_tee: [DEBUG]: 
(nwd_keymaster_packing.c:107) **************************************


Is there a way to disable this logging by android keystore? I can't find an 
answer anywhere and this IO is unnecessary IMO.


-- 
*This message (including any attachments) may contain confidential, 
proprietary, privileged and/or private information. The information is 
intended to be for the use of the individual or entity designated above. If 
you are not the intended recipient of this message, please notify the 
sender immediately, and delete the message and any attachments. Any 
disclosure, reproduction, distribution or other use of this message or any 
attachments by an individual or entity other than the intended recipient is 
prohibited.*

-- 
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to android-developers@xxxxxxxxxxxxxxxx.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/9490e91a-c8ff-407f-b137-d50e0cd81588%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>
  • [android-developers] Imposibilita android keystore logs en logcat, robert.panebianco via Android Developers <=