【发布时间】:2015-04-13 21:03:31
【问题描述】:
我为我的 Android 应用程序创建了一个 .keystore,生成了一个随机密码。它在同一个密码中包含引号 (") 和单引号 ('),例如:xxxxxx"xxx!\x='x
我正在尝试使用 keytool 传递密码。如何传递密码?
keytool -list -storepass "<my_password>" -keystore my.keystore
并显示:
-bash: !\xx'x": 未找到事件
谢谢!
编辑 我尝试使用:
keytool -list -storepass xxxxxx\"xxx\!x=\'x -keystore my.keystore
keytool 错误:java.io.IOException: Keystore 被篡改,或 密码错误
【问题讨论】:
-
为什么不生成不带 (
") 引号的密码?这是你刚刚创建的吗? -
@JaredBurrows 我创建了它。我绝对不会再使用 ( " , ' , \ )。
-
好吧好吧。所以你可以创建一个新的。保密,注意安全。
标签: android bash shell apk keytool