Warning
This program is no longer maintained and contains an authorization issue. If a config account only has one authority, the config account keypair itself can authorize changes, bypassing the configured authority.
Config accounts are managed via the solana validator-info command in the
Solana CLI, which always uses a throwaway keypair for a new validator info
account. This means it is practically impossible to retrieve a config account
keypair, so no realistic attack exists using standard tooling.
Given this issue, the low usage of the config program, and the existence of other programs that store arbitrary data on-chain, the maintainers have deprecated the config program. Development has ceased on this repository.
We recommend the record program as a replacement. It does not support multiple authorities, but it can be composed with a multisig to achieve the same functionality.