Commit 4094f97
committed
Remove all the imported pubkeys from keyring
In case multiple GPG public keys are given, the current implementation
only removes the first key after use and leaves the others, which will
be used to verify subsequent downloads (insecure).
This patch makes sure to remove all of them.1 parent cf441e5 commit 4094f97
1 file changed
+6
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
277 | 278 | | |
278 | 279 | | |
279 | | - | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
280 | 284 | | |
281 | | - | |
282 | 285 | | |
283 | 286 | | |
284 | 287 | | |
| |||
0 commit comments