feat(install): sign installer archives with Ed25519 and checksums
This commit is contained in:
1 parent
9509c0691e
commit
b55aca328a
8 files changed
+122
-10
No files matched your search
@@ -28,6 +28,9 @@ struct InstallOptions {
|
||||
std::string archive_format{"tar"};
|
||||
std::string package_description; // Used by package metadata (deb).
|
||||
std::string maintainer; // Used by package metadata (deb).
|
||||
// Optional Ed25519 seed file: signs the generated archive and writes
|
||||
// `<archive>.sha256`, `<archive>.sig` and `<archive>.pub`.
|
||||
std::optional<std::filesystem::path> signing_seed_path;
|
||||
};
|
||||
|
||||
struct InstallReport {
|
||||
@@ -37,6 +40,10 @@ struct InstallReport {
|
||||
std::optional<std::filesystem::path> cmake_config_file;
|
||||
std::optional<std::filesystem::path> native_package_file;
|
||||
std::optional<std::filesystem::path> archive_path;
|
||||
std::string archive_sha256;
|
||||
std::optional<std::filesystem::path> checksum_path;
|
||||
std::optional<std::filesystem::path> signature_path;
|
||||
std::optional<std::filesystem::path> public_key_path;
|
||||
std::vector<std::filesystem::path> bundled_libraries;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user