From 06b52b23326ee451a16c21cf4fbe664f8918acef Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 2 Oct 2026 16:13:44 +0000 Subject: [PATCH] scripts: --new-keystore, and say when a password is refused for not being ASCII MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Java's PKCS12 keystores take only ASCII passwords. keytool's own prompt decodes the terminal by its locale, so a character such as € or § can arrive there as '?' and the keystore is made and opens at that prompt; the same password read by the deploy script reaches keytool and Gradle intact through the environment, and the keystore refuses it ("keystore password was incorrect"). Made through the environment, keytool refuses it outright ("Password is not ASCII"). --new-keystore makes the signing keystore from the script's own prompt, the channel every later build reads the password from: the password is asked twice, must be ASCII (symbols such as !@#$%^&* are fine), and the old keystore is kept as .