Check quickinstall signatures (#1382)

* Check quickinstall signatures

* e2e test

* We can no longer check presence of signing section early

* Improve UI a little
This commit is contained in:
Félix Saparelli 2023-09-23 20:35:49 +12:00 committed by GitHub
parent ee7fcb3210
commit 680accd0d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 78 additions and 27 deletions

View file

@ -2,7 +2,7 @@
//!
//! This manifest defines how a particular binary crate may be installed by Binstall.
use std::collections::BTreeMap;
use std::{borrow::Cow, collections::BTreeMap};
use serde::{Deserialize, Serialize};
@ -127,7 +127,7 @@ pub struct PkgSigning {
pub algorithm: SigningAlgorithm,
/// Signing public key
pub pubkey: String,
pub pubkey: Cow<'static, str>,
/// Signature file override template (url to download)
#[serde(default)]