UNPKG

@eventcatalog/license

Version:

License verification for EventCatalog

16 lines 630 B
// Public key for the offline license verification // Was in a file, but we struggled to load files from the node module directory using import.meta.resolve // So we're just using a string here const PUBLIC_KEY = `-----BEGIN PUBLIC KEY----- MCowBQYDK2VwAyEA599maqjKG7VW5bnj9fFA3msK691iHUYd+PkiZ7h9LpI= -----END PUBLIC KEY-----`; /** * Loads the Ed25519 public key in PEM format with fingerprint validation * * @returns PEM-formatted public key string * @throws Error if key file cannot be read or fingerprint validation fails */ export async function loadPublicPem() { return PUBLIC_KEY; } //# sourceMappingURL=key.js.map