<?php
// =============================================================================
// includes/apksec_constants.php — RESELLER VARIANT.
//
// Hardcoded libapksec identity values. MUST exactly match the constants
// baked into libapksec_reseller.so inside the bundled IBO_Pro_Ultra APK.
//
// Server-side code (quick_url_encrypt, api/guard/key) reads from THIS FILE,
// not the panel.db config row. That way, no matter what's in the database
// — fresh install, stale config, manually edited — the encryption uses the
// right values and quick_url_encrypt always produces a literal the bundled
// APK can decrypt.
//
// Sources (libapksec_reseller/jni/config.h):
//   cert_sha256_hex        = ASCII "ibo_pro_ultra_reseller_cert_v1__"
//   target_server_key_hex  = ASCII "ibo_reseller_wk1"
//   libapksec_auth_key_hex = ASCII "ibo_reseller_a16"
//
// If you rebuild libapksec_reseller.so with new constants, regenerate this
// file AND ship the updated APK together. The pair must stay matched.
// =============================================================================

return [
    'pkg_name'                => '',
    'cert_sha256_hex'         => '69626f5f70726f5f756c7472615f726573656c6c65725f636572745f76315f5f',
    'libapksec_auth_key_hex'  => '69626f5f726573656c6c65725f613136',
    'libapksec_build_id'      => 'ibo_reseller_v1_00000000000000000',
    'target_server_key_hex'   => '69626f5f726573656c6c65725f776b31',
    'bootstrap_auth_key_hex'  => '',
    'bootstrap_build_id'      => '',
];
