Skip to content

Commit

Permalink
BUILDBOT: Add script to rebuild Android toolchain debug signing key.
Browse files Browse the repository at this point in the history
This needs to run just prior to the previous key expiration via a
cron script on the server. The keys are set for expiration in 365
days from generation i.e. 1 year.
  • Loading branch information
digitall committed Mar 1, 2014
1 parent 1358211 commit 1dcb22b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rebuild-android-debugkey.sh
@@ -0,0 +1,10 @@
#!/bin/sh
cd ~buildbot/.android
mv -v debug.keystore debug.keystore-`date +%Y-%m-%d`
#Make Android Debug Key Valid for 1 year
keytool -genkey -v -keystore ./debug.keystore \
-storepass android -alias androiddebugkey -keypass android \
-dname "CN=Android Debug,O=Android,C=US" \
-validity 365
chown buildbot:nogroup debug.keystore

0 comments on commit 1dcb22b

Please sign in to comment.