element-hq / element-hq/element-x-android
Password from the nightly keystore doesn't work
- Dominant language
- Kotlin
- Stars
- 2.4k
- Forks
- 624
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 149
Description
### Steps to reproduce
1. `./gradlew assembleFdroidNightly`
### Outcome
#### What did you expect?
Nightly builds
#### What happened instead?
```
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
> com.android.ide.common.signing.KeytoolException: Failed to read key Secret from store "/home/user/element-x-android/app/signature/nightly.keystore": Keystore was tampered with, or password was incorrect
```
Can you please regenerate the keystore with a correct password, or at least provide some fallback (or just don't store it there if it's a secret)?
I know that I can use my own keystore, but then I'll always have uncommited changes, and it'll be much more convenient to have it right in the repo. Debug builds are too slow and laggy for testing on old phones.
### Your phone model
_No response_
### Operating system version
_No response_
### Application version and app store
_No response_
### Homeserver
_No response_
### Will you send logs?
No
### Will you submit a Pull Request?
No
Contributor guide
Research direction
Start by running ./gradlew assembleFdroidNightly and inspect app/signature/nightly.keystore and the signing configuration it uses. Done means the F-Droid nightly build can be assembled without the reported password error, with a documented fallback if the keystore cannot be shared.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- build-system, release, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100