Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
privatestoragemobile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PrivateStorage
privatestoragemobile
Commits
449d2e87
Commit
449d2e87
authored
Jun 28, 2023
by
Jean-Paul Calderone
Browse files
Options
Downloads
Patches
Plain Diff
tweaks to keytool-related docs
parent
b2162c81
Branches
release-signing
No related tags found
No related merge requests found
Pipeline
#5008
failed
Jun 28, 2023
Stage: lint
Stage: build
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+11
-10
11 additions, 10 deletions
README.md
obelisk/default.nix
+3
-0
3 additions, 0 deletions
obelisk/default.nix
with
14 additions
and
10 deletions
README.md
+
11
−
10
View file @
449d2e87
...
...
@@ -38,17 +38,18 @@ A new key store containing a signing key can be created with `keytool` like:
$
keytool
\
-genkey
\
-v
\
-keystore
./android.keystore
\
-keystore
./android
-release
.keystore
\
-alias
release
\
-keyalg
RSA
\
-keysize
2048
\
-validity
3650
\
-deststoretype
pkcs12
-dname
"CN=...;OU=...;O=...;L=...;ST=...;C=..."
```
Both t
he store
and the key have
password
s which
must be known to the release derivation.
T
he store password must be known to the release derivation.
`obelisk/default.nix`
expects
`obelisk/android-signing-key.nix`
to exist to find this information.
See
`obelisk/android-signing-key-example.nix`
for an example of this file.
Note that values in the
*dname*
must have the following characters backslash-escaped:
`,+=<>#;`
.
Build an Android release apk:
...
...
This diff is collapsed.
Click to expand it.
obelisk/default.nix
+
3
−
0
View file @
449d2e87
...
...
@@ -109,6 +109,9 @@ let
fn
;
# See README.md for information about managing ./android.keystore.
#
# android-signing-key.nix is *not* part of this repository since it contains
# the signing-related secrets and must not be public.
releaseKey
=
import
./android-signing-key.nix
;
# Create a new derivation like `frontend` but with Gradle instructions to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment