android_system_core/adb
Elliott Hughes 7fb1407125 adb: log more detail on failure to read keys.
Before we just got "Failed to read key". After:

  adb E 10-07 08:20:14 258249 258249 auth.cpp:176] Failed to read key \
    from '/usr/local/google/home/enh/.android/adbkey'
  94390117965240:error:0900006e:PEM routines:OPENSSL_internal:NO_START_LINE:\
    external/boringssl/src/crypto/pem/pem_lib.c:622:Expecting: ANY PRIVATE KEY

Also fix the misleading "Failed to generate" message from adb_auth_init.

Bug: http://b/141715453
Test: manually corrupted key; see above
Change-Id: I6732ee6b683c8548d596d7c22eeddab8ce9a3cea
2019-10-07 08:25:42 -07:00
..
client adb: log more detail on failure to read keys. 2019-10-07 08:25:42 -07:00
daemon Revert "adb: daemon: Assign valid fd to usb_handle ep0 file descriptor" 2019-08-15 17:27:49 -07:00
fastdeploy FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
fdevent adb: fdevent: add fdevent_context_epoll. 2019-08-14 13:56:08 -07:00
sysdeps Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
tools Add stub code to read MS OS 2.0 descriptors. 2019-09-06 14:45:11 -07:00
.clang-format
Android.bp FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
MODULE_LICENSE_APACHE2
NOTICE
OVERVIEW.TXT
OWNERS
SERVICES.TXT
SYNC.TXT
adb.bash
adb.cpp adb: fix old host transport selection. 2019-09-13 00:26:37 +08:00
adb.h adb: move fdevent to its own folder. 2019-07-09 13:35:38 -07:00
adb_auth.h Notify the framework when an adb key is authorized 2019-05-09 16:05:40 -07:00
adb_integration_test_adb.xml
adb_integration_test_device.xml
adb_io.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
adb_io.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
adb_io_test.cpp
adb_listeners.cpp
adb_listeners.h
adb_listeners_test.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
adb_mdns.h
adb_trace.cpp
adb_trace.h
adb_unique_fd.cpp
adb_unique_fd.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
adb_utils.cpp Allow overriding the log path. 2019-07-30 12:26:31 -07:00
adb_utils.h [adb] Use STL for ParseUInt() implementation 2019-08-02 11:33:41 -07:00
adb_utils_test.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
benchmark_device.py
bugreport_test.cpp
file_sync_protocol.h
protocol.txt
security_log_tags.h
services.cpp libbase: add ConsumePrefix/ConsumeSuffix. 2019-05-03 12:49:31 -07:00
services.h Support adb rescue wipe command 2019-04-29 15:21:50 -07:00
shell_protocol.h Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
shell_service_protocol.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
shell_service_protocol_test.cpp
socket.h adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
socket_spec.cpp Restore default port for `adb connect`. 2019-07-30 21:55:56 -07:00
socket_spec.h
socket_spec_test.cpp Restore default port for `adb connect`. 2019-07-30 21:55:56 -07:00
socket_test.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
sockets.cpp adb: fix old host transport selection. 2019-09-13 00:26:37 +08:00
sockets.dia
sysdeps.h FastDeploy refactor: 2+GB APK support, optimizations, tests. 2019-10-02 13:25:03 -07:00
sysdeps_test.cpp adb: win32: silence wine test failure. 2019-07-16 15:22:51 -07:00
sysdeps_unix.cpp Revert "Revert "Add a way to turn off unique_fd's operator int."" 2019-05-06 16:18:02 -07:00
sysdeps_win32.cpp Merge "[adb] Add a getter for native Win32 file handle" 2019-08-13 19:51:01 +00:00
sysdeps_win32_test.cpp
test_adb.py
test_device.py adb: disable failing test. 2019-10-01 14:15:31 -07:00
trace.sh
transport.cpp adb: use shell for remount to forward return codes. 2019-08-12 18:31:45 -07:00
transport.h Using the correct feature name for abb_exec. 2019-09-16 10:36:52 -07:00
transport_benchmark.cpp
transport_fd.cpp
transport_local.cpp
transport_test.cpp adb: move fdevent to its own folder. 2019-07-08 14:37:27 -07:00
transport_usb.cpp
types.h Add header that declares memcpy function 2019-08-09 22:20:15 +00:00
types_test.cpp
usb.h