Skip to content

Commit

Permalink
(BSR) docs(certificate): standardize password environment variable (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bebstein-pass authored Feb 5, 2025
1 parent ddbcc57 commit d98226b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/installation/Android.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Then open the Android Virtual Devices Manager and select (or create) a Virtual D
In the `.env.local` file, add

```sh
KEYTOOL_PASSWORD=THE_PASSWORD # replace THE_PASSWORD with the one from Keeper search for "Android keytool password"
SECRET_KEYTOOL_PASSWORD=THE_PASSWORD # replace THE_PASSWORD with the one from Keeper search for "Android keytool password"
```

```sh
Expand Down
6 changes: 3 additions & 3 deletions scripts/install_certificate_java.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ remove_certificate_bundle_safe() {
}

has_certificate() {
echo "${KEYTOOL_PASSWORD}" |
echo "${SECRET_KEYTOOL_PASSWORD}" |
sudo keytool -cacerts -list -alias "mykey"
}

remove_certificate() {
echo "${KEYTOOL_PASSWORD}" |
echo "${SECRET_KEYTOOL_PASSWORD}" |
sudo keytool -delete -cacerts -alias "mykey" >/dev/null
}

Expand All @@ -30,7 +30,7 @@ remove_certificate_safe() {
}

set_password_and_accept_trusting_the_certificate() {
echo "${KEYTOOL_PASSWORD}"
echo "${SECRET_KEYTOOL_PASSWORD}"
echo "oui"
}

Expand Down

0 comments on commit d98226b

Please sign in to comment.