Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pack_signing_ui.hpp File Reference
#include <pulp/format/reload/swap_pack.hpp>
#include <algorithm>
#include <cctype>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  pulp
namespace  pulp::format
 What the product grants a device: the quota table indexed by capability tier and live thermal state.
namespace  pulp::format::reload

Enumerations

enum class  pulp::format::reload::KeyRole { pulp::format::reload::Signing , pulp::format::reload::Revocation }

Functions

std::string_view pulp::format::reload::key_role_name (KeyRole r)
std::string pulp::format::reload::reload_keychain_service (KeyRole role, std::string_view plugin_id)
 Keychain service id: pulp.reload.
std::string pulp::format::reload::reload_key_account (int generation, std::string_view fpr_hex)
 Keychain account/label carrying the generation and a short fingerprint prefix, e.g.
std::string pulp::format::reload::to_secret_token (std::string_view s)
 Upper-snake, secret-name-safe form of an identifier (non-alnum → _).
std::string pulp::format::reload::reload_github_secret_name (KeyRole role, std::string_view plugin_id, int generation)
 GitHub Actions secret name, same shape as the keychain id but secret-safe: PULP_RELOAD_<ROLE>_KEY_<PLUGIN>_GEN<N>.
std::string pulp::format::reload::normalize_github_repo (std::string_view repo)
 Normalize a repo string (owner/name, URL, or scp-style; strips .git + host) to lowercase owner/name, or "" if it has no clean owner/name shape.
bool pulp::format::reload::github_backup_repo_allowed (std::string_view repo)
 A signing key may be published as a GitHub Actions secret ONLY into a plugin's own repository — never the core Pulp repo, and never an empty/malformed target.
std::string pulp::format::reload::swap_pack_signing_summary (const SwapPackManifest &m)
 A readable summary of everything the signature will cover, so the signer can confirm exactly what they are vouching for before a key touches it.
std::string pulp::format::reload::key_generation_banner (KeyRole role, std::string_view keychain_service, std::string_view plugin_id)
 The loud, no-surprise banner shown when Pulp generates a key the developer did not already have.