diff options
author | Fabian Henneke <FabianHenneke@users.noreply.github.com> | 2020-03-24 14:03:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-24 14:03:40 +0100 |
commit | bebe43468330f182ea35e01ace555ce8d0512aeb (patch) | |
tree | 85899eccd985b302183ee1551054ef54bdb0ada5 /scripts | |
parent | 98e9f6734a00cfb1d8164227b2de07d2aea150d2 (diff) |
Add support for Oreo Autofill (#653)
Adds support for the Autofill feature first available in Android Oreo.
In compatible apps and browsers, login forms are automatically detected and
the user is presented with options to fill or generate credentials. In most apps
and certain browsers, the service will also offer to create new Password Store
entries from credentials entered into login forms.
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/hash_browser_app.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/hash_browser_app.sh b/scripts/hash_browser_app.sh new file mode 100755 index 00000000..932e2453 --- /dev/null +++ b/scripts/hash_browser_app.sh @@ -0,0 +1,5 @@ +#!/usr/bin/env bash +PACKAGE_NAME="$(aapt dump badging "$1" | grep package: | grep -Eo " name='[a-zA-Z0-9_\.]*" | cut -c8-)" +HASH="$(apksigner verify --print-certs "$1" | grep "#1 certificate SHA-256" | grep -Eo "[a-f0-9]{64}" | tr -d '\n' | xxd -r -p | base64)" +echo "\"$PACKAGE_NAME\" to \"$HASH\"" + |