Table of Contents

Class CertificatePinSet

Namespace
FishMMO.Client.Security
Assembly
FishMMO.Client.dll

IL-embedded certificate pin set.

The defaults here are sentinels, and this file is tracked so the project always compiles. The real values live in the gitignored CertificatePins.generated.cs, written by FishMMO Dashboard > Game Settings (or by CI substituting the sentinels in GeneratedFileTemplates/CertificatePins.generated.cs.template), which implements FishMMO.Client.Security.CertificatePinSet.Configure(FishMMO.Client.Security.CertificatePinSet.Values) to overwrite them. See HostConfig for why the generated file no longer declares the whole class.

public static class CertificatePinSet
Inheritance
CertificatePinSet
Inherited Members

Fields

ManifestPublicKeyBase64

Ed25519 public key (base64) for verifying signed pin update manifests from the API. Empty string disables runtime updates.

public static readonly string ManifestPublicKeyBase64

Field Value

string

Pins

SHA-256 SPKI pins (base64). Minimum 2 entries required for release builds — one active key + one backup for rotation.

public static readonly string[] Pins

Field Value

string[]

SentinelMarker

Sentinel string the build validator checks for. CI replaces the entire sentinel value (including this marker) with the real pin.

public const string SentinelMarker = "FISHMMO_SENTINEL_PLACEHOLDER"

Field Value

string

VersionManifestPublicKeyBase64

Ed25519 public key (base64) for verifying the signed version manifest served by /latest_version. Empty string means signing is not deployed: the patch SHA-256 is then only as trustworthy as the API gateway, which HttpPatchServerService reports at Error level in a release build.

public static readonly string VersionManifestPublicKeyBase64

Field Value

string