File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,31 @@ export default class CryptoService {
103103 }
104104 }
105105
106+ if (
107+ signInfo . publicKeyFingerprint ===
108+ '72:96:32:27:d6:6c:4c:4d:5f:a0:91:6a:c2:2c:79:3c:d4:5f:43:5c'
109+ ) {
110+ return {
111+ status : true ,
112+ msg : 'Signature check passed (file is signed by LineageOS)' ,
113+ signInfo : signInfo
114+ }
115+ }
116+
117+ if (
118+ signInfo . publicKeyFingerprint ===
119+ '46:0f:f8:cd:06:f7:ff:d7:56:b9:84:15:7b:27:3a:9c:50:92:be:62'
120+ ) {
121+ return {
122+ status : true ,
123+ msg : 'Signature check passed (file is signed by Hawaii team)' ,
124+ signInfo : signInfo
125+ }
126+ }
127+
106128 return {
107- status : true ,
108- msg : 'Signature check passed ' ,
129+ status : false ,
130+ msg : 'Signature check failed (file is not signed by LineageOS or Hawaii team) ' ,
109131 signInfo : signInfo
110132 }
111133 }
You can’t perform that action at this time.
0 commit comments