OSDN Git Service

improve password entry for signing keys
authorDoug Zongker <dougz@android.com>
Fri, 22 May 2009 20:34:54 +0000 (13:34 -0700)
committerDoug Zongker <dougz@android.com>
Fri, 22 May 2009 22:31:08 +0000 (15:31 -0700)
commit8ce7c25e905bc14382359e1cd45d41832bcc7ffa
tree0a3207940b9e68bf0335113467612ffa3eff534a
parentf326d143622b493da7046c9dc09a4803c4b3242e
improve password entry for signing keys

Allow the user to set ANDROID_PW_FILE to the name of a file for
storing password keys.  When the tools need additional passwords, they
will rewrite this file and invoke the user's editor for the new
passwords to be added.  This allows passwords to be reused across
invocations of the signing tools, without making the user reenter them
every time.

Paranoid users can use a file stored in a ramdisk, or not use this
feature at all (the code will prompt for passwords in the ordinary way
when ANDROID_PW_FILE is not set).
tools/releasetools/common.py
tools/releasetools/sign_target_files_apks