Skip to content

Commit f075dcb

Browse files
sys-oaklilili-kernel
authored andcommitted
Update info for GPG signed release tags
Signed-off-by: sys_oak <[email protected]>
1 parent 1a5536e commit f075dcb

File tree

1 file changed

+71
-0
lines changed

1 file changed

+71
-0
lines changed

Readme.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
This repository contains Intel's Linux LTS quilt releases.
2+
3+
GPG Signed Releases
4+
-------------------
5+
6+
i) Check if a release tag is GPG-signed or not
7+
8+
if a tag is not signed, when you run ‘git tag -v <tag>’ command, you get the result as:
9+
10+
$ git tag -v lts-v4.19.272-android_t-230316T041640Z
11+
object 7150c8b4efa2baf0bef3a3da3850d29715c6fcbb
12+
type commit
13+
tag lts-v4.19.272-android_t-230316T041640Z
14+
tagger sys_oak [email protected] 1679296599 -0700
15+
16+
release Kernel 4.19 for android T Dessert
17+
error: no signature found
18+
19+
You can see ‘error: no signature found’ if the tag is not signed
20+
21+
If the tag is signed - please follow the below steps to get the public key and verify the tag -
22+
23+
ii) Download public key
24+
25+
Open https://keys.openpgp.org/, input Full Key ID (i.e., EB4D99E5113E284368955757F18D9D84E60D69E7), or,
26+
short Key ID (i.e., F18D9D84E60D69E7, the Last 16 digitals). or, the tagger email address(i.e., [email protected]),
27+
Click ‘Search’, then you can download the pub key file (i.e., EB4D99E5113E284368955757F18D9D84E60D69E7.asc).
28+
The md5sum checksum is 40b0222665a5f6c70ca9d990b4014f43 for the pub key file:
29+
$ md5sum EB4D99E5113E284368955757F18D9D84E60D69E7.asc
30+
40b0222665a5f6c70ca9d990b4014f43 EB4D99E5113E284368955757F18D9D84E60D69E7.asc
31+
32+
Once your checksum is correct, please do next step.
33+
34+
iii) Configure your Linux Environment and verify the GPG signature of a tag ( one time setup)
35+
36+
After you get the right pub key, please import it:
37+
$ gpg --import EB4D99E5113E284368955757F18D9D84E60D69E7.asc
38+
39+
Now, when you check the tag GPG signature, you can see ‘Good signature’ with a WARNING:
40+
$ git tag -v lts-v4.19.282-android_t-230509T073627Z
41+
object 180df1199944ebd8928f320a1bd16c8a87dba2ed
42+
type commit
43+
tag lts-v4.19.282-android_t-230509T073627Z
44+
tagger sys_oak [email protected] 1683864457 -0700
45+
46+
release Kernel 4.19 for android T Dessert
47+
gpg: Signature made Fri 12 May 2023 12:07:37 AM EDT
48+
gpg: using RSA key EB4D99E5113E284368955757F18D9D84E60D69E7
49+
gpg: Good signature from "sys_oak (NSWE) [email protected]" [unknown]
50+
gpg: WARNING: This key is not certified with a trusted signature!
51+
gpg: There is no indication that the signature belongs to the owner.
52+
Primary key fingerprint: EB4D 99E5 113E 2843 6895 5757 F18D 9D84 E60D 69E7
53+
54+
To deal with the WARNING, let the pub key be trusted, run ‘gpg --edit-key <key>’ to edit it ( one time setup)
55+
$ gpg --edit-key F18D9D84E60D69E7
56+
input trust
57+
input 5
58+
input y
59+
input quit
60+
61+
Now, when you check the tag GPG signature again , you can see ‘Good signature’ without warnings:
62+
$ git tag -v lts-v4.19.282-android_t-230509T073627Z
63+
object 180df1199944ebd8928f320a1bd16c8a87dba2ed
64+
type commit
65+
tag lts-v4.19.282-android_t-230509T073627Z
66+
tagger sys_oak [email protected] 1683864457 -0700
67+
68+
release Kernel 4.19 for android T Dessert
69+
gpg: Signature made Fri 12 May 2023 12:07:37 AM EDT
70+
gpg: using RSA key EB4D99E5113E284368955757F18D9D84E60D69E7
71+
gpg: Good signature from "sys_oak (NSWE) [email protected]" [ultimate]

0 commit comments

Comments
 (0)