Signed-off-by: faumaray <faumaray@gmail.com>
This commit is contained in:
1 parent
41937b2987
commit
ecb4cda800
3 files changed
+14
-2
No files matched your search
@@ -130,6 +130,18 @@ openssl pkey -in echoion-release-YYYY-MM.pem -pubout \
|
||||
-out echoion-release-YYYY-MM.pub.pem
|
||||
```
|
||||
|
||||
The PEM public key contains an RFC 8410 SubjectPublicKeyInfo wrapper. The
|
||||
`ed25519` field in `release-keys/official-update-keys.json` must instead contain
|
||||
the standard Base64 encoding of only the raw 32-byte public key. Derive that
|
||||
value with:
|
||||
|
||||
```bash
|
||||
openssl pkey -pubin -in echoion-release-YYYY-MM.pub.pem -outform DER |
|
||||
tail -c 32 |
|
||||
base64 -w0
|
||||
printf '\n'
|
||||
```
|
||||
|
||||
Add the new public key to official builds before signing any feed with it.
|
||||
Keep the old public key embedded for at least one full update lifetime. During
|
||||
the first signing run with the new key, pass each prior envelope key explicitly
|
||||
|
||||
Reference in new issue
Block a user