Files
SirHumza--orbisRPC/orbisrpc/release_pubkey.h
T

23 lines
1.0 KiB
C

/* release_pubkey.h - embedded release-channel public key (P-256, raw X||Y).
*
* DEV KEY: generated for v1.0.1 development. Before publishing a real
* release, generate a production keypair OFFLINE, replace these bytes,
* and keep the private key out of the repo:
* openssl ecparam -name prime256v1 -genkey -noout -out release_priv.pem
* openssl ec -in release_priv.pem -pubout -out release_pub.pem
* Sign manifest.json with scripts/make_manifest.py (or openssl dgst).
*/
#ifndef ORBISRPC_RELEASE_PUBKEY_H
#define ORBISRPC_RELEASE_PUBKEY_H
/* Uncompressed P-256 X || Y (64 bytes). */
static const unsigned char ORBISRPC_RELEASE_PUBKEY[64] = {
0x47,0xb8,0x9d,0xb8,0x85,0x3d,0x6c,0xcf,0x7e,0x1a,0xbe,0x6e,0xd1,0x5c,0x2e,0x69,
0x66,0x2f,0xa8,0x09,0xbf,0x6d,0xf8,0x9c,0x50,0xe4,0x10,0x0b,0x79,0x4b,0x66,0x1a,
0xd7,0x79,0xae,0x2e,0x41,0xc9,0x35,0x5c,0x6f,0xe3,0xba,0xed,0xc9,0x93,0x9a,0xca,
0xe8,0x18,0xd5,0x4b,0xeb,0x84,0x20,0x8d,0xb3,0xd2,0x4a,0xfc,0x65,0x81,0x6c,0x6f
};
#define ORBISRPC_RELEASE_KEY_ID "dev-2026-09-20"
#endif