commit | ecdbf2dc939019fa9e054ed23e8517075f0a7227 | [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 | 21c25e39a0ceb843c66dc8ac969f6ba6329fb89c [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.