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
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
-----BEGIN PUBLIC KEY-----
|
||||
MCowBQYDK2VwAyEASj3V/xDWSJ37MwLjhyZ0MZPwj/DoJUEWZdYSv+R5NNI=
|
||||
MCowBQYDK2VwAyEAqD97/GZ6BJaeQpg6shajRcNhwMzvNZ3SvkQtAu6pxEw=
|
||||
-----END PUBLIC KEY-----
|
||||
@@ -1,6 +1,6 @@
|
||||
[
|
||||
{
|
||||
"id": "echoion-release-2026-07",
|
||||
"ed25519": "Sj3V/xDWSJ37MwLjhyZ0MZPwj/DoJUEWZdYSv+R5NNI="
|
||||
"ed25519": "qD97/GZ6BJaeQpg6shajRcNhwMzvNZ3SvkQtAu6pxEw="
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user