feat(registry): store and serve signed binary variants
This commit is contained in:
1 parent
64116f6e0d
commit
663215f7f3
7 files changed
+378
-17
No files matched your search
@@ -42,6 +42,16 @@ struct SessionRecord {
|
||||
std::int64_t expires_epoch{0};
|
||||
};
|
||||
|
||||
struct BinaryReleaseMeta {
|
||||
std::string variant_id;
|
||||
std::string sha256;
|
||||
std::uint64_t size_bytes{0};
|
||||
std::string signature; // Ed25519 signature hex; empty = unsigned artifact.
|
||||
std::string public_key; // Ed25519 public key hex; empty = unsigned artifact.
|
||||
std::string publisher;
|
||||
std::int64_t published_epoch{0};
|
||||
};
|
||||
|
||||
struct ReleaseMeta {
|
||||
std::string version;
|
||||
std::string sha256;
|
||||
@@ -51,6 +61,7 @@ struct ReleaseMeta {
|
||||
std::int64_t published_epoch{0};
|
||||
std::string signature; // Ed25519 signature hex; empty = unsigned release.
|
||||
std::string public_key; // Ed25519 public key hex; empty = unsigned release.
|
||||
std::map<std::string, BinaryReleaseMeta, std::less<>> binaries;
|
||||
};
|
||||
|
||||
struct PackageMeta {
|
||||
|
||||
Reference in new issue
Block a user