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

December 2020 Update #67

Merged
merged 18 commits into from
Dec 9, 2020
Merged

December 2020 Update #67

merged 18 commits into from
Dec 9, 2020

Conversation

danielfullmer
Copy link
Collaborator

@danielfullmer danielfullmer commented Dec 8, 2020

Updated Vanilla and GrapheneOS source based on latest releases.

Also included is a new NEWS.md fille where I intend to (roughly monthly) highlight changes that you might want to be aware of before updating, and especially any backwards-incompatible changes that may require changes to your configuration. This format is not necessarily final, and is not intended to take the place of (bi)-monthly updates required by NLNet.

Currently building for my own device. Will push to master shortly if I don't encounter any further issues.

We now use new application-specific keys and certificates for included apps
like Chromium / webview, Microg, and F-Droid, instead of relying on the
device-specific `releasekey`.  This allows us to share these keys between
multiple devices, push the same app updates to multiple devices, and remove an
ugly SELinux workaround for GrapheneOS that robotnix required.

Unfortunately, changing app keys will lose any data associated with those apps.
Fortunately, most data associated with those apps should be easy to re-create.
(Re-login to services in chromium, re-add F-Droid repos, etc.)
I hope to avoid breaking changes like this in the future by getting these
changes done relatively early in the projects' life.

If you've previously generated robotnix keys, you will need to do the
following to update to the new key directory layout: Move all keys and
certificates beginning with `com.android` (if they exist) from the
device subdir (e.g.  `crosshatch`) under your `keyStorePath` to the
parent directory. The files beginning with `releasekey`, `platform`,
`shared`, `media`, `networkstack`, and `avb`/`verity` (if you have it)
are device-specific, and should remain under the device subdirectory.
For example, I ran the following command on my machine:
 ```shell
$ mv /var/secrets/android-keys/crosshatch/com.android.* /var/secrets/android-keys/
 ```
After this, re-run `generateKeysScript` to create new application keys (e.g.
Chromium, F-Droid).
@danielfullmer danielfullmer merged commit c1a3e2d into master Dec 9, 2020
@danielfullmer danielfullmer deleted the update-2020.12 branch December 9, 2020 01:48
@Atemu
Copy link
Contributor

Atemu commented Dec 9, 2020

(bi)-monthly updates required by NLNet

Wait... Robotnix is supported by NLNet? :O

Since when?

@danielfullmer
Copy link
Collaborator Author

danielfullmer commented Dec 9, 2020

Hopefully soon, after we finish the remaining paperwork. Robotnix is already listed as one of the NLNet supported projects: https://nlnet.nl/project/Robotnix/

@Atemu
Copy link
Contributor

Atemu commented Dec 10, 2020

Awesome, congrats!

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.

2 participants