Commit b3e7d7d
authored
fix(installer): verify keyring signature and remove insecure bypass (#323)
Closes #314 (inert on squash->develop; close manually after merge).
## What
- **#1** \`--apt\` path now downloads
\`glyndor-archive-keyring.deb.sig\` and verifies the Ed25519 signature
against the embedded release key **before** \`dpkg -i\` (fail-closed).
- **#2** Removed \`PODUP_INSECURE_SKIP_VERIFY\` opt-out from
\`install.sh\` + \`install.ps1\`. A strong cryptographic proof is now
mandatory.
## Coordination
The \`--apt\` verification requires the apt repo (\`Glyndor/apt\`) to
publish \`glyndor-archive-keyring.deb.sig\`. A companion apt PR signs
the keyring; this must land before the next release ships the new
install.sh.
## Test
\`bash -n install.sh\` OK. shellcheck/PSScriptAnalyzer run in CI
(lint-shell, lint-powershell).
Signed-off-by: Jaro-c <75870284+Jaro-c@users.noreply.github.com>1 parent ca05b0a commit b3e7d7d
3 files changed
Lines changed: 32 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | | - | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| |||
166 | 164 | | |
167 | 165 | | |
168 | 166 | | |
169 | | - | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
170 | 170 | | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 171 | + | |
176 | 172 | | |
177 | 173 | | |
178 | 174 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
164 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
169 | 183 | | |
170 | 184 | | |
171 | 185 | | |
| |||
187 | 201 | | |
188 | 202 | | |
189 | 203 | | |
190 | | - | |
191 | | - | |
| 204 | + | |
192 | 205 | | |
193 | 206 | | |
194 | 207 | | |
| |||
217 | 230 | | |
218 | 231 | | |
219 | 232 | | |
220 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
221 | 236 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
| 237 | + | |
| 238 | + | |
229 | 239 | | |
230 | 240 | | |
231 | 241 | | |
| |||
0 commit comments