-
Notifications
You must be signed in to change notification settings - Fork 49
Home
Elliot Lee edited this page Feb 20, 2024
·
1 revision
Welcome to the validator-keys-tool wiki!
Explanation of https://github.com/ripple/validator-keys-tool/blob/master/src/ValidatorKeys.cpp#L219-L251
- Check that the manifest isn't revoked, or won't be revoked when the sequence is incremented.
- Increment the sequence, indicating this is the newest, most valid manifest.
- Generate a random key pair for the token / signing key.
- Create a serializable object that will represent the manifest, and populate the fields (sequence, public key, signing public key, and optional domain).
- Sign the manifest with both the signing key, and the master key.
- Serialize the manifest so it can be exported, and store it in
manifest_
. - Encode the manifest as base64, and return it along with the signing secret key.