namespace Flo.Installer;

internal static class TrustedPublicKey
{
    // Placeholder. Replace before any real release.
    // 1. Generate keypair:  dotnet run --project src/Flo.Manifest.Tool -- generate-key --out release-keypair.key
    // 2. Export public key: dotnet run --project src/Flo.Manifest.Tool -- export-pubkey --key release-keypair.key
    // 3. Paste the printed array literal over the line below and rebuild.
    // 4. Move release-keypair.key to offline storage. Never commit it.
    public static readonly byte[] Bytes = new byte[32];

    public static bool IsPlaceholder => Bytes.All(b => b == 0);
}
