Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Signature
Keishin Yokomaku
May 22, 2015
Technology
1
300
Signature
The best practice to deal with keystore and signature in the project.
Keishin Yokomaku
May 22, 2015
Tweet
Share
More Decks by Keishin Yokomaku
See All by Keishin Yokomaku
持続的なアプリ開発のためのDXを支える技術
keithyokoma
2
4.1k
Make the objects serializable with kotlinx.serialization
keithyokoma
0
3.2k
Kotlin で書く Gradle Custom Tasks
keithyokoma
0
400
DX Improvements
keithyokoma
3
310
Get Things Done with Gradle Custom Tasks
keithyokoma
1
82
詳解 Android Auto - 使い方からそれを支える技術まで -
keithyokoma
1
2k
Fail fast, Fail cheap, Fail automatically: Localization
keithyokoma
0
120
WebView😇😇😇
keithyokoma
0
630
Android 1.5 - 8.0 Walk through - Retro/Prospective Android Application Development
keithyokoma
4
250
Other Decks in Technology
See All in Technology
エアドロップ for オープンソースプロジェクト
epicsdao
0
250
2年で10→70人へ! スタートアップの 情報セキュリティ課題と施策
miekobayashi
1
200
プログラミング支援AI GitHub Copilot すごいの話
moyashi
0
280
【Oracle Cloud ウェビナー】事例から見る規模別クラウド・データベースの選び方 (Oracle Database) (2023年1月18日)
oracle4engineer
PRO
0
100
SPA・SSGでSSRのようなOGP対応!
simo123
2
140
Exploring MapStore Release 2022.02: improved 3DTiles support and more
simboss
PRO
0
190
Oktaの管理者権限を適切に移譲してみた
shimosyan
2
250
Technologies for developing editors / Webエディタ開発を支える技術
shuta13
1
230
もし本番ネットワークをまるごと仮想環境に”コピー”できたらうれしいですか? / janog51
corestate55
0
150
2022年に起きたフロントエンドの変化
sakito
29
17k
lt53
98_justdoit
0
110
AWS re:Invent 2022で発表された新機能を試してみた ~Cloud OperationとSecurity~ / New Cloud Operation and Security Features Announced at AWS reInvent 2022
yuj1osm
1
130
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
51
2.9k
Navigating Team Friction
lara
176
12k
Code Review Best Practice
trishagee
50
11k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
349
27k
The Straight Up "How To Draw Better" Workshop
denniskardys
226
130k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
38
3.6k
Teambox: Starting and Learning
jrom
124
7.9k
How to Ace a Technical Interview
jacobian
270
21k
The Art of Programming - Codeland 2020
erikaheidi
35
11k
The Illustrated Children's Guide to Kubernetes
chrisshort
22
42k
The Brand Is Dead. Long Live the Brand.
mthomps
48
2.9k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
500
130k
Transcript
Signature @KeithYokoma - Drivemode, Inc. Shibuya.apk #1
KeithYokoma Keishin Yokomaku Drivemode, Inc. Android Engineer GitHub: https://github.com/KeithYokoma Qiita:
http://qiita.com/KeithYokoma e-Book: http://amzn.to/1mZNydv
None
Keystore • Containing “Key” and “Certification” • Every applications are
signed with keystore • The same applications are signed with the same keystore
• Valid until … • Store password: … • Key
alias: … • Key password: … • Owner informations … Keystore
debug.keystore release.keystore Signing app-debug.apk app-release.apk
The problem
The problem Where should we put the keystore?
None
• Possibility to lost keystore files • Who remembers password?
• Manual operation to share keystore files • Dull to copy them by hand Shared drive?
Shared drive? Yuck!
Put keystores in the repository
Repository • No chance to lost(we have a history!) •
Quick set up build env with just cloning • Note: Safe to share them in PRIVATE repo
None
Wait, how do we share keystore password?
Keystore password • Use `echo something_seed_value | md5` • Set
it as ENV value ‘export KSTOREPWD=…’ • Read ENV value from build.gradle
build.gradle android { signingConfigs { release { storePassword System.getenv("KSTOREPWD") keyPassword
System.getenv(“KEYPWD”) } } }
Looks Good To Me
Signature @KeithYokoma - Drivemode, Inc. Shibuya.apk #1