Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: sign apk with present in repo debug key #23

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

norohind
Copy link

Potentially closes #22
This workflow reuses already existing in repo debug key in debug.keystore. I understand that this key can be used by anyone to sign any apk, but I don't think it should bother us. On our side this key is only going to be used for signing CI builds, so an malefactor could use this key only to replace installed from CI artifact DSUB to a malicious DSUB, I think it's unlikely somebody going to target this. Especially after we get DSub2000 to fdroid.

Additionally, this would allow for third-party forks to provide builds, compatible with ours. Thus allowing for users to switch between forks of their choice, if desired.

Also, it appears step setup-android isn't required, the flow works without it, so deleting it.

This workflow reuses already existing in repo
debug key in debug.keystore. I understand that this key
can be used by anyone to sign any apk, but I don't
think it should bother us. On our side this key
is only going to be used for signing CI builds, so
an malefactor could use this key only to replace
installed from CI artifact DSUB to a malicous DSUB,
I think it's unlikely somebody going to target this.
Especially after we get DSub2000 to fdroid.

Additionally, this would allow for third-party forks
to provide builds, compatible with ours. Thus allowing
for users to switch between forks of their choice, if
desired.

Also, it appers step setup-android isn't required,
the flow works without it, so deleting it.
@paroj
Copy link
Owner

paroj commented Apr 16, 2024

if needed, we can also use github secrets to use a private keystore as described in:
fastlane/fastlane#20177

@paroj paroj merged commit f9692f0 into paroj:edge Apr 16, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating between CI built apks doesnt work
2 participants