commit | 2e671202c38a9b17b0b034438a305e3067abb4ab | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Thu Aug 18 22:00:12 2016 -0700 |
committer | Josh Gao <jmgao@google.com> | Fri Aug 19 17:32:50 2016 -0700 |
tree | c7d894fe3b7c7bcfd3ac11fd4a930609fb30d5fd | |
parent | 704d818ec1eed59b0f6fb3f2463f630121139df2 [diff] |
adb: add support for vendor key directories. Allow directories to be specified in ADB_VENDOR_KEYS. On Linux, monitor this directory for new keys to be added. Additionally, deduplicate keys by hashing their public key. Bug: http://b/29273531 Bug: http://b/30927527 Change-Id: I8d3312b216b7f2c11900f2235f1f1b1d1c7aa767 Test: manually tested by adding a key to a directory, and verifying that devices became authorized after replugging.