1
keytool
-list
-printcert
-jarfile
your_apk_file
1234567
891011
1213
1415
16:29
$keytool
-list
-printcert
-jarfile
akoi_1.2
.apk
signer#1
:signature:
owner:cn=
andrew
wallace,ou
=droidyue
.com,o
=droidyue
.com,l
=beijing,st
=beijing,c
=86issuer:cn=
andrew
wallace,ou
=droidyue
.com,o
=droidyue
.com,l
=beijing,st
=beijing,c
=86serial
number:
11a8a4a3
valid
from:
tuefeb
1018:07
:43cst2015
until:
sunjun
1318:07
:43cst3013
certificate
fingerprints:
md5:46:
c5:be:ef:b5:c9:00:
e1:fa:42:
50:50:
57:54:
ca:15
sha1:
c1:14:5
d:0a:c2:bf:f6:06:
43:20:
ae:2
c:07:12
:97:58
:c2:1b:
39:d1sha256:0e:
88:7d:c2:
4c:d6:84:
a7:58
:d4:24:
1e:9d:
38:f9:05:98
:1e:b2:a2:d7:cb:0f:
81:74:
60:5b:
38:89:
ff:21:1
csignature
algorithm
name:
sha256withrsa
version:
3
1
keytool
-list-v
-keystore
your_kestore_file
注意,上述命令執行後,會提示輸入密碼,其實輸入錯誤也沒有關係,不影響結果。
1234567
891011
1213
1415
1617
1819
20
keystore
type:
jkskeystore
provider:
sunyour
keystore
contains
1entry
alias
name:
droidyue
.com
creation
date:
feb10
,2015
entry
type:
privatekeyentry
certificate
chain
length:
1certificate[1
]:owner:cn=
andrew
wallace,ou
=droidyue
.com,o
=droidyue
.com,l
=beijing,st
=beijing,c
=86issuer:cn=
andrew
wallace,ou
=droidyue
.com,o
=droidyue
.com,l
=beijing,st
=beijing,c
=86serial
number:
11a8a4a3
valid
from:
tuefeb
1018:07
:43cst2015
until:
sunjun
1318:07
:43cst3013
certificate
fingerprints:
md5:46:
c5:be:ef:b5:c9:00:
e1:fa:42:
50:50:
57:54:
ca:15
sha1:
c1:14:5
d:0a:c2:bf:f6:06:
43:20:
ae:2
c:07:12
:97:58
:c2:1b:
39:d1sha256:0e:
88:7d:c2:
4c:d6:84:
a7:58
:d4:24:
1e:9d:
38:f9:05:98
:1e:b2:a2:d7:cb:0f:
81:74:
60:5b:
38:89:
ff:21:1
csignature
algorithm
name:
sha256withrsa
version:
3
在沒有原始碼情況下,我們就能對apk進行更換簽名。
生成的檔案會放在當前目錄,其檔名相對輸入檔案,增加了signed_
字首,比如對weixin6313android740.apk
進行上述操作得到的輸出檔案是signed_weixin6313android740.apk
想要在執行gradle build時生成指定簽名的apk,需要在build.gradle中如下修改
1234567
891011
1213
1415
16
android
}buildtypes}}
android框架 Eclipse簽名相關 013
如果要在eclipse中除錯android原始碼中非test key簽名的程式 也就是使用platform,media or shared key簽名的程式 需要把android原始碼中的公私鑰對 build target product security 轉換為eclipse能夠使用的keysto...
Android Android 簽名相關問題
jarsigner verbose keystore 指定數字證書儲存路徑 signedjar 簽名後的apk包 未簽名的 apk包 數字證書別名 jarsigner verbose keystore key.jks signedjar mifi.apk mifi 3.1.0 2017 07 05 ...
網域名稱相關知識
先觀察一下雲伺服器網域名稱伺服器配置頁面 主機紀錄 即網域名稱字首 紀錄型別 a記錄是指定網域名稱對應的ip位址 ns記錄是指定由哪個dns伺服器解析你的網域名稱 mx記錄 mx mail exchanger 記錄是郵件交換記錄,它指向乙個郵件伺服器,用於電子郵件系統發郵件時根據收信人的位址字尾來定...