Has anyone faced this weird key tool/jarsigner issue - not waiting for keystrokes


#1

I’m facing a weird issue. My apk signing suddenly started failing - I ask for password from the keyboard.

Upon further investigation, even keytool doesn’t work - for example, I tried creating a new keystore

keytool -genkey -v -keystore release.keystore -alias foogiyama -keyalg RSA -keysize 2048 -validity 10000
Enter keystore password:  
Keystore password is too short - must be at least 6 characters
Enter keystore password:  
Keystore password is too short - must be at least 6 characters
Enter keystore password:  
Keystore password is too short - must be at least 6 characters
Too many failures - try later

Every time I press a key, it takes it as input (doesn’t wait for more)

I’m on OS X 10.12.6
java:

java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)

#2
  1. When in doubt, reboot.
  2. I wasted 2 hours.
  3. uncanny.